|
| 29 Feb 2012 04:12 PM |
yVal = Char.Head.Position.y xVal = Char.Head.Position.x zVal = Char.Head.Position.z for pos=0, 2, .01 do -- First Position and figure Cam.Focus = CFrame.new(xVal,yVal,zVal) Cam.CoordinateFrame = CFrame.new(xVal,yVal,zVal) wait(0.002) -- We add this so the animation is smooth and does not finish instantly. end
Char is game.Players.LocalPlayer.Character
But I just get a white screen! |
|
|
| Report Abuse |
|
Ronnie124
|
  |
| Joined: 26 Nov 2009 |
| Total Posts: 694 |
|
|
| 29 Feb 2012 04:16 PM |
Usually when you get a white screen, it can be the cause of either too much force on your player, causing the camera to break.
Make sure it is in a LocalScript and I would change the Vals to the CFrame, not the position because you use CFrame on the CoordinateFrame.
The wait() only supports a number as low as (0.01) so using "wait()" is the default low, so just use that. |
|
|
| Report Abuse |
|