Creeper spawning TNT and instantly blowing up

Discussion in 'Skript' started by xXSquidMcXx, May 5, 2017.

  1. Hi,
    I am wanting to make the TNT instantly explode without any waiting delay.
    Code (Text):
        player is holding creeper spawn egg named "ENTITY NAME" with lore "{@ENTITY NAMElore}"
        cancel the event
        remove 1 creeper spawn egg named "ENTITY NAME" with lore "{@ENTITY NAMElore}" from player
        spawn 1 creeper at player
        set the name of the spawned creeper to "ENTITY NAME"
    What should I add to this?
    (This is a skript)

    Thanks,
    -Sam
     
  2. I dont get what you exactly want...
    Spawn a creeper? And then?
     
  3. When ignited it'll spawn a TNT that instantly blows up
     
  4. You can use the "primed tnt" syntax.
    Code (Text):
    spawn 1 primed tnt at player
     
  5. nope, doesnt work