Question on multi-script variable accession

Hello, I’m trying to make it so every time you swing your sword you get “Skill points” I already have the sword swing animation, the sword, the skill points datastore system, and the skill points themselves. However, the sword-related things are in a different script than the script where the SkillPoints variable is found. Is there any way for me to be able to access the SkillPoints variable from my sword script?

just create a NumberValue and set its value equal to the amount of SkillPoints in the variable

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.