i make this basic script
tool = script.Parent
player = game.Players.LocalPlayer:GetMouse()
block = game.Workspace
number = 1
maTable = {block.one,block.two,block.three}
tool.Equipped:connect(function(eventMouse)
eventMouse.Button1Down:connect(function()
for i,v in pairs (maTable) do
number = 1 + 1
v.Transparency = 1
wait (1)
v.Transparency = .5
if number == 5 then
break
end
end
end)
end)
how do i make it to stop until i clicked 5 times?

5 comments
oh wow thanks, i didnt know you can script.Disabled thanks :)
wait it doesnt worked i can still clicking and the part still keep transparency
This won't work because you're always setting number to 2. Change the number = 1+1 to number = number +1
Edited script.
I missed it whilst doing it.