Solved Ok so this is a request...

  • 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.

iLazer

Member
Apr 1, 2022
15
0
1
22
OK, so dont feel obligated to do this, but...

Basically I want to make it so that when someone places a Lightning Rod named "&e&lLightning Striker" it plays a warning sound around it (in radius of 3) for 2 seconds, then lightning strikes it and kills any entity around it (in radius of 2) and destroys itself.

the issue is i dont even know where to start...

sorry ):

if u make this for me i will be very happy
 
Code:
on block place:
  event-block is lightning rod
  name of tool contains "&e&lLightning Striker"
  set {_ppl::*} to all entities in radius 2 around location of event-location
  damage all entities by 5 where [{_ppl::*} contains input]
  strike lightning at event-block
  create safe explosion of force 2
  set event-block to air
 
Code:
on block place:
  event-block is lightning rod
  name of tool contains "&e&lLightning Striker"
  set {_ppl::*} to all entities in radius 2 around location of event-location
  damage all entities by 5 where [{_ppl::*} contains input]
  strike lightning at event-block
  create safe explosion of force 2
  set event-block to air

tried it and it didnt work... i even put dmg at 1000 and it did not kill the blazes around it...
 
Status
Not open for further replies.