So I got a table with players in it, Is it possible to teleport everyone with eachother? So everyone changes position with a random player?
I tried to make a brick that saves the last position of the player and wanted to try to do smth with it but im not going far with it. Any Advice?
if i % 5 == 0 then
-- Teleports every player with each other
local posStone = Instance.new("Part")
posStone.Transparency = 0
posStone.Anchored = true
posStone.CanCollide = false
posStone.Parent = workspace.posStone
posStone.CFrame = character:FindFirstChild("HumanoidRootPart").CFrame
end

11 comments
Just do: table.insert(charactersToMove,workspace:FindFirstChild(--Put the character name here))
Question: How do I list the characters instances? I believe im not doing it right now, im inserting them with : for i, player in pairs(game.Players:GetPlayers()) do if player then table.insert(plrs, player) end end
Ah, just do this
for _,v in pairs(game.Players:GetPlayers()) do
table.insert(charactersToMove,v.Character)
end
I'll try, Thanks for all the help btw! You're getting an upvote as soon as it works xd
do you got discord? I dont know why im struggling so hard..
add me Janik #0737
k
Sent