I've disabled jumping in my game and I want to make a script that creates a screen gui when the player sits in a seat that teleports the out of the seat position and in front of the seat if they click it but I don't really know how to use function onTouch or how to make a script in a script in a text button in a screen gui with instance.new
does anyone know how i could do this?
also - if i do this with a local script does that mean only the person in the seat can see the gui?

1 comment
This means you make the button first, then reference and change it when the player sits in the seat