Super in 2.2 match

You need to put the script as a code by clicking on the # icon, the text should appear like this :

Code:
addHook("ThinkFrame", function()
    for player in players.iterate do
        if player.mo.skin ~= "skinnamehere" then
            continue
        end

        if (player.cmd.buttons & BT_TOSSFLAG) //If you're holding CUSTOM2
        and player.rings >= 200 // 200 rings cuz its super sonic
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD1) //OH
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD2) //MY
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD3) //CHAOS
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD4) // EMERALDS
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD5)
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD6)
        P_SpawnMobj(player.mo.x, player.mo.y, player.mo.z, MT_EMERALD7)
            P_DoSuperTransformation(player) 
            P_GivePlayerRings(player,-150)
            print "your idk is now super" // change this

        end
    end
end)

Or you can put [ CODE ] the text then [ /CODE ] and also I didn't see you post this script as an add-on soo I'm not sure if you're telling the truth :/
Hes Telling the truth...
 
Btw, I've Created a Code to become unstoppable than becoming super, It looks like this Down here VVVVVV
Code:
addHook("ThinkFrame", do
    for player in players.iterate
        if not (player.issuper)
            player.issuper = 0
        end
        if player.mo == nil then continue end
        if player.powers[pw_invulnerability] == 20*TICRATE
        and player.powers[pw_sneakers] == 20*TICRATE
        and player.powers[pw_emeralds] == 0
        and G_RingSlingerGametype()
            S_StartSound(nil,sfx_supert)
            player.powers[pw_emeralds] = 127
            player.powers[pw_sneakers] = 1000
            player.powers[pw_invulnerability] = 1000
            COM_BufInsertText(server,"csay "..player.name.."\\IS NOW UNSTOPPABLE.\\\\\\\\")

            if player.iwantemmymusic == 1 //If we set it on..
                P_PlayJingleMusic(player,player.myemmymusicis,0,true,JT_SUPER)//Play custom jingle! Tbh not really a point in changing this since it's fucked but, oh well
            end

            if player.powers[pw_invulnerability] == 1*TICRATE
            and player.powers[pw_sneakers] == 1*TICRATE
            and G_RingSlingerGametype()
                player.powers[pw_emeralds] = 0
                S_StartSound(nil, sfx_s3k9c)
                COM_BufInsertText(server,"csay "..player.name.."\\IS NO LONGER UNSTOPPABLE.\\\\\\\\")
                P_RestoreMusic(player) //Jingle no restore self: sad
            end
        end
    end
end)
Try Testing this out of you can.
Post automatically merged:

NOTICE: I Accidentally Copied and Pasted other codes in Match super.lua, Please don't ask me,
 
Last edited:

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top