Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Sphere Protector 2.0
- @persist [O E P]:entity V:array Yolo:array
- interval(100)
- O = owner()
- E = entity()
- L = players()
- if(first()) {
- E:setAlpha(255)
- holoCreate(1, entity():pos())
- holoCreate(2, entity():pos())
- holoModel(1, "hq_sphere")
- holoModel(2, "hq_sphere")
- holoMaterial(1, "temp/bot_worker_track_blue")
- holoMaterial(2, "models/shadertest/shader3")
- holoScale(1, vec(-50))
- holoScale(2, vec(50))
- }
- holoParent(1, E)
- holoPos(1, E:pos()+vec(0,0,10))
- holoParent(2, E)
- holoPos(2, E:pos()+vec(0,0,10))
- interval(100)
- A=findToArray()
- findInSphere(E:pos(),300)
- findByClass("player")
- findByClass("npc_*")
- findByClass("physics_*")
- foreach(K,V:entity=A){
- if(
- V:owner() != owner()&
- V:name() != "Ashly Costello" &
- V:name() != "Scrat0n" &
- V:name() != "SpitFire" &
- V:name() != "Stick" &
- V:name() != "Ko$t" &
- V:name() != "skarfox" &
- V:name() != "*****nator :3" &
- V:name() != "Koko" &
- V:pos():distance(E:pos())<250
- &!V:isAdmin() &
- !V:isSuperAdmin()
- ){
- R=random(8000-10000)%10000
- V:plySetPos(entity():pos()+vec(0,0,R))
- }
- }
Add Comment
Please, Sign In to add comment