addHook("PlayerThink", function(player) if not(player.mo) then return end if not(player.mo.skin == "luasonic") then return end if not(P_IsObjectOnGround(player.mo)) and (player.mo.state == S_PLAY_RUN or player.mo.state == S_PLAY_WALK) and not player.powers[pw_carry] player.mo.state = S_PLAY_FALL end end) addHook("PlayerThink", function(player) if not(player.mo) then return end if not(player.mo.skin == "luatails") then return end if not(P_IsObjectOnGround(player.mo)) and (player.mo.state == S_PLAY_RUN or player.mo.state == S_PLAY_WALK) and not player.powers[pw_carry] player.mo.state = S_PLAY_FALL end end) addHook("PlayerThink", function(player) if not(player.mo) then return end if not(player.mo.skin == "luametal") then return end if not(P_IsObjectOnGround(player.mo)) and (player.mo.state == S_PLAY_RUN or player.mo.state == S_PLAY_WALK) and not player.powers[pw_carry] player.mo.state = S_PLAY_FALL end end)