I need to run a script when a TextButton is pressed?

it's a teleport script, if that helps