I am doing a game with my friends and part of it needs to know who pressed a button first. I don't need it on any fancy GUI or anything like that, I just want to know how you can make it so when someone clicks, the output states "(USERNAME) has clicked the button!".
If it's a world object, insert a click detector into it. The first parameter of a click detector on function is the player that clicked the object.
ClickDetector.MouseClick:Connect(function(plr) print(plr.Name.." has clicked the button!") end)
Closed as Not Constructive by WideSteal321, SteamG00B, and JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?