jaredmai
|
  |
| Joined: 08 Sep 2011 |
| Total Posts: 395 |
|
|
| 05 Mar 2014 09:25 PM |
The first part of the script works but after the wait nothing happens.
local cam = workspace.CurrentCamera local pos = (game.Workspace.IntroScene1.Position-workspace.CurrentCamera.CoordinateFrame.p).unit
function OnClick() if game.Workspace.PlayerIntro.Value == false then cam.CameraType = "Scriptable" cam.CoordinateFrame = CFrame.new(game.Workspace.IntroScene1.Position, game.Workspace.IntroSceneLook1.Position) wait(19.5) cam.CameraType = "Custom" cam.CameraSubject = script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid cam.CoordinateFrame = CFrame.new() end end
script.Parent.MouseButton1Click:connect(OnClick) |
|
|
| Report Abuse |
|
|
jaredmai
|
  |
| Joined: 08 Sep 2011 |
| Total Posts: 395 |
|
| |
|
|
| 05 Mar 2014 09:45 PM |
| Something tells me you should either change the type of camera or be more specific when resetting it. |
|
|
| Report Abuse |
|
|
jaredmai
|
  |
| Joined: 08 Sep 2011 |
| Total Posts: 395 |
|
|
| 06 Mar 2014 03:00 PM |
| Custom is the right type and that is how you return the camera to normal for a player |
|
|
| Report Abuse |
|
|