This script works perfect in studio, and was working perfect in the actual game to, but for some reason it isn't working in the actual game now.
local char = script.Parent local plr = game.Players:GetPlayerFromCharacter(char) local stage = plr:WaitForChild("leaderstats"):WaitForChild("Stage") for i,v in pairs(workspace:GetChildren()) do if v.Name == "Checkpoint"..tostring(stage.Value) then if char:FindFirstChild("Torso") then local torso = char:FindFirstChild("Torso") wait() torso.CFrame = CFrame.new(v.Position.X, v.Position.Y + 5.5, v.Position.Z) elseif char:FindFirstChild("LowerTorso") then local lowertorso = char:FindFirstChild("LowerTorso") wait() lowertorso.CFrame = CFrame.new(v.Position.X, v.Position.Y + 5.5, v.Position.Z) end end end