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

Why can't I set the position of camera on my script? Help?

Asked by 9 years ago
MainMenu = game.Players.LocalPlayer.PlayerGui.Main_Menu
MenuFrame = game.Players.LocalPlayer.PlayerGui.Main_Menu.Menu
EnterButton = game.Players.LocalPlayer.PlayerGui.Main_Menu.Menu.EnterUniButton
RBXSText = game.Players.LocalPlayer.PlayerGui.Main_Menu.Menu.Roblox_State_Un
CurrentC = game.Workspace.CurrentCamera

game.Players.LocalPlayer:WaitForChild("PlayerGui")
MainMenu:WaitForChild("Main_Menu")
MenuFrame:WaitForChild("Menu")
EnterButton:WaitForChild("Main")
RBXSText:WaitForChild("EnterUni")
CurrentC.CameraType = ("Scriptable")
CurrentC.CoordinateFrame = CFrame.new(-188.173126, -187.572937, -91.4719162, 0.939729571, 0.158438265, -0.30299449, -0, 0.886159658, 0.463380009, 0.341918647, -0.435451895, 0.83275038)

Help!?

0
inorder to do anything with the camera the code you have must be in a localscript and put in the startergui, or the startpack, or anywhere it can access the player locally DragonSkyye 517 — 9y

Answer this question