local args = { { "setCheckpoint", 2, -- change this value to your checkpoint + 1 (keep it default if start from checkpoint 1) false } } getgenv().farm = true while getgenv().farm do game:GetService("ReplicatedStorage"):WaitForChild("RemoteFunction"):InvokeServer(unpack(args)) -- repeats script args[1][2] = args[1][2] + 1 -- add 1 each loop if args[1][2] > 110 then -- goes up to checkpoint 110 args[1][2] = 2 end task.wait(5) -- for checkpoint to load end -- Script ends, run again for it to go back to 100