Creating Attributes Via Script

The Title Says it,

Would Creating Attributes via Script Be a Good idea?

For Example:
When the Player joins, You could Create Attributes for their Levels, EXP, Cash, etc.

Example:

p:SetAttribute("Level", 1) -- If there is no Attribute, it creates one
1 Like

Yeah. That should work. I’d recommend making leaderstats though. It’s a bit more convenient.

2 Likes

By the Looks of it, you can see the Data as a property of the Player rather than a Value, Just wondering if its a Good Idea to do this

1 Like

Personally, don’t use attributes for anything, but I guess it would work the same? Technically it’s still a value as that is what attributes are based off of. Values.

1 Like

Well, I made a working version of my code from using Values to Attributes, it seems tedious to do, I guess Ill take your word tho.

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