game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
local proximityPrompt = script.Parent
proximityPrompt.Triggered:Connect(function(player)
local character = game.Players.LocalPlayer.Character
character.humanoidRootPart.Position = game.Workspace.tptest.Position
end)
end)
end)
Im trying to make a proximity prompt that tp's the player that triggers it, but it tp's everyone.

1 comment
are you making it in a LocalScript or a Script? It's best to do it as a LocalScript as it only affects the player that used it, I think