game.Players.PlayerAdded:Connect(function(plr)
		local human = script.Parent:FindFirstChild("Humanoid")   
if human.speed >= 10 then
local leaderstats = plr:WaitForChild("leaderstats").Money
leaderstats.Value = leaderstats.Value -1
end
end)

i've tested it but doesn't work i want player to lose money when they are running but i don't know what the problem is.

1 comment

0

If you don't know how the script is broken then I don't know how to fix it