Example:
game.Players.ChildAdded:Connect(function(player)
local s=Instance.new('Model',player)
local speed=Instance.new('IntValue',s)
local char=player.Character or player.CharacterAdded:wait()
local hum=char:FindFirstChildOfClass('Humanoid')
s.Name='leaderstats'
speed.Name='Speed'
speed.Changed:Connect(function()
hum.WalkSpeed=math.floor((1/4)*speed.Value)
end)
end) |