#animation wont load

38 messages · Page 1 of 1 (latest)

exotic radishBOT
#

studio** You are now Level 2! **studio

wispy walrus
#

What are you trying to do? Play an animation in game?

limpid kraken
wispy walrus
limpid kraken
#

waiitttt

#

mans been confused for the past 20mins

#

im tryna put a script so i can press shift and run

#

and make the walking speed normal

wispy walrus
#

Did you insert the script yet?

limpid kraken
#

StarterPlayerScript was it...

limpid kraken
wispy walrus
limpid kraken
#

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 = 35 --run speed
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://15366008487'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim:Play()
end
end)

UIS.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 16 --default walk speed
PlayAnim:Stop()
end
end)

#

i need that shi

#

cant find it

wispy walrus
#

what do you need>

limpid kraken
limpid kraken
#

cant find it

wispy walrus
#

Show me a screenshot of your game

limpid kraken
wispy walrus
#

It's probably the "script" script

limpid kraken
wispy walrus
#

It has to be a local script

#

man just follow the video

limpid kraken
#

aight

#

i did

#

that guy had StarterPlayerScript

#

i couldnt find mine

wispy walrus
#

waell yeah because you have to name it

limpid kraken
#

Ohhh i see

#

mb im new to this shit

wispy walrus
#

no worries

limpid kraken
#

ayyyyyy it works