local stages = game.Workspace.Stages local plr = game.Players.LocalPlayer local leaderstats = plr.leaderstats local char = plr.Character or plr.CharacterAdded:Wait() local root = char.HumanoidRootPart -- getting the highest stage index local highest = 0 for _, v in next, stages:GetChildren() do local i = tonumber(v.Name) if v:IsA("SpawnLocation") and i > highest then highest = i end end -- looping through numbers and simulating a touch on the stage for i = leaderstats.Stage.Value, highest do local stage = stages:FindFirstChild(tostring(i)) if stage and stage:IsA("SpawnLocation") then firetouchinterest(stage, root, 1) task.wait(.1) firetouchinterest(stage, root, 0) end end