#Profile Service Error

38 messages · Page 1 of 1 (latest)

young charm
#

this is the client-side script

gaunt robin
#

dont fire anything on the client

young charm
#

this is exataly line 107

gaunt robin
#

just do FireServer()

young charm
#

ok

#

the error is back

gaunt robin
#

well player is nil

hallow girder
#

wont change

hallow girder
#

read the error

gaunt robin
#

attempt to index nil with Instance.

hallow girder
#

this is nil

hallow girder
gaunt robin
#

yes thats the way how u access to a profile on profileservice

#

then look at your module

young charm
#

but i have other script where i get the values of Energy and Gems, and its the exataly same line

#

and it works

#

but in this script it dont works

#

i think i know how to fix it

#

no, i dont know lol

gaunt robin
#

can i see the script where it works fine?

young charm
#

sure, wait a sec

#

Ah, it ended up that I had to change the part of the script that worked for another way to get what I wanted due to other parts of the script...

#

but now I'm stuck with just this bit of the click script

#

I don't know why the player doesn't go through the server

#

cuz this dont take the OBJECT player, right?

silk cragBOT
#

studio** You are now Level 3! **studio

young charm
#

only takes the Player inside Players

gaunt robin
#

yes it get the object

young charm
#

but here it takes the player inside Players

gaunt robin
#

please dont do a bucle

#

use the Change func of values

#

to runs only when changed

young charm
#

ok

#

like using Energy.Value.Changed?

#

I think this works, but i cannot test