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

How do I script buttons of a GUI?

How do I do buttons in a GUI? Like a Leave Button.

When the first time I try to script it failed. Like when I tried to do a "Leave Button" it wont do it. I cannot script. I can't read scripts. Some are to complex. The first attempt to do it was in my game "Explore." I'm can't really make GUIs because of dumb computer could not do it! So I tried. So can you help me? GUI buttons I can't really do, So I ask you help.

Not new or to old, TestingAndBuilding, non as "HALOplayer13"

1 answer

✓ Accepted answer
function Button()
--Code here. eg, game.Workspace.Player1:Destroy()
end

script.Parent.MouseButton1Down:connect(Button)

1 comment

0

Thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.