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

Whats wrong with target? I am trying to teleport everyone to a place

This is what i have

target = CFrame.new(-181.9, 74.5, 93) for i, player in ipairs(game.Players:GetChildren()) do if player.Character and player.Character:FindFirstChild("Torso") then player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0) end end

it says there is something wrong with "Target" in line 4. Im trying to teleport everyone to a place.

2 comments

1

Can you please highlight the code then click on the blue button on top. So it would highlight the code.

0

You say that you want to have everyone to teleport to a place, but it looks like you're making them teleport to a different position.

1 answer

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