How do you make this script repeat itself after the forth click? What it does it stays the same at the forth click. By the way, what is a professional word to label 1 (local Inc = 1) instead of Inc?
local Inc = 1
script.Parent.MouseButton1Click:connect(function()
if Inc == 1 then --First Click
--Code
elseif Inc == 2 then --Second Click
--Code
elseif Inc == 3 then --Third Click
--Code
elseif Inc == 4 then -- Fourth Click
--Code
end
Inc = Inc + 1
end)
Thank you!

3 comments
No such thing as a profresional word for variable as they are variables which are shorter versions as whatever, usually I just name my variables for what they do so in this case clicks
Thanks so much! Which word would you use in this situation?
I would use clicks