#Animation bug (again)

1 messages · Page 1 of 1 (latest)

manic mesa
#

local UIS = game:GetService('UserInputService')
local Player = game.Players.LocalPlayer
local Character = Player.Character

UIS.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 15
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://112555495686241'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim:Play()
end
end)

UIS.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 5
PlayAnim:Stop()
end
end)

#

if the player stands still, but presses LShift, then the animation is still playing, how can I fix this?

dry spade
#

WE’RE HIRING – Earn $35 for Every 20 People You Recruit!
Looking for ONE driven person to help grow a unique video clipping team.

Your role:
Recruit people who can clip short videos for TikTok, YouTube Shorts, Reels, or Twitch.
All they do is:

Add iapplesauce22 on Discord

Join the server

Start posting clips (can earn $5K–$10K/month)

Your reward:
Get $35 for every 20 active clippers you bring in. No limit.

Perfect for:
– Discord/Roblox users
– Team builders
– People who love networking and want fast, easy cash

Interested or have questions?
DM me directly — let’s build something big.

small comet
#

put the local anim outside the input began

#

@manic mesa

manic mesa