Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

rebirths is not a valid member of Folder?

I'm trying to make a weight lift simulator And this is the debug message that I get   09:55:22.789 rebirths is not a valid member of Folder "Players.StqrLost.leaderstats" - Server - Remotes:17

And this is the code

player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 25 * (player.leaderstats.rebirths.Value + 1)

1 comment

0

you could try WaitForChild() :)

1 answer

You should probably make the code:

workspace.leaderstats.Strength.Value = workspace.leaderstats.Strength.Value + 25 * (workspace.leaderstats.rebirths.Value + 1)

tell me if it doesn't work

This discussion is preserved as it was. New answers, comments, and votes are closed.