Value is not a valid member of Folder "Players.OzeanSyler.leaderstats"

I wanted to make the GUI say how much money you have but it does not work.
Here is the script:

local player = game.Players.LocalPlayer

script.Parent.Text = "$"..player.leaderstats.Money.Value

	script.Parent.Text = "$"..player.leaderstats.Money.Value

pls help me

Did you mean leaderstats.Money.Value?

1 Like

Please send the script in which you’re creating the leaderstats. Try using :WaitForChild(). When are you executing the script? Also is it a normal script or local script?

local player = game:GetService("Players").LocalPlayer
local Money = player:WaitForChild("leaderstats"):WaitForChild("Money")
script.Parent.Text = "$"..Money.Value

	script.Parent.Text = "$"..newValue

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.