Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local camera = workspace.CurrentCamera
- local sss = game:WaitForChild("Workspace")
- local pbutton = script.Parent.MainStartbuttonFrame.MainStartbuttonButton
- local sgui = script.Parent
- repeat
- wait()
- camera.CameraType = Enum.CameraType.Scriptable
- until camera.CameraType == Enum.CameraType.Scriptable
- print("Camera Type Stablished")
- camera.CFrame = workspace.StartCamera.CFrame
- pbutton.MouseButton1Click:Connect(function()
- camera.CameraType = Enum.CameraType.Custom
- sgui.Enabled = false
- end)
- pbutton.MouseButton1Click:Connect(function()
- pbutton.Parent.Parent.Enabled = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement