Help By Game Pass That Gives You More Cash On Rob

So, for some reason, the rob script isn’t detecting the Value inside the leaderstats folder, and I really don’t know why this is happening.
Sorry, but I don’t know what to do :frowning:

OK! I will close this, and make a new one. But thanks, that you was still answer! Thank you very much!!

1 Like

Try using :WaitForChild(), if that does not work tell me.

1 Like

And… Where I must do that into?

Players.Jonasistobercool.leaderstats:WaitForChild("Cash") -- Line 14

2 Likes

hiya! this isn’t about the leaderstats problem, but i checked the shop model and noticed you used

game:GetService(“MarketplaceService”).UserOwnsGamePassAsync:Connect(function(plr,ido,purchased)

this wont work since :UserOwnsGamePassAsync is not an event, so you will have to use

if game:GetService(“MarketplaceService”):UserOwnsGamePassAsync(player.UserId,id) then
–rest of script
end

And for the leaderstats problem, :WaitForChild() could solve it.

1 Like

OMG! Thank you so much!! You solved it!!

1 Like

i appreciate i was able to help!

1 Like