print("Cash Leaderboard Loaded")
function onPlayerEntered(newPlayer)
local stats = Instance.new("IntValue")
stats.Name = "leaderstats"
local cash = Instance.new("IntValue")
cash.Name = "JUMP"
cash.Value = 0
local cash2 = Instance.new("IntValue")
cash2.Name = "SPEED"
cash2.Value = 0
local cash3 = Instance.new("IntValue")
cash3.Name = "SIZE"
cash3.Value = 1
cash.Parent = stats
stats.Parent = newPlayer
cash2.Parent = stats
stats.Parent = newPlayer
cash3.Parent = stats
stats.Parent = newPlayer
while true do wait(1) cash.Value = cash.Value + 1
cash.Value = cash2.Value + 1
cash.Value = cash3.Value + 1
end
end
game.Players.ChildAdded:connect(onPlayerEntered)
repeat
local player = game.Players.LocalPlayer local character = player.CharacterAdded:wait() local Humanoid = character:WaitForChild("Humanoid") Humanoid.WalkSpeed = "SPEED" Humanoid.JumpPower = "JUMP" Humanoid.Size = "SIZE"
until false

1 comment
Size isn't a property of the Humanoid.