The error in the question, is what repeatedly shows up in this script that is supposed to make a player's speed equal to their leaderstats value.
local player = game:GetService("Players").LocalPlayer local char = player.Character player.leaderstats.Speed.Changed:connect(function() char.Humanoid.WalkSpeed = player.leaderstats.Speed.Value + 16 end)
leaderstats is not yet a member of the player when you are setting an event listener. Add a WaitForChild() to only continue once the value actually exists.