#Hello

1 messages · Page 1 of 1 (latest)

bleak dagger
#

Hello, how do I fix this?

dark kindle
#

Well is there something called "leaderstats" on the player?

bleak dagger
#

Yes

dark kindle
# bleak dagger Yes

No there is not.

You did pass the player into the createleaderstats function, so it's not being parented to anything.

bleak dagger
#

How so? The parameter of the function includes players and then I set it up from that

dark kindle
#

PlayerAdded function, first line.

bleak dagger
#

Oh, thanks; I will try to see if it works now

nova epochBOT
#

studio** You are now Level 2! **studio

bleak dagger
#

I have a new issue

#

It has the leaderstat value but still returns nothing

dark kindle
bleak dagger
#

Oh wait

#

This is the one

#

Wait I see it

#

Mb

#

I added leader stats to the multi variable but it still isn’t working

#

At line 62

dark kindle
#

Can you take better screenshots? These are really tiny

bleak dagger
dark kindle
#

That wasn't super helpful, now it's cropped

bleak dagger
#

Hold on

dark kindle
#

Show line 59

bleak dagger
dark kindle
#

show me where you actually connect to PlayerAdded

bleak dagger
dark kindle
#

Okay so you're using Connect wrong.

playerAdded() calls the function and returns the result, same with playerRemoving().

If you want to pass the functions themselves, just do playerAdded, meaning remove the inner parenthesis in your connects