Jump to content

Player is looking at a block, make it explode


Enchanted_Reeses

Recommended Posts

So i want a skript where when the player is holding something, and looking at something, that thing explode at a force of 10
heres what i got so far, doesnt work though

every 0.1 seconds:
    loop all players:
        if 1 of loop-player's tool = stick named "&4FireBaller":
            set {explode} to 1
            set {explo} to targeted block
every 0.05 seconds:
    if {explode} is 1:
        create an explosion of force 10 at {explo}
        set {explode} to 0

"set {explo} to targeted block" doesn't work for some reason any ideas would be great!

Just a skripter who likes to have fun

I also think I'm pretty good at it

PS my discord is Enchanted#3933 incase idk anything?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...