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

I dont get this? MouseButton1Click is not a valid member of ScreenGui (Answered by my brain)

Asked by 4 years ago
Edited 4 years ago

This question has been solved by the original poster.

well here's the image

http://gyazo.com/1a78782e400a6dd15f7a0fa68819c6e0

it's self-explanatory, but I have no idea what the problem is, in case you don't want to see the link here's the code

script.Parent.MouseButton1Click:Connect(function()
    wait(0.01)
    script.Parent.Parent.Parent.Active = false
    script.Parent.Parent.Parent.Visible = false
    script.Parent.Parent.Active = false
    script.Parent.Parent.Visible = false
    script.Parent.Parent.Parent.Parent.CI.Active = false
    script.Parent.Parent.Parent.Parent.CI.Visible = false
    script.Parent.Parent.Parent.Parent.Begin.Active = false
    script.Parent.Parent.Parent.Parent.Begin.Visible = false
    script.Parent.Parent.Parent.Parent.Parent.CMDActivate.Active = true
    script.Parent.Parent.Parent.Parent.Parent.CMDActivate.Visible = true
    script.Parent.Parent.Parent.Parent.Parent.CMDActivate.CmdActivationScript.Disabled = true
    script.Parent.Parent.Parent.Parent.Parent.OriginalPositionOpeningScript.Disabled = false
end)
0
The problem might be that the script's parent is the gui. Make sure the script is inside a TextButton. youtubemasterWOW 2741 — 4y
0
its inside a textbutton, the image shows the stuff AmIOriginalOrNot 105 — 4y
0
oh wait i know the problem AmIOriginalOrNot 105 — 4y
0
Closed AmIOriginalOrNot 105 — 4y

Answer this question