addHook("PlayerThink", function(player) if not(player.mo and player.mo.valid and player.mo.skin == "sonic") then return end if player.cmd.buttons & BT_CUSTOM1 local ghost = P_SpawnGhostMobj(player.mo) ghost.fuse = 4 end end)