I have a script (see below) and I wanted to make it so that if the values name isn't "Fifteen" then it will set the value of that value(?!) to zero.
function onTouch(part)
if bus:FindFirstChild("Fifteen")then
bus.Fifteen.Value = bus.Fifteen.Value + 15
else -- I was thinking you could create a list of all other possible names for the value here and set the value to zero if one of them exists?
end
end
MD

1 comment
This is perfect thanks