Inside the player I have a IntValue called CraftingLevel and inside that a IntValue called CraftingEXP, inside that is this script (normal script), I wanted to be able to level them up like so, but it refuses to work:
EXP=script.Parent
Crafting=script.Parent.Parent
EXP.Changed:connect(function()
if EXP.Value*10 == Crafting.Value and Crafting.Value<10 then
EXP.Value = 0
Crafting.Value = Crafting.Value+1
end
end)
Thanks

1 comment
Well, the problem I'm seeing is that it's just a math error. EXP.Value * 10 == Crafting.Value. Maybe switch which side the * 10 is on and it should work.