of     1   

imaski4
#228341297Saturday, December 02, 2017 7:43 PM GMT

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...
little5
#228341511Saturday, December 02, 2017 7:47 PM GMT

hit.Parent[Name .. "'s Vote"]
imaski4
#228341624Saturday, December 02, 2017 7:50 PM GMT

??
little5
#228341705Saturday, December 02, 2017 7:51 PM GMT

Ohh wait I read it wrong. What you need to do is use :FindFirstChild() e.g.: if m2.Counter:FindFirstChild(hit.Parent.Name.."'s Vote") then
imaski4
#228343126Saturday, December 02, 2017 8:18 PM GMT

tysm! i forgot about findfirstchild xd

    of     1