So I am making a game and there is settings and I made it so you can turn the snow off. I got the datastore working but how would I script the part where it will turn off the snow if the data store is like this, this is what I made but it doesnt work does anyone know why?

if game.Players.Player.leaderstats.Cash.Value = 250 then
	workspace.Snow.ParticleEmitter.Enabled = true
	
else
	
	workspace.Snow.ParticleEmitter.Enabled = false
end

I used cash because thats what my datastore script already used XD