1Riblock1
|
  |
| Joined: 02 May 2011 |
| Total Posts: 4771 |
|
|
| 13 Oct 2014 06:06 PM |
| Where would you put it? I never managed to set it in stone for myself. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 13 Oct 2014 06:06 PM |
| You put it in the script, not the rock. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 13 Oct 2014 06:06 PM |
| It has to be in a localscript, or connected to a tool somehow |
|
|
| Report Abuse |
|
|
1Riblock1
|
  |
| Joined: 02 May 2011 |
| Total Posts: 4771 |
|
|
| 13 Oct 2014 06:09 PM |
| This specifically affects the camera, but as an example, where would you put a sprint script that affects you whether you're using a tool or not? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
| |
|
1Riblock1
|
  |
| Joined: 02 May 2011 |
| Total Posts: 4771 |
|
|
| 13 Oct 2014 06:19 PM |
player = game.Players.LocalPlayer character = player.Character mouse = player:GetMouse()
mouse.KeyDown:connect(function(key) if key:byte():lower() == 99 then if player.CameraMode == "LockFirstPerson" then player.CameraMode = "Classic" player.CameraMinZoomDistance = 11 player.CameraMaxZoomDistance = 11 workspace.CurrentCamera.Focus = mouse.Hit else player.CameraMode = "LockFirstPerson" end end end)
Supposed to be like what c does with the camera in a game; if it's not too much work, is this fixable? |
|
|
| Report Abuse |
|
|