So basically, I want to not have any spin animation when jumping, and I did it; but I also want that when you double jump (the ability of my character) he spins
Can somebody help me? cause I really don't know how to do that
So basically, I want to not have any spin animation when jumping, and I did it; but I also want that when you double jump (the ability of my character) he spins
Can somebody help me? cause I really don't know how to do that
(If it does not work you can dm me.
Or someone else.)
Code:
addHook("PlayerThink", do
for player in players.iterate do
if player.mo and player.mo.skin == "skinname"
and not P_IsObjectOnGround(player.mo)
and (player.pflags & PF_THOKKED)
player.mo.state = S_PLAY_ROLL
end
end
end)/CODE]