local UIS = game:GetService('UserInputService')
local Player = game.Players.LocalPlayer
local Character = Player.Character
local stomp = Instance.new('Sound')
stomp.SoundId = 'rbxassetid://3145176337'
stomp.Looped = true
stomp.Volume = 1
stomp.PlaybackSpeed = 0.8
UIS.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftControl then
Character.Humanoid.WalkSpeed = 120
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://5109734933'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim:Play()
stomp:Play()
end
end)
UIS.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftControl then
Character.Humanoid.WalkSpeed = 30
PlayAnim:Stop()
stomp:Stop()
end
end)
this is the code and idk why the sound i put there refuses to play
