ProfileService thinks NumberValue is nil

Im having a problem with setting up ProfileService, for some reason it keeps outputting that the entry value is nil.

Data
image

Template
image

Output

1 Like

Your template contains values with the following keys:

placeHolder1
placeHolder2
placeHolder3

However, in your GiveLeaderstats() function, you’re indexing for PlaceHolder1, PlaceHolder2, and PlaceHolder3, which are invalid members in your table! Therefore, you’re trying to store nil in your number value instances.

Remember, Lua is case-sensitive, so you should swap all those P’s into lowercase or swap all the P’s in your template to upper-case!

2 Likes

Oh damn idk how I missed saw that, thanks though

2 Likes

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