This is supposed to spawn the character at the coordinates below, but doesn't seem to work.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(Character)
Character.Torso.CFrame = CFrame.new(-49, 1, 9)
end) end)
This is supposed to spawn the character at the coordinates below, but doesn't seem to work.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(Character)
Character.Torso.CFrame = CFrame.new(-49, 1, 9)
end) end)
I don't see any errors, but you should wait for the torso to become available first by using the WaitForChild() method, since it could be non-existant.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(Character)
Character:WaitForChild("Torso").CFrame = CFrame.new(-49, 1, 9)
end) end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Thanks, I figured out another way though. I appreciate your help anyways.
No problem.