I want to create a vote map but when player touching "vote button", yes it working but, it repeat. Through this method player can make 99999999 votes.
a = 0
local function one(hit)
if hit and hit.Parent:FindFirstChild("Humanoid") then
a = a + 1
print(a)
end
end
script.Parent.Touched:Connect(one)
I newbie and I want to know how to one time use.

1 comment
Oh, me need to study many of scripting)