TeleportService Script not Teleporting

You should maybe define player as the player who clicked:

ClickDetector:Connect(function(Player)
—defines Player as whoever clicked
end)

2 Likes

It’s not a ClickDetector. TextButtons dont have a parameter.
image

1 Like

hmm, you could place an invisible part over the gui then? and use a click detector in there

3 Likes

That works! Thank you!

30chars

1 Like