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

How to do another cam position of player?

Asked by 6 years ago

So my game based on menu GUI, and all what i need it's change player's cam position. How to do this?

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

if you mean that the player's camera change when they press the gui, then

local cam = workspace.CurrentCamera

script.Parent.MouseButton1Down:Connect(function()
    cam.CFrame = CFrame.New(10,10,10)
    -- Change the 10 to the camera position

end)

Sorry if this doesn't work. New Scripter

0
The constructor is new() , not New(), by the way. UgOsMiLy 1074 — 6y
0
^ xD This should work though! DanielDeJong3 158 — 6y
0
Thank you! pmainokiborg 6 — 6y
Ad

Answer this question