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

How do I disable this script when I hit the gui button?

Asked by 4 years ago

here's the script

-- Constants -- local Camera = game.workspace.CurrentCamera local Player = game.Players.LocalPlayer

-- Camera -- repeat wait() until Player.Character

Camera.CameraType = "Scriptable" Camera.CFrame = game.Workspace.CamPart.CFrame

script.Parent.Enabled = true

here's an image of the button

file:///C:/Users/fergu/OneDrive/Pictures/New%20Game%20Graphic.PNG

Any help would be appreciated!

0
Could you add the actual script not a bunch of lines, and i might be able to help, not hating just asking thanks killerbrasko2002 33 — 4y

Answer this question