Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name jewfinder
- @inputs
- @outputs
- @persist [Plycount]:number
- @trigger
- if(first()|dupefinished()){
- Plycount = numPlayers()
- foreach(K, V:entity = players()){
- if(V != owner()){
- holoCreate(K)
- holoModel(K,"cube")
- holoMaterial(K,"pp/sub")
- holoColor(K,vec(0,0,0))
- holoParentAttachment(K,V,"chest")
- holoPos(K,V:boxCenterW())
- holoScaleUnits(K,vec(13))
- holoVisible(K,players(),0)
- holoVisible(K,owner(),1)
- # PVP Check,
- holoCreate(K+Plycount)
- holoModel(K+Plycount,"cube")
- holoMaterial(K+Plycount,"hlmv/debugmrmwireframe")
- holoParent(K+Plycount,holoEntity(K))
- holoPos(K+Plycount,holoEntity(K):pos())
- holoScaleUnits(K+Plycount,vec(13/2))
- holoVisible(K+Plycount,players(),0)
- holoVisible(K+Plycount,owner(),1)
- # PVP Solid Check but only in view,
- holoCreate(K+Plycount*2)
- holoModel(K+Plycount*2,"cube")
- holoMaterial(K+Plycount*2,"skybox/sky_fake_white")
- holoParent(K+Plycount*2,holoEntity(K))
- holoPos(K+Plycount*2,holoEntity(K):pos())
- holoScaleUnits(K+Plycount*2,vec(13/2))
- holoVisible(K+Plycount*2,players(),0)
- holoVisible(K+Plycount*2,owner(),1)
- # So holos are only visible the the owner,
- }
- }
- interval(60)
- setName("generic"), hint("ESP active.",5)
- }
- if(clk() & entity():isValid()){
- # Not needed, just a pvp check and cool spin,
- foreach(K, V:entity = players()){
- local PVPCheck = vec(255 - 255 * V:plyHasGod(),0 + 255 * V:plyHasGod(),0)
- holoPos(K,V:boxCenterW()+vec(0,0,38)),holoColor(K+Plycount,PVPCheck),holoColor(K+Plycount*2,PVPCheck),holoAng(K,V:eyeAngles())
- }
- if(Plycount != numPlayers()){ holoDeleteAll(),reset() }, Plycount = numPlayers()
- interval(60)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement