#guys help me, my leaderstats script is not working...

1 messages · Page 1 of 1 (latest)

barren parcel
#

i could be cuz i used assistant (im new)

exotic oar
#

what exactly is not working

barren parcel
#

nothing shows up

exotic oar
#

what script is it

#

like what kind

#

local?

barren parcel
exotic oar
#

it doesn't work since you are trying to reference localplayer

#

maybe if you looked in output you would've figured ts out yourself

barren parcel
#

alr

exotic oar
#

remove this part and it'll be fine

#

put the localplayer stuff in a local script in the starterplayer

#

scripts

worldly jackal
# barren parcel i could be cuz i used assistant (im new)

In the future, don't use the assistant or any AI until you have at least a fundamental understanding of programming & lua (not using AI until you're fluent is better)

It just makes learning harder, I know you're new, but taking the time to learn will be so much more worth it

barren parcel
#

but it only shows 0 when its supposed to show 2000

exotic oar
#

strange

#

well you're not changing it so

#

like not updating it

barren parcel
#

?

#

i removed the thingy already

exotic oar
#

what thingy

#

the localplayer stuff?

#

you need to fire remote events frrom client to server to update the thing

barren parcel
#

uhh

#

...

exotic oar
#

you should probably learn how to script before scripting

barren parcel
barren parcel
#

i cant find the problem here whyyyy??????

dark burrowBOT
#

studio** You are now Level 4! **studio

edgy jewel
#

what does it do/not do

barren parcel
edgy jewel
#

what does that MEAN bro

#

send a screenshot

#

the value of PowerLevel is 0?

barren parcel
edgy jewel
#

what SHOULD it be?

#

cause, you are doing 20 / 100 which is 0.2

#

it's an intvalue, so it rounds down to 0

#

that's the issue

barren parcel
#

i don't use keyboard math a lot..

edgy jewel
#

if you do plan on using ai, use something like chatgpt 4.0 or grok

#

ai assistant is trash

barren parcel
edgy jewel
#

what do you want the power level to be?

barren parcel
#

ive fixed everythig

edgy jewel
#

lovely