Help with a script

  1. Hello, I am doing a Money Simulator game. I want to do a wallet page, and I need it to show how much money they’ve in that page.

  2. So, basically, I need it to show the leaderstats value in the TextLabel text, below an example.
    image

  3. I created the leaderstats and the datastore, but my script in the textlabel won’t work. Below you can find my script.

script.Parent.Text = game.Players.LocalPlayer.leaderstats.Money

Where is the script? I do not see it.

1 Like

Just fixed it, apologies for the inconvenience.

do this

script.Parent.Text = game.Players.LocalPlayer.leaderstats.Money.Value

make sure its a local script as a server script registers the localplayer as nil

You should have Money.Value
you just have Money

script.Parent.Text = game.Players.LocalPlayer.leaderstats.Money.Value