Wait(1)
Script.Parent.Play.MouseButton1Down connect:(function()
Script.Parent: remove()
COMMUNITY QUESTION
Help this gui button doesn't work
2 answers
script.Parent.Play.MouseButton1Down:connect(function(Estomac)
You kinda messed up with
MouseButton1:connect()
So many errors in that tiny script... I'd rather just give you the fixed version.
Wait(1)
script.Parent.Play.MouseButton1Down:connect(function() -- Lower case s, and colon goes before the connect.
-- Other Code.
script.Parent:remove() -- You shouldn't have spaces between remove() and script.Parent amd script has a lower case s.
end) -- You forgot this
I hope this helped, although I doubt it did...
- Kratos232
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Next time try also posting output and having the title relate to that. It's very helpful to those on the questions page.