_G.Yes = true -- change to false to stop while _G.Yes do function tickets() local args = { [1] = "LotteryRandomDraw" } game:GetService("ReplicatedStorage").RSPackage.Events.GeneralFunction:InvokeServer(unpack(args)) end tickets() game:GetService("ReplicatedStorage").RSPackage.Events.GeneralEvent:FireServer("SpinFinished") end