Solved Ignite TNT When it's Placed

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Jul 1, 2017
22
0
0
34
Ok so I'm trying to make TNT ignite when it's placed, and this obviously works
code_language.skript:
on place of tnt:
    set {tnt.block} to block below event-block
    broadcast "%{tnt.block}%"
    set block below event-block to redstone block
    set block below event-block {tnt.block}
but for some reason its not replacing the redstone block with the original block even though it displays the correct block that was below the TNT.
 
Instead of doing it manually with a redstone block, you could replace the tnt itself with primed tnt:

code_language.skript:
on place of tnt:
    set event-block to air
    spawn primed tnt at event-location
 
  • Like
Reactions: WeeabooGarbage
Status
Not open for further replies.