Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

changing the camera script cframe?

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?

2 comments

0

Post the script please.

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

1 answer

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

1 comment

0

starter gui*

This discussion is preserved as it was. New answers, comments, and votes are closed.