i want to make it so when the player clicks a button inside a frame it then changes the camera. i am using this script:
repeat wait() until Player.Character
Camera.CameraType = "Scriptable" Camera.CFrame = game.Workspace.CamPart.CFrame
script.Parent.Enabled = true
to set the camera to a part when you join the game. i want it to do the same thing but it activates not when you join the game but when you click a button in a frame inside a gui in starter gui.. thank you for any help you can provide

6 comments
Watch a tutorial on that.
i cant find one
https://www.youtube.com/watch?v=bkDp4fRbVZU
And if the video is not enough, watch the next part
We need more info, if you don't provide then take down the question please.
i have gave as much info as i have