script.Parent.OnServerEvent:Connect(function(plr,isActive)
local value = plr.Backpack.TEActive.TPbc
for _, chars in pairs(workspace:GetChildren()) do
if chars:FindFirstChild("Humanoid") and chars ~= plr.Character then
chars.Archivable = true
local copy = chars:Clone()
copy.Name = chars.Name.." copy"
copy.Parent = workspace.Clones
game.Debris:AddItem(copy, 10.3)
wait(10)
chars.HumanoidRootPart.CFrame = copy.HumanoidRootPart.CFrame
end
end
end)
so i want to make a clone of every player in the server and teleport all of em to their clones but when i put the wait(10) it doesn't work it works fine before the wait
