#profile service saving items not working

17 messages · Page 1 of 1 (latest)

fading osprey
#

Does anything print?

#

after assigning profile try to print profile to check if its nil

#

wait

#

try it

#

dont just say 'it will'

#

so profile isnt nil?

#
for _, v in inventory:GetChildren() do
        print("child added",profile.Data.inventory)
        if not table.find(profile.Data.inventory,v.Name) then
            table.insert(profile.Data.inventory,v.Name)
            print("inserted",profile.Data.inventory)
        else
            print(" DID NOT inserted",profile.Data.inventory)
        end 
    end
``` does anything print from here
#

huh

#

weird

#

try to find where the error comes from

cobalt atlas
#

then theres no profile

cobalt atlas
#

bud

#

add a print after this line

#

see if it prints

#

theres no shit in the inventory

#

😭

#

smth is fucked up outside of the code