#animation help and scripting

22 messages · Page 1 of 1 (latest)

final lion
#

is your animation just constantly running even when the player moves?

marsh star
#

no u press a button and it does it

peak quiver
#

studio** You are now Level 4! **studio

marsh star
#

but i want it to like stop after two seconds of moving

#

i just wanna figure out the moving line

#

and do the wait(2) and then

#

stop the animation

bright plinth
#

task.wait(2) emote:Pause()

old stag
#

Shii

marsh star
#

but how do u think

#

i do it

#

so when i move

#

it stops

final lion
#

the player presses h

#

and the animation starts

#

and after 2 seconds

#

you want it to stop?

marsh star
#

well when they move really

#

then i want the animation to like stop

#

so the input is like w,a,s,d and jump

#

local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)

        if input.UserInputType == Enum.UserInputType.Keyboard then 

i tried this