Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make players not teleport on top of each other?

target = CFrame.new(0, 50, 0) --could be near a brick or in a new area
for i, player in ipairs(game.Players:GetChildren()) do
player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)
--add an offset of 5 for each character
end

Whenever it teleports them, they teleport on top of eachother. How do I make them teleport on different positions?

1 answer

Are you an alt or something I have seen multiple posts saying the exactly same thing and I am getting tired of answering this simple thing, please stop this will only get you bad reputation and no answers at all. Heres the code

Wait(30)
target = CFrame.new(0, 50, 0) --could be near a brick or in a new area
for i, player in ipairs(game.Players:GetChildren()) do
player.Character.Torso.CFrame = target + Vector3.new(0, 0, i * 15)
--add an offset of 5 for each character
end

tell me if it does or doesn´t work.

2 comments

0

Bio, I'm Sarcasticly.

0

I am glad to help people but this makes me mad please don´t repeat the question with alts it makes people angry I am already writing the code.

This discussion is preserved as it was. New answers, comments, and votes are closed.