Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Mini-Admin(all players)
- @inputs
- @outputs Pitch Yaw Roll Player:entity Blue:vector Green:vector Players:array LastSaid:string
- @persist O:entity Player:entity Dir:vector R:string G:string B:string
- runOnTick(1)
- O=owner()
- Yaw = Player:angles():yaw()
- Pitch = Player:angles():pitch()
- Roll = Player:angles():roll()
- S= O:lastSaid():explode(" ")
- Blue=holoEntity(2):pos()
- Green=holoEntity(1):pos()
- LastSaid = O:lastSaid()
- H3=holoEntity(3):angles()
- H3H=holoEntity(3)
- Main = entity()
- if(O:lastSaid()=="-reset")
- {
- Player = entity()
- soundStop(1)
- holoColor(1,vec(100,0,255),0)
- holoColor(2,vec(100,0,255),0)
- }
- if(S:string(1) =="yeah")
- {
- I = 0
- I2 = Players:count()+11
- I3 = I+10
- while(I < Players:count()){
- Player = Players[I,entity]
- holoCreate(I3)
- holoScale(I3,vec(11,11,11))
- holoColor(I3,vec(100,0,255))
- holoModel(I3, "hq_hdome_thin")
- holoParent(I3,Player)
- holoCreate(I2)
- holoScale(I2,vec(11,11,11))
- holoColor(I2,vec(100,0,255))
- holoModel(I2, "hq_hdome_thin")
- holoParent(I2,Player)
- holoPos(I3,Player:toWorld(vec(0,0,55)))
- holoPos(I2,Player:toWorld(vec(0,0,55)))
- holoAng(I2,ang(180,0,0))
- holoColor(I3,vec(255,255,255),255)
- holoColor(I2,vec(255,255,255),255)
- holoAng(I3,ang(0,0,0))
- #holoEntity(2):soundPlay(1,0,"ambient/alarms/alarm1.wav")
- #soundVolume(1,900)
- holoMaterial(I3,"debug/debugdrawflat")
- holoMaterial(I2,"debug/debugdrawflat")
- I++
- I2++
- }
- }
- Dir = Player:pos() - entity():pos()
- applyForce($Dir*10+Dir)
- holoAng(10,H3H:angles()+ang(0,0,-25))
- holoPos(1,H3H:toWorld(vec(0,-4,-9)))
- holoPos(2,H3H:toWorld(vec(0,4,-9)))
- holoPos(3,Main:toWorld(vec(0,0,45)))
- holoPos(4,H3H:toWorld(vec(0,0,7.5)))
- holoPos(5,H3H:toWorld(vec(0,12,0)))
- holoPos(6,H3H:toWorld(vec(7,3.5,10.5)))
- holoPos(7,H3H:toWorld(vec(7,-3.5,10.5)))
- holoPos(8,H3H:toWorld(vec(0,-12,0)))
- holoPos(9,H3H:toWorld(vec(0,-3.5,13)))
- holoPos(10,H3H:toWorld(vec(0,3.5,13)))
- if (owner():steamID() !="STEAM_0:0:38699096")
- {
- selfDestruct()
- print("NOT YOURS!.... "+owner():name())
- concmd("say I am an E2 stealer!")
- }
- entity():setColor(vec(0,0,0),0)
- DistractionHolos = Players:count()+100
- if(first()){
- Players = players()
- holoCreate(1)
- holoScale(1,vec(0.4,0.4,0.7))
- holoColor(1,vec(125,255,0))
- holoModel(1, "hq_rcylinder_thick")
- holoMaterial(1,"debug/debugdrawflat")
- holoParent(1,1)
- holoCreate(2)
- holoScale(2,vec(0.4,0.4,0.7))
- holoColor(2,vec(125,255,0))
- holoModel(2, "hq_rcylinder_thick")
- holoMaterial(2,"debug/debugdrawflat")
- holoParent(2,1)
- holoCreate(3)
- holoScale(3,vec(1.5,1.5,1.15))
- holoColor(3,vec(125,255,0))
- holoModel(3, "hq_rcylinder")
- holoMaterial(3,"debug/debugdrawflat")
- holoParent(3,entity())
- holoCreate(4)
- holoScale(4,vec(1.5,1.5,1.3))
- holoColor(4,vec(125,255,0))
- holoModel(4, "hq_dome")
- holoMaterial(4,"debug/debugdrawflat")
- holoParent(4,1)
- holoCreate(5)
- holoScale(5,vec(0.35,0.35,1))
- holoColor(5,vec(125,255,0))
- holoModel(5, "hq_rcylinder_thick")
- holoMaterial(5,"debug/debugdrawflat")
- holoParent(5,1)
- holoCreate(6)
- holoScale(6,vec(0.2,0.2,0.2))
- holoColor(6,vec(255,255,255))
- holoModel(6, "hq_icosphere")
- holoMaterial(6,"debug/debugdrawflat")
- holoParent(6,1)
- holoCreate(7)
- holoScale(7,vec(0.2,0.2,0.2))
- holoColor(7,vec(255,255,255))
- holoModel(7, "hq_icosphere")
- holoMaterial(7,"debug/debugdrawflat")
- holoParent(7,1)
- holoCreate(8)
- holoScale(8,vec(0.35,0.35,1))
- holoColor(8,vec(125,255,0))
- holoModel(8, "hq_rcylinder_thick")
- holoMaterial(8,"debug/debugdrawflat")
- holoParent(8,1)
- holoCreate(9)
- holoScale(9,vec(0.05,0.05,0.7))
- holoColor(9,vec(125,255,0))
- holoModel(9, "hq_rcylinder_thick")
- holoMaterial(9,"debug/debugdrawflat")
- holoParent(9,1)
- holoAng(9,ang(0,0,25))
- holoCreate(10)
- holoScale(10,vec(0.05,0.05,0.7))
- holoColor(10,vec(125,255,0))
- holoModel(10, "hq_rcylinder_thick")
- holoMaterial(10,"debug/debugdrawflat")
- holoParent(10,1)
- }
Add Comment
Please, Sign In to add comment