How to check who pressed GUI Button

As title says, how to check who pressed GUI Button. I tried using “button.MouseButton1Click:Connect(function(player)”, but I realized “player” returns nil

you can use a RemoteEvent everytime the gui is clicked because it doesn’t work like a proximity prompt

1 Like

Oh yeah, I did not think of it, thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.