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 know who clicked a gui button?

So, im making a TP all me button. I know how to teleport everyone, but i dont know how to teleport them to the player that clicks the gui. How do i know who clicked the button? (only who clicked the button, not anything else please)

1 answer

✓ Accepted answer

Use game.Players.LocalPlayer.Character.Torso.CFrame in a local script

3 comments

0

Thanks, i upvoted because it also teached me alot, now i know how a local script works!

0

No it doesn't xD

0

lol

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