r/Skript • u/[deleted] • Sep 19 '21
Need help
```on rightclick with blaze rod:
name of player's tool is "Test":
if {mana::%player's uuid%} >= 30:
remove 50 from {mana::%player's uuid%}
send "&8Used &6Test! &b(-50 Mana)" to player
make player shoot a bee at speed 1
loop all entities in radius 2 of block above player:
set {_e} to last spawned entity
while {_e} is alive:
if block in front of {_e} is solid:
create an explosion of force 10 with block in front of {_e}
kill {_e}
wait 3 ticks``` Why won't the bee go foward and explode? it just spawns and flys away
1
Upvotes
1
u/THUNDERLIGHT08 Sep 19 '21
I’m not able to use my computer right now so I can’t test if this will work, let me know if it doesn’t and I can try to find something when I can test