So basically I am making a script, right? Look at this.
m2.Touched:connect(function(hit)
if hit.Parent.Head then
if m2.Counter[hit.Parent.Name.."'s Vote"] then
else
m2.Counter.Value = m2.Counter.Value + 1
voted = Instance.new("IntValue")
voted.Name = hit.Parent.Name .. "'s Vote"
voted.Parent = m2.Counter
end
end
end)
(If this is hashtagged, sorry.)
It gives me this error: "imaski4's Vote is not a valid member of IntValue"
I'm like, that's why there is an "if" there... |