Script: --[UIS Service] local UIS = game:GetService("UserInputService") --[General] local Player = game.Players.LocalPlayer local Character = Player.Character local Humanoid = Character.Humanoid --[Animation] local RunAnimation = script:WaitForChild("Animation") local TrackAnimation = Humanoid:LoadAnimation(RunAnimation) --[UIS] UIS.InputBegan:Connect(function(input, IsTyping) if IsTyping then return end
if input.KeyCode == Enum.KeyCode.LeftShift then if Humanoid.WalkSpeed >= 10 then TrackAnimation:Play() Humanoid.WalkSpeed = 40 -- put whatever value u want in here
end UIS.InputEnded:Connect(function(input, IsTyping) if IsTyping then return end
if input.KeyCode == Enum.KeyCode.LeftShift then TrackAnimation:Stop() Humanoid.WalkSpeed = 16 -- Default Walking Speed
YOO FIRE BRO GOOD JOB it’s Iman btw idk why I’m on this goofy ahh alt
Nice vid Leon
Really good video dude🎉
ty
Script:
--[UIS Service]
local UIS = game:GetService("UserInputService")
--[General]
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character.Humanoid
--[Animation]
local RunAnimation = script:WaitForChild("Animation")
local TrackAnimation = Humanoid:LoadAnimation(RunAnimation)
--[UIS]
UIS.InputBegan:Connect(function(input, IsTyping)
if IsTyping then return end
if input.KeyCode == Enum.KeyCode.LeftShift then
if Humanoid.WalkSpeed >= 10 then
TrackAnimation:Play()
Humanoid.WalkSpeed = 40 -- put whatever value u want in here
end
UIS.InputEnded:Connect(function(input, IsTyping)
if IsTyping then return end
if input.KeyCode == Enum.KeyCode.LeftShift then
TrackAnimation:Stop()
Humanoid.WalkSpeed = 16 -- Default Walking Speed
-- i hope this video helped u
end
end)
end
end)