So i try this in my guibutton
1 | Button = game.StarterGui.Gui.PlayBtn |
2 | function On_click(Button) |
3 | Button:remove() |
4 | end |
But it dosent work, How do i do this?
Button=game.StarterGui.Gui.PlayBtn script.Parent.MouseButton1Down:connect(function() Button:remove() end
^I'm sure thats it