local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() local Run = 252176177 local Walk = 180426354 Mouse.KeyDown:connect(function(Key) if Key:byte() == 50 then Player.Character.Humanoid.WalkSpeed = 0 wait() Player.Character.Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=" ..Run.. "" Player.Character.Humanoid.WalkSpeed = 32 end end) Mouse.KeyUp:connect(function(Key) if Key:byte() == 50 then Player.Character.Humanoid.WalkSpeed = 0 wait() Player.Character.Animate.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=" ..Walk.. "" Player.Character.Humanoid.WalkSpeed = 16 end end)