Hello, so I was wondering how I could acheive a thing. The thing is I have a sign, with a text button on a surface GUI. I was wondering, how can I check which player is clicking the button. I need to teleport that player. Here is the current script:
Button.MouseButton1Click:Connect(function()
end)
I dont need help with the teleporting, I just wanna know how to get the player that clicks the button when the button is clicked. Thanks!

5 comments
could you show the full script?
why? that is all that is neccessary i believe
Could i use Activated as an event?
fine, to make sure is this a gui button or no?
use click detector