Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

changing the camera script cframe?

Asked by 5 years ago

i made a localscript that changes the camera when the player enters the game, but it will show 1 or 2 seconds of the character being loaded on the spawn, then change the camera cframe, is there anyway to fix that?

0
Post the script please. FrogNinjaX 222 — 5y
0
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(9.99067402, 4.02393723, 71.8539352, 0.998224199, -0.0146401851, 0.0577435084, -0, 0.969330192, 0.245762169, -0.0595705397, -0.245325744, 0.96760869) game.Workspace.CurrentCamera.CameraSubject = part2 game.Players.LocalPlayer.PlayerGui.MainMenu.Enabled=true Zendaya774isstupid 50 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(9.99067402, 4.02393723, 71.8539352, 0.998224199, -0.0146401851, 0.0577435084, -0, 0.969330192, 0.245762169, -0.0595705397, -0.245325744, 0.96760869)

game.Workspace.CurrentCamera.CameraSubject = part2


game.Players.LocalPlayer.PlayerGui.MainMenu.Enabled=true

this is the script, it is a local script and is in screen gui

0
starter gui* Zendaya774isstupid 50 — 5y
Ad

Answer this question