#animation wont load
38 messages · Page 1 of 1 (latest)
What are you trying to do? Play an animation in game?
i got it now i got another problem i cant find the StarterCharacterScript
the hell is the startercharacterscript
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
Did you insert the script yet?
StarterPlayerScript was it...
ill do it rn
that's the name of the script?
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
Show me a screenshot of your game
well you just didn't name the script then
It's probably the "script" script
i just added it
waell yeah because you have to name it
no worries
ayyyyyy it works
** You are now Level 2! **