Hi guys!
I have an idea to create killaura npc, like in this video: (sorry for background music and bad cutting xd) (its a part of another guy's video. Link to original in desc)
I think it can be created like this way:
I know, that it isn't a working code. Just example how it can be created.
Anyway I don't know how to do this...
Also I have created a small scheme in paint. (Ik I'm bad painter) [P - Player, B - Bot]
I hope, you will help me with this code
UP
[doublepost=1564344014,1564303572][/doublepost]Up
[doublepost=1564429515][/doublepost]up
[doublepost=1564567987][/doublepost]up
I have an idea to create killaura npc, like in this video: (sorry for background music and bad cutting xd) (its a part of another guy's video. Link to original in desc)
Code:
set {_start} to 500 blocks ahead of player
set {_1} to 2 blocks at right side of player
set {_2} to 2 blocks at left side of player
set {_3} to 2 blocks in front of player
set {_4} to 3 blicks behined player
set {_name} to "Entity"
set {_npc } to npc named {_name}
spawn {_npc} at {_start}
set gravity of {_npc} to false
wait 20 ticks
make {_npc} attaking player
teleport {_npc} to {_1}
wait 2 ticks
teleport {_npc} to {_2}
wait 2 ticks
teleport {_npc} to {_3}
wait 2 ticks
teleport {_npc} to {_4}
set yaw of {_npc} to 90
set pitch of {_npc} to 1
teleport {_npc} to {_4}
wait 1 tick
teleport {_npc} to {_4}
Wait 1 tick
teleport {_npc} to {_4}
#repet until 4seconds will pass
# 20 ticks = 1 sec
# 4 sec = 80 ticks
delete {_npc}
remove {_npc}
on damage:
if attaker is {_npc}:
stop
Anyway I don't know how to do this...
Also I have created a small scheme in paint. (Ik I'm bad painter) [P - Player, B - Bot]
I hope, you will help me with this code
UP
[doublepost=1564344014,1564303572][/doublepost]Up
[doublepost=1564429515][/doublepost]up
[doublepost=1564567987][/doublepost]up