Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help this gui button doesn't work

Wait(1)
Script.Parent.Play.MouseButton1Down connect:(function()
Script.Parent: remove()

1 comment

0

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

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.