PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 10 Aug 2016 11:46 PM |
cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
cam.CameraType = Enum.CameraType.Scriptable cam.CoordinateFrame = CFrame.new(part.Position, game.Players.LocalPlayer.Character.Torso.Position)
repeat wait() until Done.Value == true
cam.CameraType = "Custom" cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
When done become true, nothing happens. I am not able to move my character like regular roblox.
|
|
|
| Report Abuse |
|
|
RW3e
|
  |
| Joined: 18 Jul 2012 |
| Total Posts: 1516 |
|
|
| 11 Aug 2016 01:10 AM |
not 100% sure, but I think you need to focus the camera on an actual part, rather than the humanoid
|
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 09:40 AM |
| Thank you! So, Im assuming you focus it on torso. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2016 09:40 AM |
| Try changing it to HumanoidRootPart |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 09:42 AM |
| Both methods dont work. I cannot move around or anything. It is stuck. |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 10:03 AM |
| Im narrowing it down, it is the camera script that is messing it up. So the code I sent you has the key to fixing the problem. |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
SteadyOn
|
  |
| Joined: 20 Mar 2011 |
| Total Posts: 600 |
|
|
| 11 Aug 2016 12:16 PM |
I think if you remove the CurrentCamera it will automatically create a new one for you, try that.
R$228 -- take this pl0x https://www.roblox.com/Animated-Announcement-Board-item?id=436788650 |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 12:32 PM |
| How would I do that? Make current camera nil? |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
SteadyOn
|
  |
| Joined: 20 Mar 2011 |
| Total Posts: 600 |
|
|
| 11 Aug 2016 02:39 PM |
You'd need to use a localscript. Look up CurrentCameras and localscripts if you need to
then it's simply
game.Workspace.CurrentCamera:Destroy()
R$228 -- take this pl0x https://www.roblox.com/Animated-Announcement-Board-item?id=436788650 |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 08:54 PM |
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid workspace.CurrentCamera.CoordinateFrame = CFrame.new(part.Position, game.Players.LocalPlayer.Character.Torso.Position)
wait(2)
game.Workspace.CurrentCamera:Destroy()
repeat wait() until game.Workspace.CurrentCamera game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom"
Doesnt work. Same problem. This doesnt make any sense. |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 09:03 PM |
| b6, I have no clue why it doesn't. So far no luck, I dont think anyone can fix it. |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 11 Aug 2016 09:18 PM |
| I figured it out. Its my game. I tried a script out on a different game and it worked perfectly. Any settings or things changed the messes up the script. |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
|
| 12 Aug 2016 08:19 AM |
| Is something wrong with my game? Why doesnt the script work on my specific game? Any things that would mess up a script like that? |
|
|
| Report Abuse |
|
|
PHChamp
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 211 |
|
| |
|