Skript Version: Skript 2.2
Skript Author: Bensku
Minecraft Version: 1.8.8
Full Code:
I was trying to make a gravity staff that attracts all living entities to 0.5 block in front of the player using it (So the user can hit them easily). But it did not work out for me. I also wanted to add magicCrit particles forming a line from all victims to the player (user), which is moving towards the player (user) with the same speed the player moves towards the player (user). Can someone please help me with it? Thanks a lot.
Skript Author: Bensku
Minecraft Version: 1.8.8
Full Code:
code_language.skript:
on rightclick:
if player is holding far music disc named "&6Gravity Staff":
loop all living entities excludes player in radius 15 of player:
push all living entities 0.5 meter in front of player at speed -0.5
#particle from affected entities to player
I was trying to make a gravity staff that attracts all living entities to 0.5 block in front of the player using it (So the user can hit them easily). But it did not work out for me. I also wanted to add magicCrit particles forming a line from all victims to the player (user), which is moving towards the player (user) with the same speed the player moves towards the player (user). Can someone please help me with it? Thanks a lot.