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

How do i make when player click gui button then remove billboard gui?

Asked by 5 years ago

So I don't know how to make it, any ideas?

1 answer

Log in to vote
0
Answered by 5 years ago

Add a button in the gui, then add a localscript in the button. This goes in the localscript:

local guiToDisable = script.Parent.Parent --this is a directory I just made up, change it if needed

function leftClick()
    print("Clicked.")
    guiToDisable.Visible = false
end

script.Parent.MouseButton1Click:Connect(leftClick)

Hope this helps, happy holidays! :D

0
This is just what i needed, thank you so much. Merry christmass :D MatoProF 23 — 5y
Ad

Answer this question