local Tapa = game:GetService("UserInputService"
local Player = game.Players.LocalPlayer
local Character = Player.Character
Tapa.InputBegan:connect(function(input)
if input.Keycode == Enum.KeyCode.LeftShift then
Character.Humanoid.Wallspeed = 32
local Anim = Instance.new('Animation'
Anim.AnimationId = 'rbxassetid://133234590296757'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim
lay()
end
end)
Tapa.InputEnded:connect(function(input)
if input.Keycode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 16
PlayAnim:Stop()
end
end)PS. Ошибка такая: Keycode is not a valid member of InputObject "InputObject"
local Player = game.Players.LocalPlayer
local Character = Player.Character
Tapa.InputBegan:connect(function(input)
if input.Keycode == Enum.KeyCode.LeftShift then
Character.Humanoid.Wallspeed = 32
local Anim = Instance.new('Animation'
Anim.AnimationId = 'rbxassetid://133234590296757'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim
end
end)
Tapa.InputEnded:connect(function(input)
if input.Keycode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 16
PlayAnim:Stop()
end
end)PS. Ошибка такая: Keycode is not a valid member of InputObject "InputObject"