So i try this in my guibutton
Button=game.StarterGui.Gui.PlayBtn
function On_click(Button)
Button:remove()
end
But it dosent work, How do i do this?
So i try this in my guibutton
Button=game.StarterGui.Gui.PlayBtn
function On_click(Button)
Button:remove()
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
oops, forgot to put it in a code block. put end on another line
Its ok. i know
accept the answer when your done, so we both get a rep point ;)
Only One Flaw, it still appears so i added another line: Button.Visible=false
uhoh dosnt work