What do you want to achieve?
I’m trying to perform arithmetic operation with the value of an attribute.
What is the issue?
I was working on some stuff to practice with attributes, but apparently my attribute is “nil” but when I go in game and check it, the value of it is 1.
What solutions have you tried so far?
Well uhm the problem isnt that it cant find where the attribute is (I created inside of a folder). I dont know if this is relevant but I created my attribute in a local script, and im trying to perform the action in server.
Thanks for the help, sadly making it += didnt exactly helped but however I kinda fixed it by making the attribute value equal to 1 before making the adding 5 to it, Im not sure why that was a problem if fatigue was already 1 but whatever it just works.
This probably occurred because the attribute you made in Edit Mode was probably named “Fatigue*” (* means a space) instead of “Fatigue”. Whenever an error like this happens, make sure the naming is correct