How do I get the player from a surfacegui.Textbutton?

Ive had this problem before and I figured out how to fix it.
Put the SurfaceGUI into StarterGUI, set the adornee to the part you want to display on. Then you can code it exactly like a screenGUI

3 Likes