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.
Greetings, fellow scripter! I see you want a prompt that teleports the player that triggered it to a specific location. Well, first make sure it is in a local script. Second: Make sure not to use position in this case because it will dislocate the humanoid root part from the player's character, use CFrames. sorta like game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = destination.part.CFrame