local ReplicatedStorage = game:GetService("ReplicatedStorage") local clickEvent = ReplicatedStorage:WaitForChild("ClickEvent") -- false if u want stop local running = true task.spawn(function() while running do clickEvent:FireServer() task.wait(0.1) -- change this if you want end end)