while true do script.Parent.Enabled = false wait(3) -- <<<< like the repeater it repeats but seconds go random like from 2 to maximum 5 script.Parent.Enabled = true wait(3) -- same here minimum 2 maximum 5 end
This is quite a simple function that can be aconmplished using "math.random"
while true do script.Parent.Enabled = false wait(math.random(1,5)) --this would choose any random number between 1 and 5 including 1 and 5 script.Parent.Enabled = true wait(math.random(1,5)) end
Hope this helped!! If it did make sure to click accept answer!!