local pl = script.Parent.Parent.TextBox.Text
local topkek = script.Parent.Text
script.Parent.MouseButton1Down:connect(function()
game:GetService('TeleportService'):Teleport(471383497, game.Players[pl])
end)
Problem is before the server starts or before you even click the textbox it says "[Enter name here]" in "pl" but it doesnt check after I change it to a players name how do I do that?

1 comment
The code you posted doesnt match anything you just wrote..