Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

ReDoughs is not a valid member of Folder?

Asked by 5 years ago

Everytime i join my game i keep getting ReDoughs is not a valid member of Folder in my errors it says player.leaderstats.Doughnuts.Value = player.leaderstats.Doughnuts.Value + 250 * (player.leaderstats.ReDoughs.Value+1) is my error i don't see the problem here if you could help it would be great

0
Do you have both Redoughs and Doughnuts in the leaderstats and i think you need a space before and after the second plus Gameplayer365247v2 1055 — 5y

1 answer

Log in to vote
0
Answered by
Divistern 127
5 years ago
Edited 5 years ago

If your script cannot find the folder you could add :WaitForChild("ReDoughs") or whatever the stat is called, If it isn't in a LocalScript i recommend you to use Scripts when dealing with leaderstats.

Hope this helped

Ad

Answer this question