hello I can not create my leaderstats can tell me I envy that there is cash and Energy when I try it makes me rebight and coin?
function onPlayerEntered(newPlayer) wait(.5) local stats = Instance.new("IntValue") stats.Name = "leaderstats"
local score = Instance.new("IntValue")
score.Name = "Cash" -- Change "Cash" with Your Leaderstats Name
score.Value = 0
score.Parent = stats
stats.Parent = newPlayer
local score = Instance.new("IntValue")
score.Name = "Energy" -- Change "Energy" with Your Leaderstats Name
score.Value = 0
score.Parent = stats
stats.Parent = newPlayer
end
game.Players.ChildAdded:connect(onPlayerEntered)
