So I am making a game, and I want it where if you have more than 49 dollars, the sign will say something if you have less than 49 dollars, it says something different. I made random words for this example, so here it is. The problem is that the sign doesn't change. Thank you!
local Player = game.Players.LocalPlayer
local Stats = Player:WaitForChild("leaderstats")
local Money = Stats:WaitForChild("Johanna")
wait(1)
if Money < 49 then script.Parent.SurfaceGui.SIGN.Text = "Hello!"
else
if Money > 49 then script.Parent.SurfaceGui.SIGN.Text = "Not enough money."
end

2 comments
I think this is because you need to be accessing the Value property of the Money leaderstat.
What do you mean?