123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- event.load("player_jump");
- event.load("entity_click");
- entangled_player = list.new();
- //mirrored?
- //sneaking cancel?
- //only with item?
- @start
- wait();
- if (event == "entity_click"){
- list.add(entangled_player, player);
- list.add(entangled_player, entity);
- goto("wait");
- }
- goto("start");
- @wait
- wait();
- if (event == "entity_click"){
- goto("wait");
- }
- if (!list.contains(entangled_player, player)){
- if(player.getName(player) == "SirTerence7" || player.getName(player) == "Mareeeen"){
- list.add(entangled_player, player);
- }
- goto("wait");
- }
- goto("jump");
- @jump
- Motion = entity.getMotion(player);
- list_iterator = iterator(entangled_player);
- while(hasnext(list_iterator)){
- pl = next(list_iterator);
- if (pl == player){
- continue;
- }
- pl_Motion = entity.getMotion(pl);
- entity.setMotion(pl, Motion[0],0.42,Motion[2]);
- }
- goto("wait");
|