local function Fig(p)
if p.mo.skin == "knuckles" and p.playerstate == PST_LIVE then
if p.cmd.buttons & BT_CUSTOM1 and not (p.cmd.buttons & BT_JUMP or p.cmd.buttons & BT_SPIN) then
if p.control and (p.mo.eflags & MFE_UNDERWATER) then 
p.mo.momz = 0*FRACUNIT
if not (p.mo.state == S_PLAY_SWIM)
p.mo.state = S_PLAY_SWIM
end
p.pflags = $ | PF_JUMPED
p.pflags = $ | PF_THOKKED
end
end
end

end
addHook("PlayerThink", Fig)