#does anyone know how to fix the ProfileStore:390: attempt to concatenate nil with string thing
1 messages · Page 1 of 1 (latest)
Check if plr.UserID is nil still after a sec or two, if that line is running instantly upon game start then I've run into a similar issue
ill make a repeat until loop hold on
That's how i fixed it myself
So it should work
Idk if it's the best option tho
uhh didnt work
same error shows up
neither ~=/== nil nor not plr.UserId/plr.UserId works
i would help you
BUT MY FUCKING WIFI ISNT WORKING
why the fuck do you have "Player_"..plr.UserId
do you have any idea how luau works? @fallow sage
does it help you if i send you my api which i use for profilestore
you could also use this its not type checked tho
so no auto correction in editor
GetStoreName() is going to return true always????
oh what the hell
i followed a tutorial i assumes it was some archaic ass logic
IT WASNT EVEN THE ISSUE 😭
** You are now Level 3! **
i am level 3
archaic ass logic prevails
the tutorial curse 💔
IVE SPENT 10 HOURS TRYING TO FIX THIS JUST TO FIND OUT I WAS USING PROFILESTORE AND NOT PLAYERSTORE FSAKOHGAHKKDFSHKKFSKHLAFLKHA
well i fixed it
There is a thing called using a regular DataStore
Please share your whole script, @fallow sage
.
Missed that
ProfileStore will encounter this error whenever a function accepting a profile_key is not given an appropriate value. A profile key must either be a string, or something that can be coerced into a string, like an integer
Given that you were under the assumption that you were using a different API, you most likely believed no key needed to be provided to certain functions
no i used ProfileStore instead of a player store that was created using ProfileStore.New() accidentally and both apparently had :StartSessionAsync()
That's exactly what I said
