local function onCharacterAdded(character)
print("Character added")
local player = Players:GetPlayerFromCharacter(character)
local team = player.Team.Name
--local cframe = game.Workspace:WaitForChild("The Parkour"):WaitForChild("Parkour_DONTCHANGENAME"):WaitForChild(team)
character:WaitForChild("HumanoidRootPart").CFrame = game.Workspace:FindFirstChild("The Parkour"):FindFirstChild("Parkour_DONTCHANGENAME"):FindFirstChild(team).EffectPart.CFrame + Vector3.new(0, 5, 0)
end
local function onPlayerAdded(player)
print("player added")
player.CharacterAdded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)
I add a character, both “player added” and “character added” printed, but I am not bieng teleported. Is this because I tested in studio or?