I am trying to teleport the character of a player to a part every time their character is added.
The script here is a LocalScript inside the StarterPack.
local player = game.Players.LocalPlayer
local character = player.Character
player.CharacterAdded:connect(function()
character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace.SpawnPoint.Position)
end)
But nothing happens, not even an error message comes up.
Thank's in advance.

1 comment
It doesn't work.