#when i jump my walk animation playing

239 messages · Page 1 of 1 (latest)

sleek tulipBOT
#

studio** You are now Level 1! **studio

ripe night
#

Help me pls

uncut lion
ripe night
#

Ohbruh

#

I though its normal

#

1 sec

tall yew
#

the second is over

ripe night
#

local walkAnimation = script:WaitForChild("Walk")

local JumpAnimation = script:WaitForChild("Jump")

local idleAnimation = script:WaitForChild("Idle")

local Char = script.Parent
local Humanoid = Char:WaitForChild("Humanoid")

local animationTrack1 = Humanoid:LoadAnimation(walkAnimation)
local animationTrack2 = Humanoid:LoadAnimation(JumpAnimation)
local animationTrack3 = Humanoid:LoadAnimation(idleAnimation)

Humanoid.Running:Connect(function(movementSpeed)
if movementSpeed > 0 then
if not animationTrack1.IsPlaying then
animationTrack3:Stop()
animationTrack1:Play()
end
else
if animationTrack1.IsPlaying then
animationTrack1:Stop()
animationTrack3:Play()
end
end
end)

Humanoid.Jumping:Connect(function()
animationTrack2:Play()
end)

ripe night
uncut lion
ripe night
#

Bro fr

uncut lion
#

ok ok

#

wait

#

Humanoid.Jumping:Connect(function()
animationTrack2:Play()
end)

#

Stop

ripe night
#

Uh do i just paste it there?

uncut lion
#

no

ripe night
#

Then

uncut lion
#

put animationTrack1:Stop()

ripe night
#

Which line

ripe night
#

BRO IM NOT A SCRIPTER

#

I need tut

#

Oh

#

At the end

ripe night
#

???

tall yew
ripe night
#

Then help me

tall yew
#

Do we need to fully spoonfeed every button on your keyboard you need to press?

ripe night
#

Yes.

tall yew
#

Just read his messages and you’ll figure it out

ripe night
#

Let me try. Click shift and put this code he sent?

#

Ye?

sleek tulipBOT
#

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

uncut lion
#

bro just

tall yew
#

@uncut lion I pitty you for dealing with these people once again

uncut lion
#

Humanoid.Jumping:Connect(function()
animationTrack2:Play()
animationTrack1:Stop()
end)

#

ok???

ripe night
#

Ok

tall yew
uncut lion
ripe night
uncut lion
#

ok

#

so

#

make

#

it

ripe night
#

ive made it already it suppost to work but it dosent

uncut lion
#

Humanoid.Jumping:Connect(function()
if animationTrack1.IsPlaying then
animationTrack1:Stop()
end
animationTrack2:Play()
end)

#

try this

ripe night
#

ok

#

nop

uncut lion
#

can you send the script full

ripe night
#

ok

#

local walkAnimation = script:WaitForChild("Walk")

local JumpAnimation = script:WaitForChild("Jump")

local idleAnimation = script:WaitForChild("Idle")

local Char = script.Parent
local Humanoid = Char:WaitForChild("Humanoid")

local animationTrack1 = Humanoid:LoadAnimation(walkAnimation)
local animationTrack2 = Humanoid:LoadAnimation(JumpAnimation)
local animationTrack3 = Humanoid:LoadAnimation(idleAnimation)

Humanoid.Running:Connect(function(movementSpeed)
if movementSpeed > 0 then
if not animationTrack1.IsPlaying then
animationTrack3:Stop()
animationTrack1:Play()
end
else
if animationTrack1.IsPlaying then
animationTrack1:Stop()
animationTrack3:Play()
end
end
end)

Humanoid.Jumping:Connect(function()
if animationTrack1.IsPlaying then
animationTrack1:Stop()
end
animationTrack2:Play()
end)

#

@uncut lion there

uncut lion
#
local walkAnimation = script:WaitForChild("Walk")

local JumpAnimation = script:WaitForChild("Jump")

local idleAnimation = script:WaitForChild("Idle")



local Char = script.Parent
local Humanoid = Char:WaitForChild("Humanoid")

local animationTrack1 = Humanoid:LoadAnimation(walkAnimation)
local animationTrack2 = Humanoid:LoadAnimation(JumpAnimation)
local animationTrack3 = Humanoid:LoadAnimation(idleAnimation)

