How would I add onto this code to make it so it would move the player up slowly instead all at once.
for i, player in ipairs(game.Players:GetChildren()) do player.Character.HumanoidRootPart.CFrame = CFrame.new(0,100,0)
for i, player in ipairs(game.Players:GetPlayers()) do -- use GetPlayers() for j = 1, 20 do wait(0.5) player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position + Vector3.new(0, 0.5, 0)) end end
If I'm not mistaken, this is what you should be looking for.