local imagepower = 1 addHook("PlayerThink", function(player) if imagepower == true if player.mo ~= nil then A_GhostMe(player.mo,6,6) end end end) addHook("PlayerThink", function(player) if imagepower == 2 if player.mo ~= nil then P_SpawnGhostMobj(player.mo) end end end) COM_AddCommand("imagepower", function(player, yesno) if yesno == "1" then imagepower = 1 elseif yesno == "2" imagepower = 2 else CONS_Printf(player, "You're supposed to to type 1/2. Currently set to "..tostring(imagepower)) end end, 1)