I have this script that when a button is pressed the value Num, which I created, is supposed to change, but it keeps saying I can't change "UserData" Values.
function Change()
if script.Parent.Parent.Num.Value < 9 then
script.Parent.Parent.Num.Value = script.Parent.Parent.Num + 1
end
end
script.Parent.MouseButton1Down:connect(Change)
