redhot69
amongus
addHook("ThinkFrame", function()
if player.mo.skin == "sonic"
if (player.cmd.buttons & BT_CUSTOM1)
and not P_IsObjectOnGround(player.mo)
and (player.mo.state == S_PLAY_JUMP) then
P_SetObjectMomZ(player.mo, (10*player.jumpfactor), true)
S_StartSound(player.mo , sfx_bsdj)
player.mo.state = S_PLAY_SPRING
else
player.mo.state = S_PLAY_FALL
end
end)
unexpected symbol near " )"
if player.mo.skin == "sonic"
if (player.cmd.buttons & BT_CUSTOM1)
and not P_IsObjectOnGround(player.mo)
and (player.mo.state == S_PLAY_JUMP) then
P_SetObjectMomZ(player.mo, (10*player.jumpfactor), true)
S_StartSound(player.mo , sfx_bsdj)
player.mo.state = S_PLAY_SPRING
else
player.mo.state = S_PLAY_FALL
end
end)
unexpected symbol near " )"