Hello ! I'm making a game and i wanna know how to make this script
game.Players.PlayerAdded:connect(function(plr)
if plr.TeamColor == BrickColor.new("Bright red") then
wait(1)
plr:WaitForChild("Character").Humanoid.Torso.CFrame = CFrame.new(64.69, 49.85, -77.66)
end
end)
See i want when a player spawn if he is in "Bright red" team , he go instant tp to a position , at this position there is a part who tp me to an random position in a caslte.
I want to make a script who when i spawn , tp the player in "Bright red" team in his castle , so not the enemy castle

1 comment
Character is property not child