Humanoid.Running:Connect(function(movementSpeed)
    if movementSpeed > 0 then
        if not animationTrack1.IsPlaying then
            animationTrack3:Stop()
            animationTrack1:Play()
        end
    else
        if animationTrack1.IsPlaying then
            animationTrack1:Stop()
            animationTrack3:Play()
        end
    end
end)

Humanoid.Jumping:Connect(function()
    if animationTrack1.IsPlaying then
        animationTrack1:Stop()
    end
    animationTrack2:Play()
end)
#

wait

ripe night
#

paste this?

uncut lion
#

do not copy

#

no

ripe night
#

ok

uncut lion
#

it just

ripe night
#

printing to someone named lua hi?

uncut lion
#

no

#

making it readable

ripe night
#

ok

tall yew
#

```lua
```
makes it so we can read your script

ripe night
#

so what do i suppost to do why wont it work

uncut lion
#

im looking

#
local walkAnimation = script:WaitForChild("Walk")

local JumpAnimation = script:WaitForChild("Jump")

local idleAnimation = script:WaitForChild("Idle")



local Char = script.Parent
local Humanoid = Char:WaitForChild("Humanoid")

local animationTrack1 = Humanoid:LoadAnimation(walkAnimation)
local animationTrack2 = Humanoid:LoadAnimation(JumpAnimation)
local animationTrack3 = Humanoid:LoadAnimation(idleAnimation)

Humanoid.Running:Connect(function(movementSpeed)
    if movementSpeed > 0 then
        if not animationTrack1.IsPlaying then
            animationTrack3:Stop()
            animationTrack1:Play()
        end
    else
        if animationTrack1.IsPlaying then
            animationTrack1:Stop()
            animationTrack3:Play()
        end
Humanoid.Jumping:Connect(function()
    if animationTrack1.IsPlaying then
        animationTrack1:Stop()
    end
    animationTrack2:Play()
end)
    end
end)
#

try this

ripe night
#

bet

#

but wait

#

maybe the problam is that i didnt done the jump and idle?

#

and only walk?

uncut lion
#

wdym

ripe night
#

ive dont only the walk animation. and not the idle and jump

#

maybe thats the problam

uncut lion
#

lol hell ye

ripe night
#

is it?

uncut lion
#

did you put an id to jump

#

or i,dle

ripe night
#

im making it now

uncut lion
#

well yes thats the problem

ripe night
#

but can u make me a script then without the idle and fixing the problam of this cchannel

uncut lion
#

the program cannot run nil anim

uncut lion
#

i fixed it bru

ripe night
#

WITHOUT the idle

#

i want to delete the idle part

#

i dont want to make an idle animatio

uncut lion
#

then delete it

#

why you asking mw

ripe night
#

but it shows me a blue cube

#

means it wont work

uncut lion
#
local walkAnimation = script:WaitForChild("Walk")

local JumpAnimation = script:WaitForChild("Jump")





local Char = script.Parent
local Humanoid = Char:WaitForChild("Humanoid")

local animationTrack1 = Humanoid:LoadAnimation(walkAnimation)
local animationTrack2 = Humanoid:LoadAnimation(JumpAnimation)


Humanoid.Running:Connect(function(movementSpeed)
    if movementSpeed > 0 then
        if not animationTrack1.IsPlaying then
        
            animationTrack1:Play()
        end
    else
        if animationTrack1.IsPlaying then
            animationTrack1:Stop()
         
        end
Humanoid.Jumping:Connect(function()
    if animationTrack1.IsPlaying then
        animationTrack1:Stop()
    end
    animationTrack2:Play()
end)
    end
end)
#

there you go

ripe night
#

let me try

uncut lion
#

do you have the jump and

ripe night
#

ye

uncut lion
#

run anim

ripe night
#

i done it now

#

huh

#

i didnt made the run

uncut lion
#

ok dont forget to put the id of the anim

ripe night
#

i made walk

#

OH GOOD

#

its working

uncut lion
#

nice

ripe night
#

but

sleek tulipBOT
#

studio** You are now Level 3! **studio

