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

How to make a GUI button to start a local script in starterpalyer?

Asked by 6 years ago

I made a script but what I want a GUI button to trigger it, and I don't know how.

1 answer

Log in to vote
0
Answered by
Elixcore 1337 Moderation Voter
6 years ago
button.MouseButton1Down:connect(function()
--script here
end)

replace button with the button you want to press

Ad

Answer this question