Hello Scripters,
So i was carefully following a tutorial on YouTube to not only write ProfileService but also know it for the future. But i came across a weird bug:
Hello Scripters,
So i was carefully following a tutorial on YouTube to not only write ProfileService but also know it for the future. But i came across a weird bug:
This was eventually fixed by just adding pcalls!
This isn’t fixing the issue, just silencing the error.
This is error is because you are incorrectly calling the function. Use ProfileService.GetProfileStore
instead of ProfileService:GetProfileStore
. Calling the method :GetProfileStore
automatically passes ProfileService
(table) as the first argument. While the first argument of this function can be a table instead of a string, it expects the table to have a required index of “Name”, which is why you are seeing that error.
Documentation: API - ProfileService
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.