ripe night
#

the probal of this didnt work..

#

ITS STILL PLAYING WHEN I JUMP

uncut lion
#

are you sure that you put the id in the correct anim ?

ripe night
#

ofc..

uncut lion
#

@tall yew

ripe night
#

want me to share my screen

tall yew
#

?

uncut lion
#

could you look at this bru

tall yew
#

@ripe night show your current script

#

the one inside the game

ripe night
#

ok

uncut lion
#

lol

tall yew
#

are you sure that's the one inside your game?

ripe night
#

mhm.

#

its still playing when i jump

uncut lion
#

can you record a vid and share with us

ripe night
#

wait

#

what if its bc of the small w

#

walkAnimation

#

i called it Walk with big W

uncut lion
#

no

#

you put that name

#

local walkAnimation

#

its ok

ripe night
#

ok then

ripe night
uncut lion
#

maybe bc you didnt loop the jump anim and thats why it not keeps the anim

#

maybe...

tall yew
#
Humanoid.StateChanged:Connect(function(OldState, NewState)
  print("OldState:" ..Oldstate .."\n New state:".. NewState)
end
uncut lion
#

not sure but

tall yew
#

add that

tall yew
#

to check when the states change

ripe night
#

if i woudlnt my walking animation would not work

uncut lion
#

no to the all anim

#

??

ripe night
#

if i would not use the loop button my walking would not work

#

it would work once

uncut lion
#

im not talking about that

ripe night
#

then

uncut lion
#

im talking about the jump anim loop

ripe night
#

let me check

ripe night
#

yes the jump was not with a loop

uncut lion
#

can you try with loop

ripe night
#

ok

#

lets see

#

nop

#

its stil playing the walking

uncut lion
#

ok turn off the loop

ripe night
#

ima try what herman says

#

uh

#

where do i put this

tall yew
#

oh I forgot 2 dots

ripe night
#

?

tall yew
#

fixed it

ripe night
#

send me it

#

?

#

hello ?

#

what to do now

#

@uncut lion

tall yew
#

I fixed it in the original message

ripe night
#

where do i put it? at the end ?

#

still not working

tall yew
#

yeah at the end would be your bes toption

#

hang on

#

why is it tabbed to the right?

#

where did you exactly put it?

ripe night
#

at the end of the script

uncut lion
#

you forgot to add )

#

end)

ripe night
#

can i show screen share maybe

uncut lion
#

how

ripe night
#

ima call u

uncut lion
#

ok

#

@ripe night

#

@tall yew

#

herman its not working

tall yew
#

does it not return anything?

uncut lion
#

he triewd

#

im getting mindfuck

tall yew
#

did you guys try to just do

Humanoid.StateChanged:Connect(function(OldState, NewState)
  print("OldState:" ..Oldstate)
print("New state:" .. NewState)
end```
#

oh wait

#

NewState is a method

uncut lion
#

so?

tall yew
#

no wait

#

I'm just dumb and forgot discord isn't the same as a texteditor

#

damn discord making me type 2 "s

uncut lion
#

ValidKey

#

you want to change the walk idle jump anim in your game

#

??

#

or personal

ripe night
#

???

#

bro pls my head about to explode what do i do

#

?

sleek tulipBOT
#

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

uncut lion
#

you can just when you are press the button play in roblox studio go to worlspace get the Animate LocalScript in your CharacterModel that named as your nick Name

#

and right click to it

#

click cut

#

press stop

ripe night
#

?

uncut lion
#

right click to StarterCharacterScripts and click paste into it

#

then change the anims id to your id

ripe night
#

but what about others

#

is it changing them too

uncut lion
#

others?

ripe night
#

ye

uncut lion
#

WHİCH

ripe night
#

the one that wil play it

uncut lion
#

its automaticly play for you

#

and delete the script that youve made

#

and problem solved

ripe night
#

bro im just gonna go find someone that acuttly care and giving me working scripts

uncut lion
#

than you have to ready to give robux :))

ripe night
#

wait..

#

BRUH I HAVE AN OWN SCRIPTER

#

WHY I GOED TO THIS SERVER

uncut lion
#

see @tall yew thats why we should stop helping people

ripe night
#

yea