I have made a script that I think should show the players speed in the leaderstats. But the script does not even work. The error is: "ServerScriptService.Script:3: attempt to call a nil value" Here's they script:
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.New("Folder",player)
leaderstats.Name = "leaderstats"
local Speed = Instance.New("IntValue", leaderstats)
Speed.Name = leaderstats
while true do
wait()
Speed = player.Character.Humanoid.WalkSpeed
end
end)
I hope you can help! I should see it soon if you post an answer in the next 2 hours so please leave one!

2 comments
I tried this and it didn't work...
wdym? are you using a local script or a normal script? this only works in normal scripts..