#animation help and scripting
22 messages · Page 1 of 1 (latest)
no u press a button and it does it
** You are now Level 4! **
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
task.wait(2) emote:Pause()
Shii
so lets say this button is "H"
the player presses h
and the animation starts
and after 2 seconds
you want it to stop?
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