Garry's Mod

Garry's Mod

89 ratings
E2 Готовые чипы
By Codov
Здарова бандиты.
Сегодня я солью вам все чипы которые у меня есть. Часть из них работает на всех серверах с установленным E2
ВНИМАНИЕ!!!
Для нормального использования всех чипов потребуется иметь в подписке
следующую коллекцию и E2Power [github.com] (E2Power закинуть в папку addons)
2
   
Award
Favorite
Favorited
Unfavorite
Крылья
1)Для первого аддона ума не надо. Просто поставил чип и полетел (Правда крылья могут загораживать обзор)
@name krilya
@inputs
@outputs
@persist [Ch]:string [Own]:entity Si T Sin Col:vector Tra:vector
@trigger

if(first()){
Own = owner()
Ch = "chest"
Col = vec(0,255,0)
Tra = vec(0,255,0)
#Own:setMaterial("debug/debugdrawflat")
function vector entity:aniPos(Att:string){
return This:attachmentPos(Att)
}
function angle entity:aniAng(Att:string){
return This:attachmentAng(Att)
}

for(I=1,5){
Si = 25*sin(180*(I/5))
holoCreate(I)
holoPos(I,Own:aniPos(Ch)+vec(-20,I*7,-20+Si):rotate(Own:aniAng(Ch)))
holoScale(I,vec(0.2))
holoParentAttachment(I,Own,Ch)
holoColor(2,vec(0,0,266))
holoEntity(I):setTrails(20,0,0.5,"trails/smoke",Col,255)
holoColor(1,vec(0,0,255))
holoAlpha(I,0)
}

for(I=6,10){
Si = 25*sin(180*((I-5)/5))
holoCreate(I)
holoPos(I,Own:aniPos(Ch)+vec(-20,-(I-5)*7,-20+Si):rotate(Own:aniAng(Ch)))
holoScale(I,vec(0.2))
holoParentAttachment(I,Own,Ch)
holoColor(4,vec(0,0,255))
holoEntity(I):setTrails(20,0,0.5,"trails/smoke",Tra,255)
holoAlpha(I,0)
}
}
interval(20)
T+=90
if(T>=360){T=0}
Sin = 30*sin(T)
for(I=1,5){
Si = 25*sin(180*(I/5))
holoPos(I,Own:aniPos(Ch)+vec(-20,I*7,-20+Si+Sin):rotate(Own:aniAng(Ch)))
}


for(I=6,10){
Si = 25*sin(180*((I-5)/5))
holoPos(I,Own:aniPos(Ch)+vec(-20,-(I-5)*7,-20+Si+Sin):rotate(Own:aniAng(Ch)))
}
Own = owner()
Sp = Own:keyJump()
W = Own:keyForward()
if(Own:keyJump()){
Own:setVel(vec(0,0,50)+vec(10*W,0,0):rotate(Own:eyeAngles()))
}

Обычный Noclip
2)Второй аддон это просто полет. Поставил, нажал на пробел так-же улетел.
@name Fly
@persist [Ch]:string [Own]:entity Si T Sin Col:vector
if(first()){
Own = owner()
Ch = "chest"
Col = vec(255,127,0)
#Own:setMaterial("debug/debugdrawflat")
function vector entity:aniPos(Att:string){
return This:attachmentPos(Att)
}
function angle entity:aniAng(Att:string){
return This:attachmentAng(Att)
}

for(I=1,5){
Si = 25*sin(180*(I/5))

}

for(I=6,10){
Si = 25*sin(180*((I-5)/5))

}
}
interval(50)
T+=90
if(T>=360){T=0}
Sin = 30*sin(T)
for(I=1,5){
Si = 25*sin(180*(I/5))
holoPos(I,Own:aniPos(Ch)+vec(-20,I*7,-20+Si+Sin):rotate(Own:aniAng(Ch)))
}

for(I=6,10){
Si = 25*sin(180*((I-5)/5))
holoPos(I,Own:aniPos(Ch)+vec(-20,-(I-5)*7,-20+Si+Sin):rotate(Own:aniAng(Ch)))
}
Own = owner()
Sp = Own:keyJump()
W = Own:keyForward()
if(Own:keyJump()){
Own:setVel(vec(0,0,50)+vec(10*W,0,0):rotate(Own:eyeAngles()))
}
Истребитель
А вот для третьего чипа понадобится сиденье в разделе транспорт (Собственно истребитель в вашем распоряжении)
Весь код не поместился, и поэтому он туть[pastebin.com]
Самолет
@name Airplane
@inputs
@outputs
@persist T Propspeed Vel Timer
@trigger

##########################
##########################
#### Written by Coder ####
##########################
##########################

E=entity():isWeldedTo()
Holoref=holoEntity(2)
if(first())
{
runOnTick(1)
Red=random(255)
Blue=random(255)
Green=random(255)
E:setMass(50)
entity():setMass(50)
E:setAlpha(255)

if(E:type()!="prop_vehicle_prisoner_pod")
{
print("You must spawn the Chip on a seat")
selfDestructAll()
}

holoCreate(1)
holoCreate(2)
holoCreate(3)
holoCreate(4)
holoCreate(5)
holoCreate(6)
holoCreate(7)
holoCreate(8)
holoCreate(9)
holoCreate(10)
holoCreate(11)
holoCreate(12)
holoCreate(13)

holoParent(1,E)
holoParent(2,E)
holoParent(3,E)
holoParent(4,E)
holoParent(5,E)
holoParent(6,E)
holoParent(7,E)
holoParent(8,E)
holoParent(9,E)
holoParent(10,E)
holoParent(11,E)
holoParent(12,E)
holoParent(13,E)

holoModel(1,"cube")
holoModel(2,"cube")
holoModel(3,"pyramid")
holoModel(4,"tetra")
holoModel(5,"cube")
holoModel(6,"hq_cone")
holoModel(7,"cube")
holoModel(8,"hq_cylinder")
holoModel(9,"hq_cylinder")
holoModel(10,"hq_cylinder")
holoModel(11,"hq_cylinder")
holoModel(12,"hq_cylinder")
holoModel(13,"hq_cylinder")

holoPos(1,E:toWorld(vec(0,0,0)))
holoPos(2,E:toWorld(vec(0,5,0)))
holoPos(3,E:toWorld(vec(0,-80,0)))
holoPos(4,E:toWorld(vec(0,-100,18)))
holoPos(5,E:toWorld(vec(0,-100,0)))
holoPos(6,E:toWorld(vec(0,55,0)))
holoPos(7,E:toWorld(vec(0,60,0)))
holoPos(8,E:toWorld(vec(0,40,-10)))
holoPos(9,E:toWorld(vec(-10,-30,-15)))
holoPos(10,E:toWorld(vec(10,-30,-15)))
holoPos(11,E:toWorld(vec(-20,-30,-30)))
holoPos(12,E:toWorld(vec(20,-30,-30)))
holoPos(13,E:toWorld(vec(0,40,-30)))

holoAng(1,E:toWorld(ang(0,0,0)))
holoAng(2,E:toWorld(ang(0,0,0)))
holoAng(3,E:toWorld(ang(0,0,90)))
holoAng(4,E:toWorld(ang(0,180,-10)))
holoAng(5,E:toWorld(ang(0,0,0)))
holoAng(6,E:toWorld(ang(0,0,-90)))
holoAng(7,E:toWorld(ang(0,0,0)))
holoAng(8,E:toWorld(ang(0,0,0)))
holoAng(9,E:toWorld(ang(45,0,0)))
holoAng(10,E:toWorld(ang(-45,0,0)))
holoAng(11,E:toWorld(ang(90,0,0)))
holoAng(12,E:toWorld(ang(90,0,0)))
holoAng(13,E:toWorld(ang(90,0,0)))

holoScale(1,vec(17,3,0.15))
holoScale(2,vec(2,7,2))
holoScale(3,vec(2,2,8))
holoScale(4,vec(0.5,2,3))
holoScale(5,vec(5,2,0.15))
holoScale(6,vec(2,2,2))
holoScale(7,vec(0.3,0.1,3))
holoScale(8,vec(0.2,0.2,3))
holoScale(9,vec(0.2,0.2,3))
holoScale(10,vec(0.2,0.2,3))
holoScale(11,vec(1,1,0.5))
holoScale(12,vec(1,1,0.5))
holoScale(13,vec(1,1,0.5))

holoColor(1,vec(Red,Green,Blue))
holoColor(2,vec(Red,Blue,Red))
holoColor(3,vec(Red,Green,Blue))
holoColor(4,vec(Red,Green,Blue))
holoColor(5,vec(Red,Green,Blue))
holoColor(6,vec(Red,Green,Blue))
holoColor(7,vec(75,75,75))
holoColor(8,vec(75,75,75))
holoColor(9,vec(75,75,75))
holoColor(10,vec(75,75,75))
holoColor(11,vec(0,0,0))
holoColor(12,vec(0,0,0))
holoColor(13,vec(0,0,0))

holoDisableShading(4,1)
}
entity():setMass(0)
E=entity():isWeldedTo()
E:setMass(50000)
Chair=entity():isWeldedTo()
Driver=Chair:driver()
W=Driver:keyForward()
S=Driver:keyBack()
Rvel=E:angVel():roll()
Pvel=E:angVel():pitch()
Yvel=E:angVel():yaw()
Pd=E:angles():pitch()/100
R1=E:angles():roll()/100
Range=rangerOffset(100,E:pos()+vec(0,0,-8),-E:up())
Height=Range:distance()
E:applyForce(-E:vel()*E:mass())
E:applyAngForce(ang(Rvel,-Yvel,-Pvel)*E:mass())
E:applyForce(vec(0,0,1)*E:mass()*7.511255)
if(Height<40|!Driver)
{
E:applyForce(vec(0,0,1)*E:mass()*(28-Height))
E:applyForce(-vec(0,0,1)*E:mass()*5*(Height-28))
}
E:applyAngForce(ang(R1,0,-Pd)*E:mass()*100)
if(Driver)
{
if(Height>50)
{
Y=vec(Driver:eye():dot(Chair:right()),Driver:eye():dot(Chair:right()),0):y()
}
else{Y=0}
if(Vel>750)
{
P=vec(0,Driver:eye():dot(Chair:up()),Driver:eye():dot(Chair:up())):z()
}
else{P=0}
E:applyAngForce(ang(-P,-Y,Y)*E:mass()*100)

Timer+=1
if(Timer>80)
{Timer=0}
if(Timer==5){E:soundPlay(1,0,"/vehicles/airboat/fan_blade_idle_loop1.wav")}
soundPitch(1,E:vel():length()*T*10)
}
else{soundStop(1)}
Forward=E:forward()*E:mass()*150
E:applyForce((Forward+$Forward)*T)
if(W){T+=0.01}
if(S|!Driver){T-=0.01}
elseif(S&Height<40){T-=0.005}
if(T<0){T=0}
if(T>5){T=5}
Vel=E:vel():length()
Propspeed+=clamp(T*10,0,500)
holoAng(7,E:toWorld(ang(Propspeed,0,0)))
if(Driver&T<2&Height>40)
{
E:applyForce(-vec(0,0,1)*E:mass()*100)
T=2
}
if(E:driver())
{
Active=1
}
else{Active=0}

if(changed(Active)&Active)
{
E:hintDriver("Made by Raveo",7)
E:hintDriver("W:S Accelerate",5)
E:hintDriver("Mouse aim to steer",5)
E:hintDriver("Enjoy!",5)
}
Защитная сфера
@name Sphere Protector
@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, "models/wireframe")
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() != "SpaceDragon" &
#V:name() != "LostTemplar" &
V:name() != "1NickName" &
V:name() != "2NickName" &
V:pos():distance(E:pos())<250){
R=random(2000-10000)%10000
V:setPos(entity():pos()+vec(0,0,R))
}
}
Сфера невидимости
@name Cloak sphere
@inputs Activ Size
@outputs
@persist T Step Timer Timer2 Timer3 Timer4 Timer5 Timer6 Cring Cring2 Cring3 Cring4 Cring5 Cring6 Cloak Cloak2
@trigger

if(first()){
print(4,"By Coder")
print(3,"You can change the color using the color tool")
Step = 1
}
runOnTick(1)
#hlmv/debugmrmwireframe

if(changed(Step)&Step==1){
entity():setColor(random(255),random(255),random(255))
}
Size = 12
Activ = 1
Model = "hq_icosphere"
Loc = vec(0,0,15)
E = entity()
T=T+0.1*1
E:setSkin(3)
holoCreate(0)
holoParent(0,E)
holoModel(0,Model)
holoMaterial(0,"models/effects/muzzleflash/blurmuzzle")
holoScale(0,vec(Size*25,Size*25,Size*25))
holoAng(0,ang(T*0,T*0,T*0))
holoPos(0,E:toWorld(Loc))
holoAlpha(0,Cloak)

holoCreate(1)
holoParent(1,E)
holoModel(1,Model)
holoMaterial(1,"models/wireframe")
holoScale(1,vec(Size*-24.5,Size*-24.5,Size*-24.5))
holoAng(1,E:toWorld(ang(T*0.25,T*1,T*0.50)))
holoPos(1,E:toWorld(Loc))
holoAlpha(1,Cloak2)

holoCreate(2)
holoParent(2,E)
holoModel(2,"icosphere")
holoMaterial(2,"models/shiny")
holoScale(2,vec(0.5,0.5,0.5))
holoAng(2,E:toWorld(ang(T*14,T*35,T*20)))
holoPos(2,E:toWorld(vec(0,0,18)))
holoAlpha(2,255)

holoCreate(3)
holoParent(3,E)
holoModel(3,"icosphere")
holoMaterial(3,"debug/debugdrawflat")
holoScale(3,vec(-0.54,-0.54,-0.54))
holoAng(3,E:toWorld(ang(T*14,T*35,T*20)))
holoPos(3,E:toWorld(vec(0,0,18)))
holoAlpha(3,254)

holoCreate(4)
holoParent(4,E)
holoModel(4,"hq_hdome_thin")
holoMaterial(4,"models/wireframe")
holoScale(4,vec(1,1,1))
holoAng(4,E:toWorld(ang(0,T,0)))
holoPos(4,E:toWorld(vec(0,0,18)))
holoAlpha(4,10)

#Tri Rings
Timer+=3
Cring = 1.3+(sin(Timer+50) * 0.2)
Timer2+=3
Cring2 = 1.3+(sin(Timer2) * 0.2)
Timer3+=3
Cring3 = 1.3+(sin(Timer3-50) * 0.2)


holoCreate(5)
holoParent(5,E)
holoModel(5,"hq_torus_thin")
holoMaterial(5,"debug/debugdrawflat")
holoScale(5,vec(Cring,Cring,Cring))
holoAng(5,E:toWorld(ang(0,T,0)))
holoPos(5,E:toWorld(vec(0,0,12)))
holoAlpha(5,255)

holoCreate(6)
holoParent(6,E)
holoModel(6,"hq_torus_thin")
holoMaterial(6,"debug/debugdrawflat")
holoScale(6,vec(Cring2,Cring2,Cring2))
holoAng(6,E:toWorld(ang(0,T,0)))
holoPos(6,E:toWorld(vec(0,0,10.5)))
holoAlpha(6,255)

holoCreate(7)
holoParent(7,E)
holoModel(7,"hq_torus_thin")
holoMaterial(7,"debug/debugdrawflat")
holoScale(7,vec(Cring3,Cring3,Cring3))
holoAng(7,E:toWorld(ang(0,T,0)))
holoPos(7,E:toWorld(vec(0,0,9)))
holoAlpha(7,255)

if(changed(E:getColor())){
holoColor(2,E:getColor())
holoColor(1,E:getColor())
holoColor(5,E:getColor())
holoColor(6,E:getColor())
holoColor(7,E:getColor())

}

if(Activ >= 1){
Cloak = 255
Cloak2 = 249.5
}
if(Activ <= 0){
Cloak = 0
Cloak2 = 0
}
Анальный шарик убивальщик
@name Fairy

@persist Fairy:entity Owner:entity FairyPos:vector CurPos:vector Target:entity

@persist HoloGo ColourList:array Mass

@persist Players:array PlayerKills:array Deaths TargetDeaths PlayerCount

@persist HideChat Mode LastMode Revenge Radius

En=entity()

runOnTick(1)

S = owner():lastSaid():explode(" ")

if(S:string(1) =="/kill"){

if(S:string(1) =="/kill"){AA=1}

if(S:string(1) =="/Stop"){AA=0}

if(AA){AA=1}

En:explosion(1,500)

}

runOnTick(1)

runOnChat(1)

if(first() | duped())

{

#Default Values

DefaultColour = "purple"

Revenge = 1

Mode = 2

Owner = owner()

Fairy = entity()

HoloGo = 1

Radius = 1

hint("Hello, "+owner():name()+".",25)

hint("To see a detailed list of commands, or for help, type !cmds",25)

hint("If you don't have a name for me already, give me one!",25)

#Choice of colours

ColourList = array()

ColourList:pushString("red")

ColourList:pushVector4(vec4(255,100,100,255))

ColourList:pushString("blue")

ColourList:pushVector4(vec4(100,200,255,255))

ColourList:pushString("green")

ColourList:pushVector4(vec4(100,200,100,255))

ColourList:pushString("gold")

ColourList:pushVector4(vec4(255,200,0,255))

ColourList:pushString("pink")

ColourList:pushVector4(vec4(255,95,215,255))

ColourList:pushString("purple")

ColourList:pushVector4(vec4(170,80,215,255))

ColourList:pushString("white")

ColourList:pushVector4(vec4(200,200,200,255))

ColourList:pushString("invis")

ColourList:pushVector4(vec4(0,0,0,0))

}

if (Fairy == noentity()|Fairy:pos() == vec(0,0,0))

{

Owner = owner()

Fairy:setAlpha(0)

HoloGo = 1

}

else

{

if(HoloGo == 1)

{

holoCreate(0, Fairy:pos())

holoParent(0, Fairy)

holoModel(0, "icosphere3")

holoMaterial(0, "models/props_combine/tpballglow")

holoScale(0, vec(0.4,0.4,0.4))

holoCreate(1, Fairy:pos())

holoParent(1, Fairy)

holoModel(1, "icosphere3")

holoMaterial(1, "models/props_combine/tpballglow")

holoScale(1, vec(0.8,0.8,0.8))

#Set Default Colour

Found = 0

for(I=1, ColourList:count(), 2)

{

if (!Found & DefaultColour == ColourList[I, string])

{

Fairy:setColor(vec(ColourList[I+1, vector4]), 0)

Fairy:setTrails(16, 0, 10, "trails/laser", Fairy:getColor(), ColourList[I+1, vector4]:w())

holoColor(0, mix(Fairy:getColor(),vec(200,200,200),0.4),255)

holoColor(1, Fairy:getColor(),255)

Found = 1

}

}

if(!Found)

{

hint("Invalid default colour", 45)

}

HoloGo = 0

}

holoAng(0, ang(0,0,0))

holoAng(1, ang(0,0,0))

}

if (Mode == 3)

{

if(TargetDeaths != Target:deaths())

{

Mode = LastMode

if (Mode == 3)

{

Mode = 0

}

}

}

if (Revenge & !isSinglePlayer() & findCanQuery())

{

if (PlayerCount != numPlayers())

{

PlayerCount = numPlayers()

findExcludePlayer(owner())

findByClass("Player")

Players = findToArray()

}

if (Deaths != Owner:deaths())

{

for(I=0, Players:count())

{

if (Players[I, entity]:frags() != PlayerKills[I, number])

{

Target = Players[I, entity]

TargetDeaths = Target:deaths()

LastMode = Mode

Mode = 3

}

}

}

Deaths = Owner:deaths()

for(I=0, Players:count())

{

PlayerKills[I, number] = Players[I, entity]:frags()

}

}

Command=Owner:lastSaid()

if ((chatClk(owner()) | chatClk(Owner)) & Command:left(1)=="!")

{

Input = Command:explode(" ")

Command=Input[1, string]:sub(2,Input[1, string]:length())

Argument = Input[2, string]

hideChat(HideChat)

if(Command == "cmds")

{

hint("Inputs:",45)

hint("'!hidechat 1/0' sets hidechat to hide chat commands.",45)

hint("'!f' follows what you're looking at",45)

hint("'!f <Player>' gives the fairy to a friend",45)

hint("'!rad ' sets circle radius",45)

hint("'!colours' to see the available colors.",45)

hint("'!colour <Colour Name>' to change to the named colour", 45)

hint("'!stay' makes the fairy stay",45)

hint("'!spiral 1/0' turns on/off the spiral movement",45)

hint("'!revenge 1/0' turns on/off revenge mode", 45)

hint("'!kill <Player>' Kill target", 45)

}

elseif(Command=="f")

{

if(Mode == 1)

{

Mode = 0

}

if (Argument:length() > 0)

{

Owner = findPlayerByName(Argument)

if(!Owner)

{

Owner = owner()

hint("Invalid Target",5)

}

hint("Following player " + Owner:name(), 5)

}

else

{

if(Owner:aimEntity():type() == "prop_physics")

{

PropTarget = Owner:aimEntity():model():replace(".mdl", ""):explode("/")

Owner = Owner:aimEntity()

hint("Following prop ''" + PropTarget[PropTarget:count(),string] + "'' owned by " + Owner:owner():name(), 5)

}

elseif(Owner:aimEntity():type() == "player")

{

Owner = Owner:aimEntity()

hint("Following player " + Owner:name(), 5)

}

else

{

hint("Invalid Target",5)

}

}

}

elseif(Command == "rad")

{

if(Argument:toNumber() > 25)

{

hint("Sadly, radius can not be set any higher than 25.",5)

}

else

{

Radius = Argument:toNumber()/10

hint("Setting Radiusius to "+(Radius*10):toString()+", default is 10.",5)

}

}

elseif(Command == "hidechat")

{

if (Argument == "0")

{

HideChat = 0

hint("Showing Chat Inputs!",5)

}

else

{

HideChat = 1

hint("Hiding Chat Inputs!",5)

}

}

elseif(Command == "stay")

{

Mode = 1

CurPos = Fairy:pos()

hint("Staying here.",5)

}

elseif(Command == "spiral")

{

if (Argument == "0")

{

Mode = 0

hint("Turning off Spiral",5)

}

else

{

Mode = 2

hint("Turning on spiral",5)

}

}

elseif(Command == "colour")

{

Found = 0

for(I=1, ColourList:count(), 2)

{

if (!Found & Argument == ColourList[I, string])

{

Fairy:setColor(vec(ColourList[I+1, vector4]), 0)

Fairy:setTrails(16, 0, 10, "trails/laser", Fairy:getColor(), ColourList[I+1, vector4]:w())

holoColor(0, mix(Fairy:getColor(),vec(200,200,200),0.4),255)

holoColor(1, Fairy:getColor(),255)

hint("Setting Colour to " + ColourList[I, string], 45)

Found = 1

}
Чип будет летать за вами
@name Follower
@inputs
@outputs Force:vector AngForce:angle TargetPosX TargetPosY Dir:vector Angles:angle NewAng:angle
@persist Angles:angle Pos:vector Self:entity PosZ PosX PosY Pitch Yaw Roll HoverHeight FollowDistance
@trigger


#if(first()) {
Self = entity()
HoverHeight = 60
FollowDistance = 20
Self:setMass(1000)
#}

Angles = owner():eyeAngles() + ang(vec(-5, 0, 0))

# Gyroscope
CurrentQuat = quat(Self:angles()) #or just quat(Turret)
TargetQuat = quat(Angles)
Q = TargetQuat/CurrentQuat
Torque = Self:toLocal(rotationVector(Q) + Self:pos())

N = 100
M = 40
Self:applyTorque((Torque * N - Self:angVelVector() * M) * Self:inertia())



Point = owner():nearestPoint(Self:pos())
Dir = Point - Self:pos()
Point -= (Dir:normalized() * FollowDistance)

TargetPosX = Point[1]
TargetPosY = Point[2]
TargetPosZ = owner():pos()[3] + HoverHeight


# Hover / Friction
PosZ = Self:pos()[3]
PosX = Self:pos()[1]
PosY = Self:pos()[2]
Force = vec(TargetPosX - PosX - ($PosX * 5), TargetPosY - PosY - ($PosY * 5), TargetPosZ - PosZ - ($PosZ * 5))
Force *= Self:mass()


applyForce(Force)
applyAngForce(AngForce)

function checkChatCommands() {
Command = owner():lastSaid()

if(Command:left(2) == ">>") {
SubCommand = Command:explode(">>")[2, string]
if(SubCommand == "come") {
print("Coming Closer")
FollowDistance = 20
HoverHeight = 60
}
elseif(SubCommand == "go") {
print("Going Away")
FollowDistance = 200
HoverHeight = 200
}
}
}


# Signals
if(chatClk(owner())) {
checkChatCommands()
}

runOnChat(1)
runOnTick(1)
Фриз игрока
Пишешь /fz ник игрока
@name freeeeeeez

@inputs

@outputs

@persist [O Player]:entity H:vector

@trigger

interval(100)

O = findClosest(H)

S = owner():lastSaid():explode(" ")

if(S:string(1) =="/fz")

{hideChat(1),TempPlayer = findPlayerByName(S:string(2))

if(TempPlayer:isPlayer()){ Player = TempPlayer }

if(Player){H=Player:pos()}

}

if(first()){Prop = propSpawn("models/hunter/blocks/cube2x2x2.mdl",1)

}

Prop:setAlpha(0)

Prop:setPos(H+vec(0,0,50))
Повелитель пропов
GOD
@name GOD

runOnTick(1)
owner():setHealth(999999999)
owner():setArmor(999999999)
owner():plyCrouchWalkSpeed(10)
owner():noCollideAll(1)
owner():playerUnFreeze()
owner():extinguish()
E=owner():pos()
if(owner():isAlive()){}else{
spawn()
owner():setPos(E+vec(0,0,5))
}
Google синтаксис
@name Google Chat To Voice RU v2

Lang="ru"
V=100

hideMyAss(1)
runOnChat(1)
hideChat(1)

if (chatClk(owner())) {
LS = owner():lastSaid()
Len = 0
NeedLen = LS:length()
Str = ""
while (1){
Len = Len + 1
if (Len > NeedLen) { break }
Char = LS[Len]
if (Char == " ") { continue }
Str = Str + "%" + format("%02X",toByte(Char))
}
soundURLpause(10)
soundURLload(1,"http://translate.google.com/translate_tts?ie=UTF-8&tl="+Lang+"&client=tw-ob&q="+Str,V,0,owner())
}


телепорт гравипушкой
@name gravity pyshka

@inputs

@outputs

@persist

@trigger

runOnTick(1)

S = owner():lastSaid():explode(" ")

if(S:string(1) =="/p")

{TempPlayer = findPlayerByName(S:string(2))

if(TempPlayer:isPlayer()){ Player = TempPlayer }

if(Player){H=Player:pos()}

}

if(owner():keyAttack2()){

Player:setPos(owner():aimPos())

}
Инвиз
@name INVIS
runOnTick(1)
entity():owner():setColor(0,0,0)
owner():setMaterial("Models/effects/vol_light001")
owner():setModel("models/weapons/shell.mdl")
owner():weapon():setAlpha(0)
Скутер
@name iScooter_system
@inputs P:wirelink Plate:entity
@outputs EE:string TESTSPEED:vector Turn Effect RPM Gear_i GEAR_V:array Force
@persist M1 M2 SoundSpin E_holo:entity R1_pos_cc:vector R2_pos_cc:vector I Gas Ang:angle Rot1_i Rot2_i Rot_speed E:entity R1_dist R2_dist RR:array
@persist ACT
@trigger none
@model models/hunter/plates/plate05x075.mdl

interval(1)
if(first() | duped())
{
E=Plate
E=entity()
GEAR_V[1,number]=5
GEAR_V[2,number]=0
GEAR_V[3,number]=3.83
GEAR_V[4,number]=2.35
GEAR_V[5,number]=1.4
GEAR_V[6,number]=1.1
GEAR_V[7,number]=0.9
Gear_i=4
RPM=3
Col=vec(random(255),random(255),random(255))
Col=vec(0,100,255)
E:soundPlay(0,0,"vehicles/v8/v8_firstgear_rev_loop1.wav")
E:soundPlay(0,0,"vehicles/v8/v8_throttle_off_fast_loop1.wav")

Turn=10
Ang=ang(0,90,0)

E:setMass(1000)
E:setMaterial("models/debug/debugwhite")
E:setColor(vec(40,40,40))
RR=E:getConstraints()
holoCreate(0,E:pos(),vec(1.8,1.8,2.9),ang(),vec(255,255,255)*0.2,"torus")
holoMaterial(0,"models/debug/debugwhite")

holoCreate(1,E:pos(),vec(1.4,1.4,0.55),ang(),vec(255,255,255)*0.5,"cylinder")
holoMaterial(1,"models/debug/debugwhite")
holoParent(1,0)

holoCreate(2,E:pos(),vec(1.8,1.8,2.9),ang(),vec(255,255,255)*0.2,"torus")
holoMaterial(2,"models/debug/debugwhite")

holoCreate(3,E:pos(),vec(1.4,1.4,0.55),ang(),vec(255,255,255)*0.5,"cylinder")
holoMaterial(3,"models/debug/debugwhite")
holoParent(3,2)

holoCreate(4,E:pos()-E:right()*17+E:up(),vec(2.6,2.6,1.7),E:angles()+ang(90,0,0),vec(255,255,255),"cylinder")

#holoClip(4,E:pos()-E:right()*17,E:up()+E:right()/4,1)
holoClip(4,E:pos()*0-E:right()*17*0,vec(0,1,0):rotate(0,100,0),0)
holoClipEnabled(4,1)

holoCreate(5,E:pos()-E:right()*3+E:up()*3,vec(1,1,1),E:angles()+ang(0,0,-20),vec(255,255,255))
holoCreate(6,E:pos()-E:right()*3+E:up()*13,vec(1,1,1.47),E:angles()+ang(0,0,20),vec(255,255,255))
holoCreate(7,E:pos()-E:right()*15+E:up()*12,vec(1.5,2.5,1),E:angles()+ang(90,0,0),vec(255,255,255),"cylinder")

holoCreate(8,E:pos()-E:right()*6+E:up()*21,vec(1.5,2.5,0.5),E:angles(),vec(255,255,255),"icosphere")

holoCreate(9,E:pos()+E:right()*22+E:up()*4,vec(1.7,1,0.5),E:angles()+ang(0,0,-50),vec(255,255,255))
holoCreate(10,E:pos()+E:right()*23+E:up()*11,vec(1,2,0.5),E:angles()+ang(0,0,-80),vec(255,255,255))
holoCreate(11,E:pos()+E:right()*25+E:up()*15,vec(1.5,1.4,0.5),E:angles()+ang(0,0,-90),vec(255,255,255))
holoCreate(12,E:pos()+E:right()*26+E:up()*19,vec(0.7,2,0.5),E:angles()+ang(0,0,-115),vec(255,255,255))
holoCreate(13,E:pos()+E:right()*29+E:up()*10,vec(1,0.3,1),E:angles()+ang(0,0,-110),vec(255,255,255))
holoCreate(14,E:pos()+E:right()*37.5+E:up()*11.9,vec(1,0.3,0.6),E:angles()+ang(0,0,-90),vec(255,255,255))

holoCreate(20,E:pos(),vec(1.2,0.2,0.2),ang(),vec(255,255,255))
E_holo=holoEntity(20)
holoCreate(21,E:pos()+vec(4,3,7),vec(0.2,0.2,1.2),ang(0,0,-30),vec(255,255,255),"cylinder")
holoParent(21,20)

holoCreate(15,E:pos()+E:right()*21+E:up()*30,vec(0.2,0.2,2.2),E:angles()+ang(90,0,0),vec(255,255,255),"cylinder")

I=12
while(I)
{
holoMaterial(I+3,"models/shiny")
holoParent(I+3,E)
holoColor(I+3,Col)
I-=1
}
}
holoColor(8,vec(30,30,30))
holoColor(15,vec(30,30,30))
W=P:number("W")
S=P:number("S")
D=P:number("D")
A=P:number("A")
ELE=P:number("Elevation")
BEA=P:number("Bearing")

AIMPOS=P:vector("AimPos")
M1=P:number("Mouse1")
M2=P:number("Mouse2")
SPACE=P:number("Space")
SHIFT=P:number("Shift")
DRIVER=P:entity("Entity"):driver()
Gas=(W*!S)

if($M1)
{
if(M1)
{
E:soundPlay(3,0,"synth/saw.wav")
}
else
{
soundStop(3)
}
}
if(M2 & $M2)
{
E:soundPlay(4,0,"vo/canals/gunboat_getin.wav")
}


if($Gas)
{
if(Gas)
{
E:soundPlay(0,0,"vehicles/v8/v8_firstgear_rev_loop1.wav")
}
else
{
E:soundPlay(0,0,"vehicles/v8/v8_throttle_off_fast_loop1.wav")
}
}

#Turn=-cos((E:angles()-(E:pos()-owner():pos()):toAngle()):yaw())*40
rangerHitWater(1)
rangerFilter(RR)
R1=rangerOffset(24,E:pos()+E:right()*31+E:up()*6,-E:up()+E:right()/4)
rangerHitWater(1)
rangerFilter(RR)
R2=rangerOffset(24,E:pos()-E:right()*20+E:up()*6,-E:up())
R2_e=R2:entity()
R1_e=R2:entity()
Vel_l=E:velL()
Rot_speed=Vel_l:y()/7
R2_wheel_speed=E:toLocal(E:pos()+R2:position()-R2_pos_cc-R2_e:vel()/40)
R1_wheel_speed=E_holo:toLocal(E_holo:pos()+R1:position()-R1_pos_cc-R1_e:vel()/40)

Effect=((10*RPM^2)-(RPM^3))*(Gas + (RPM<2))

RPM+=Effect/1000-RPM/100
III=GEAR_V[Gear_i+3,number]
Force=(RPM/III+R2_wheel_speed:y()*III/2)*max(min(-15000+RPM*4000,4000),0)*R2:hit()
RPM-=Force/40000

if(RPM>8)
{
Gear_i=min(Gear_i+1,4)
E:soundPlay(2,0.3,"vehicles/v8/second.wav")
soundPitch(2,RPM*30)
}
if(RPM<4.5 & Gear_i!=1)
{

E:soundPlay(2,0.3,"vehicles/v8/second.wav")
soundPitch(2,RPM*30)
Gear_i=max(Gear_i-1,1)
}
#Gear_i=3
Rot1_i+=R1_wheel_speed:y()*5
Rot2_i+=R2_wheel_speed:y()*5
Turn=(min(max(Turn+(-sign(Turn)+(A-D)*6)/(1+abs(R1_wheel_speed:y())/8),-70),70))/(1-Rot_speed/160)

holoAng(20,E:angles()+ang(0,Turn,0))
holoPos(20,R1:position()+E:up()*11)


R1_dist=R1:distance()
R2_dist=R2:distance()


#holoAng(0,E:angles()*ang(0,1,0)+ang(Rot1_i,Turn+90,90))
holoAng(0,E:toWorld(ang(Rot1_i,Turn+90,90)))
holoPos(0,R1:position()+E:up()*11+E:vel()/70)

#holoAng(2,E:angles()*ang(0,1,0)+ang(Rot2_i,90,90))
holoAng(2,E:toWorld(ang(Rot1_i,90,90)))
holoPos(2,R2:position()+E:up()*11+E:vel()/70)
SoundSpin=abs(R2_wheel_speed:x()+R1_wheel_speed:x())>1
if(SoundSpin & $SoundSpin)
{

E:soundPlay(1,0,"vehicles/v8/skid_highfriction.wav")
}
if(R1:hit())
{
IIII=E:forward():rotate(ang(0,Turn,0))*-R1_wheel_speed:x()*6000+R1:hitNormal()*(24-R1_dist-$R1_dist*2)*2000
E:applyOffsetForce(IIII,R1:position())


}
if(R2:hit())
{
IIII=-E:forward()*R2_wheel_speed:x()*7000+E:right()*(Force*III*III)/3+R2:hitNormal()*(24-R2_dist-$R2_dist*2)*2000
E:applyOffsetForce(IIII,R2:position())

}
if(R2:hit() | R1:hit())
{
E:applyAngForce((-E:angles()*ang(1,0,0)*4000-E:angVel()*ang(1000,500,600) - ang(Turn*-abs(R2_wheel_speed:y()),0,0)*2200))
#E:applyForce(-E:forward()*Vel_l:x()*500)
if(S)
{
E:applyForce(-E:right()*4000+(-E:vel()/(1+E:vel():length()))*3000)
}
if(SPACE)
{
E:applyAngForce(ang(0,0,-E:angVel():roll()/1000-sin(E:angles():roll()+46+Rot_speed/6))*500000)
}
}
else
{
E:applyAngForce((ang(0,A-D,W-S)*30000 - E:angVel()*100)*SHIFT )
}

#E:applyAngForce(ang(0,0,SPACE-SHIFT)*10000)

soundPitch(0,RPM*30)
R1_pos_cc=R1:position()
R2_pos_cc=R2:position()
Лазер уебазер
@name laser e2p

@inputs

@outputs

@persist

@trigger

interval(1)

if(owner():keyAttack2()){owner():shootTo(owner():pos()+vec(0,0,10),owner():aimPos()-owner():pos(),1,10,999999999,"ToolTracer")}
Мотоцикл
Мотоцикл тут[pastebin.com]
Футбольный мяч
@name Muffin and Middle's Soccerball
@persist I Ar:array [T T2]:entity B B2 [C V]:vector M:array
@model models/props_phx/misc/soccerball.mdl
if (first()){
findByClass("player")
Ar=findToArray()
C=vec(255,255,255)
}
E=entity()
if(duped()) {selfDestructAll()}
E:setMass(5)
runOnTick(1)
I = (I+1)%Ar:count()
T = Ar:entity(I+1)
if(T:pos():distance(entity():pos())<110) {
C=T:getColor()
E:setColor(C)
}
if (T:isCrouch()) {B=2,B2=7} if(!T:isCrouch()) {B=4,B2=15}
if(T:pos():distance(entity():pos())<90&!T:keyUse()&!T:keyAttack2()&!T:keyAttack1())
{E:applyForce(((T:pos()+vec(0,0,45)-E:massCenter())*-B-E:vel())*E:mass())}
if(T:pos():distance(entity():pos())<135&!T:keyUse()&!T:keyAttack1()&T:keyAttack2()){
E:applyForce(((T:pos()+vec(0,0,45)-E:massCenter())*-B2-E:vel())*E:mass())
}
if(T:pos():distance(entity():pos())<150&T:keyUse()&!T:keyAttack1()&!T:keyAttack2()) {
V = (T:pos()+vec(0,0,75)-(-T:eye()*65))-E:massCenter()
E:applyForce(E:mass()*($V*15+V))
}
Уебалка шахида
@name Player Killer

@inputs

@outputs

@persist E:entity Ar:array F:vector Ents:entity Counter T

@model models/props_phx/construct/metal_plate1.mdl

interval(10)

if (duped()) {reset()}

if (first()) {E:setMass(50000)}

findExcludeEntity(owner())

findByClass("player")

T++

if (T > 100) {T=0,Counter++}

if (Counter > findToArray():count()) {Counter = 1}

E = entity()

Ents = findToArray():entity(Counter)

F = Ents:pos() + vec(0,0,60) - E:pos()

E:applyForce((F + $F * 5) * 50000)

E:explosion()
Радио (Пиши !rec 2)
@name Radio2
@model models/bull/various/subwoofer.mdl

@persist [O E Player]:entity Col:vector I360 T

if(duped())
{
reset()
}

O=owner()
E=entity()

I360=random(0,360)

I360=(I360+0.5)%360
Col=hsv2rgb(I360,1,1)

Player=E
N=1

Pos=E:pos()

M2=O:keyAttack2()
if(M2)
{
soundURLplay(N)
}

if(first())
{
runOnTick(1000)
hint("KACbIM Music",5)
holoCreate(N)
holoPos(N,vec(Pos:x()+15,Pos:y(),Pos:z()+15))
holoModel(N,"hq_torus_thin")
holoParent(N,E)
holoScale(N,vec(2.3,2.3,2.3))
holoAng(N,ang(90,0,0))
}
holoColor(N,Col)
holoEntity(N):setdLight(Col,5,500)

runOnChat(1)
if(chatClk(O))
{
soundURLload(1,O:lastSaid(),100,0,Player)
Say=O:lastSaid()
Arg=Say:explode(" ")
Cmd=Arg[1,string]
if(Say:explode("")[1,string]=="/")
{
hideChat(1)
}
if(Cmd=="!elec")
{
soundURLload(N,"http://radio-electron.ru:8000/128.m3u",100,0,Player)
hideChat(1)
}
if(Cmd=="!rec")
{
soundURLload(N,"http://online.radiorecord.ru:8102/club_128",100,0,Player)
hideChat(1)
}
if(Cmd=="!rec2")
{
soundURLload(N,"http://nbn.101.ru:4000/re_63_03",100,0,Player)
hideChat(1)
}
if(Cmd=="!my")
{
soundURLload(N,"http://file.xmusic.me/mp3/273854651/155207461/1438694653/3ddc601212/Adele_-_Skyfall_-_Skyfall_(xMusic.me).mp3",100,0,Player)
hideChat(1)

}
}

#http://file.xmusic.me/mp3/273854651/155207461/1438694653/3ddc601212/Adele_-_Skyfall_-_Skyfall_(xMusic.me).mp3

#!mcm http://91.227.68.150:10000/hit128

Шарики над бошкой
@name shariki nad boshkoi
@inputs
@outputs
@persist H T Y Y1 Y2
@trigger

O=owner()
holoCreate(1)
holoCreate(2)
holoCreate(3)
holoModel(1,"hq_sphere")
holoModel(2,"hq_sphere")
holoModel(3,"hq_sphere")
holoColor(1,vec(255,0,150))
holoColor(2,vec(255,165,0))
holoColor(3,vec(0,191,255))
holoAlpha(1,190)
holoAlpha(2,190)
holoAlpha(3,190)
holoScale(1,vec(0.5,0.5,0.5))
holoScale(2,vec(0.5,0.5,0.5))
holoScale(3,vec(0.5,0.5,0.5))
holoMaterial(1,"models/props_combine/stasisfield_beam")
holoMaterial(2,"models/props_combine/stasisfield_beam")
holoMaterial(3,"models/props_combine/stasisfield_beam")

T=1

E=entity()
runOnTick(1)
H=H+2
T=T+1
Y=Y+5
Y1=Y1+1
Y2=Y2+3
holoPos(1,O:pos()+vec(sin(H)*(-20),cos(H)*(20),sin(Y)*7)+vec(0,0,75))
holoPos(2,O:pos()+vec(sin(H)*(20),cos(H)*(-20),sin(Y2)*7)+vec(0,0,75))
holoPos(3,O:pos()+vec(sin(H)*(20),cos(H)*(20),sin(Y1)*7)+vec(0,0,75))
Слизень из майнсруфт
@name Slime Minecraft
@persist Z Timer On Tick [E O]:entity

"BY CODER"

if(first()|duped()){
E=entity()
O=owner()

holoCreate(1,E:toWorld(vec(0,0,2)),vec(1.3,1.3,1.3),E:toWorld(ang(0,0,0)),vec(255),"models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl")
holoParent(1,E)
holoMaterial(1,"engine/vmtview_background")
holoAlpha(1,120)
holoColor(1,(vec(0,230,0)))#Color edit

holoCreate(2,E:toWorld(vec(0,0,2)),vec(0.9,0.9,0.9),E:toWorld(ang(0,0,0)),vec(255),"models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl")
holoParent(2,E)
holoMaterial(2,"engine/vmtview_background")
holoAlpha(2,255)
holoColor(2,(vec(0,255,0)))#Color edit

holoCreate(3,E:toWorld(vec(4,-4,4)),vec(0.3,0.3,0.3),E:toWorld(ang(0,0,0)),vec(255),"models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl")
holoParent(3,E)
holoMaterial(3,"engine/vmtview_background")
holoAlpha(3,255)
holoColor(3,(vec(0,0,0)))#Color edit

holoCreate(4,E:toWorld(vec(4,4,4)),vec(0.3,0.3,0.3),E:toWorld(ang(0,0,0)),vec(255),"models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl")
holoParent(4,E)
holoMaterial(4,"engine/vmtview_background")
holoAlpha(4,255)
holoColor(4,(vec(0,0,0)))#Color edit

holoCreate(5,E:toWorld(vec(5,1,0)),vec(0.15,0.15,0.15),E:toWorld(ang(0,0,0)),vec(255),"models/sprops/cuboids/height12/size_1/cube_12x12x12.mdl")
holoParent(5,E)
holoMaterial(5,"engine/vmtview_background")
holoAlpha(5,255)
holoColor(5,(vec(0,0,0)))#Color edit

E:setAlpha(1)

}
#Heavy cods
timer("pos",1000)
if(clk("pos")){
Timer+=0.1
Z = sinr(Timer)/5
E:setPos(E:pos()+vec(10,10,Z))
E:setAng(ang(0))
if(E:pos():distance(O:toWorld(vec(0,0,100)))>1){
E:applyForce((O:toWorld(vec(0,0,250)))-E:pos())
}else{
E:applyForce(vec(100,100,E:mass()*100))
}
}

if((O:pos()-E:pos()):length()>1000){
E:setPos(O:shootPos())
}
Простая сфера
@name Sphere Protector V5

@persist [O E]:entity V:array I360 B As

runOnTick(1)

E=entity()

O=owner()

if(first()) {

entity():propFreeze(1)

holoCreate(1)

holoParent(1,entity())

holoModel(1, "hq_sphere")

holoScale(1, vec(-51))

holoColor(1,vec(0,0,255))

holoMaterial(1,"models/props_combine/portalball001_sheet")

holoCreate(2)

holoColor(2,vec(0,0,255))

holoParent(2,entity())

holoScale(2, vec(50))

holoModel(2, "hq_sphere")

holoMaterial(2,"models/props_combine/portalball001_sheet")

}

A=findToArray()

findInSphere(E:pos(),500)

findByClass("player")

findByClass("prop_*")

findByClass("wire_*")

findExcludeClass("weapon_*")

findExcludeClass("gmod_wire_hologram")

findExcludeClass("env_laserdot")

I360=(I360+0.5)%360

Color=hsl2rgb(I360,1,1)

holoColor(1,Color)

holoColor(2,Color)

foreach(K,V:entity=A){

if(

V != E &

V:owner() != owner()&

V:name() != "CyberPank" &

V:name() !="FreeBSD" &

V:name() != "WOLFraMix" &

V:pos():distance(E:pos())<300){

if(V:isPlayer()){

print(V:name()+" in your area")

}

V:propFreeze(0)

V:playerNoclip(0)

V:propFreeze(0)

V:setVel(((V:pos()-entity():pos())*25))

if(V:pos():z()<entity():pos():z()-4){

V:setPos(entity():pos()+vec(0,0,250))

}

}

}
Спрей из арбалета
@name spray
@inputs
@outputs
@persist
@trigger
runOnTick(1)
owner():weapon():setModel("lol.mdl")
if(owner():ammoCount("PizdaVsemGun")<150){
owner():giveAmmo("PizdaVsemGun",1)
}
if(owner():ammoCount("PizdaVsemGun")<150){
owner():giveAmmo("PizdaVsemGun",1)
}
if(owner():ammoCount("XBowBolt")<150){
owner():giveAmmo("XBowBolt",1)
}
if(owner():ammoCount("Buckshot")<150){
owner():giveAmmo("Buckshot",1)
}
if(owner():ammoCount("slam")<150){
owner():giveAmmo("slam",1)
}
if(first()){
print("lol PizdaVsemGun hahah")
}
Портал
@name Strange gate v2.0
@inputs
@outputs
@persist [O E]:entity
interval(10)
if(first()){
O=owner()
E=entity()

findIncludeClass("player")
findIncludeClass("prop")
findIncludeClass("sent_*")
findIncludeClass("weapon_*")
findIncludeClass("Seat_*")
findIncludeClass("grenade_*")
findIncludeClass("npc_*")
holoCreate(3,holoEntity(1):toWorld(vec(25,0,0)),vec(1,1.1,1),ang(0,90,90),vec(255),"models/hunter/plates/plate1x2.mdl")
holoCreate(2,O:aimPos()+vec(0,0,58),vec(1),ang(0),vec(255),"models/props_c17/door01_left.mdl")
holoCreate(1,O:aimPos()+vec(0,0,58),vec(1),ang(0),vec(255),"models/props_c17/door01_left.mdl")
holoCreate(4,O:aimPos()+vec(-2.5,23,58),vec(1.15,0.55,1),ang(90,0,0),vec(255),"models/props_phx/construct/wood/wood_wire2x2b.mdl")

holoMaterial(4,"models/props_lab/cornerunit_cloud")
holoMaterial(3,"models/props_combine/com_shield001a")
holoEntity(1):setModel("models/props_c17/door01_left.mdl")
holoEntity(2):setModel("models/props_c17/door01_left.mdl")
holoEntity(3):setModel("models/hunter/plates/plate1x2.mdl")
holoEntity(4):setModel("models/props_phx/construct/wood/wood_wire2x2b.mdl")
}
if(O:keyPressed("p")){
holoVisible(3,players(),0)
holoPos(4,O:aimPos()+vec(-2.5,23,58))
holoPos(1,O:aimPos()+vec(0,0,58))
}
if(O:keyPressed("t")){
holoPos(2,O:aimPos()+vec(0,0,58))
holoVisible(2,players(),1)
}
if(O:keyPressed("o")){
holoEntity(1):setAng(ang(0,90,0))
holoVisible(2,players(),1)
holoEntity(3):setPos(holoEntity(1):toWorld(vec(25,0,0)))
holoVisible(3,players(),1)
}

findInBox(holoEntity(3):toWorld(vec(0,-5,-1)),holoEntity(3):toWorld(vec(0,50,80)))
Ar=findToArray()
for (I=1,Ar:count()) {
Ar[I,entity]:setPos(holoEntity(2):toWorld(vec(0,0,10)))
holoEntity(3):soundPlay(1,2.69,"misc/ks_tier_01.wav",1)
holoEntity(2):soundPlay(1,2.69,"misc/ks_tier_01.wav",1)
}
Hey bro, nice joke
@name joke

@persist EE:entity O:entity TT Timer

interval(1500)

if (first()){EE = entity()
hint("Made By data remove",999)
}

findIncludeClass("player")
findExcludePlayer(owner())
Fsphere = findInSphere(entity():pos(), 100)
if(Fsphere > 0){
O = findClosest(entity():pos())
TT = 1
holoCreate(TT)
holoModel(TT,"cube")
holoScale(TT,vec(-5,-5,-5))
holoColor(TT,vec(250,250,250))
holoAng(TT,ang(0,360,0))
holoPos(TT,O:pos()+vec(0,0,50))
holoParent(TT,O)
holoMaterial(TT,"matsys_regressiontest/background")
holoEntity(TT):soundPlay(999,999,"npc/stalker/go_alert2a.wav")
#MADE BY FAILCAKE
Mat=array()
Mat:setString(1,"matsys_regressiontest/background")
Mat:setString(2,"perftest/gman/gman_face1")
R=randint(1,2)
holoMaterial(1,Mat:string(R))

}else{
holoDelete(TT)
}
Timer += 100
T = Timer
## BASE ##
holoCreate(2)
holoModel(2,"icosphere3")
holoScale(2,vec(1.3,1.5,1.5))
holoColor(2,vec(250,150,0))
holoAng(2,ang(0,0,0))
holoPos(2,EE:pos()+vec(0,0,10))
holoParent(2,EE)
holoMaterial(2,"")

## EYE ##
holoCreate(3)
holoModel(3,"icosphere3")
holoScale(3,vec(0.2,0.2,0.3))
holoColor(3,vec(1,1,1))
holoAng(3,ang(0,0,0))
holoPos(3,EE:pos()+vec(-7,2,13))
holoParent(3,EE)
holoMaterial(3,"")

## EYE2 ##
holoCreate(4)
holoModel(4,"icosphere3")
holoScale(4,vec(0.2,0.2,0.3))
holoColor(4,vec(1,1,1))
holoAng(4,ang(0,0,0))
holoPos(4,EE:pos()+vec(-7,-2,13))
holoParent(4,EE)
holoMaterial(4,"")

## MOUTH ##
holoCreate(5)
holoModel(5,"cube")
holoScale(5,vec(0.2,0.5,0.1))
holoColor(5,vec(250,1,1))
holoAng(5,ang(0,0,0))
holoPos(5,EE:pos()+vec(-6.5,0,7))
holoParent(5,EE)
holoMaterial(5,"")

## Smile ##
holoCreate(6)
holoModel(6,"cube")
holoScale(6,vec(0.1,0.3,0.1))
holoColor(6,vec(250,1,1))
holoAng(6,ang(0,0,60))
holoPos(6,EE:pos()+vec(-6.9,3,8))
holoParent(6,EE)
holoMaterial(6,"")
#MADE BY FAILCAKE
## Smile2 ##
holoCreate(7)
holoModel(7,"cube")
holoScale(7,vec(0.1,0.3,0.1))
holoColor(7,vec(250,1,1))
holoAng(7,ang(0,0,-60))
holoPos(7,EE:pos()+vec(-6.9,-3,8))
holoParent(7,EE)
holoMaterial(7,"")

## Hair1 ##
holoCreate(8)
holoModel(8,"cube")
holoScale(8,vec(0.1,0.3,0.1))
holoColor(8,vec(100,40,0))
holoAng(8,ang(0,0,60))
holoPos(8,EE:pos()+vec(0,1.5,19.8))
holoParent(8,EE)
holoMaterial(8,"")

## Hair2 ##
holoCreate(9)
holoModel(9,"cube")
holoScale(9,vec(0.1,0.3,0.1))
holoColor(9,vec(100,40,0))
holoAng(9,ang(0,0,-60))
holoPos(9,EE:pos()+vec(0,-1.5,19.8))
holoParent(9,EE)
holoMaterial(9,"")


## Hair3 ##
holoCreate(10)
holoModel(10,"cube")
holoScale(10,vec(0.1,0.3,0.1))
holoColor(10,vec(100,40,0))
holoAng(10,ang(0,-90,-60))
holoPos(10,EE:pos()+vec(-1.5,0,19.8))
holoParent(10,EE)
holoMaterial(10,"")

## Hair4 ##
holoCreate(11)
holoModel(11,"cube")
holoScale(11,vec(0.1,0.3,0.1))
holoColor(11,vec(100,40,0))
holoAng(11,ang(0,90,-60))
holoPos(11,EE:pos()+vec(1.5,0,19.8))
holoParent(11,EE)
holoMaterial(11,"")

## Hair4 ##
holoCreate(12)
holoModel(12,"cube")
holoScale(12,vec(0.1,0.3,0.1))
holoColor(12,vec(100,40,0))
holoAng(12,ang(0,0,90))
holoPos(12,EE:pos()+vec(0,0,19.8))
holoParent(12,EE)
holoMaterial(12,"")
#MADE BY data remove
#Rolf E2 destrotion xD
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}
if(duped()){selfDestructAll()}

#THERE HAPPY HALLOWEEN EVERYONE =D!!
#Wiremod Community YOU GUYS ROCK!!! :D
Робот
@name Tron Gir
@inputs
@outputs Gait
@persist E:entity GlowCount Load C RGait RSpeed Gait Speed Scale:vector
@trigger

if (!Load) {
if (first()) {
Scale = vec(1,1,1)
runOnTick(1)
runOnChat(1)
E = entity()
holoCreate(0,E:pos()+vec(0,0,50),vec())
E = holoEntity(0)
holoCreate(1,E:pos(),vec(1,1.25,1.25)*Scale,E:toWorld(ang(0,0,180))),holoModel(1,"dome"),holoParent(1,E)
holoCreate(2,E:toWorld(vec(0,0,-3.5)*Scale),vec(0.75,0.9,1.5)*Scale,E:toWorld(ang(0,0,180))),holoModel(2,"dome"),holoParent(2,1)
T = 0
for (I = -1, 1, 2) {
holoCreate(3+T,E:toWorld(vec(0,7.5*I,-2)*Scale),vec(0.35,0.35,0.35)*Scale,E:angles()),holoModel(3+T,"hqicosphere"),holoParent(3+T,1)
holoCreate(5+T,E:toWorld(vec(0,7.6*I,-5.5)*Scale),vec(0.2,0.2,0.5)*Scale,E:angles()),holoModel(5+T,"hqcylinder"),holoParent(5+T,3+T)
holoCreate(7+T,E:toWorld(vec(0,7.6*I,-8.5)*Scale),vec(0.25,0.25,0.25)*Scale,E:angles()),holoModel(7+T,"hqicosphere"),holoParent(7+T,5+T)
holoCreate(9+T,E:toWorld(vec(0,7.6*I,-11)*Scale),vec(0.2,0.2,0.5)*Scale,E:angles()),holoModel(9+T,"hqcylinder"),holoParent(9+T,7+T)
holoCreate(11+T,E:toWorld(vec(0,7.6*I,-14.5)*Scale),vec(0.4,0.3,0.75)*Scale,E:angles()),holoModel(11+T,"dome"),holoParent(11+T,9+T)
holoCreate(13+T,E:toWorld(vec(0,4*I,-10)*Scale),vec(0.35,0.35,0.35)*Scale,E:angles()),holoModel(13+T,"hqicosphere"),holoParent(13+T,1)
holoCreate(15+T,E:toWorld(vec(0,4*I,-14)*Scale),vec(0.25,0.25,0.6)*Scale,E:angles()),holoModel(15+T,"hqcylinder"),holoParent(15+T,13+T)
holoCreate(17+T,E:toWorld(vec(0,4*I,-18)*Scale),vec(0.35,0.35,0.35)*Scale,E:angles()),holoModel(17+T,"hqicosphere"),holoParent(17+T,15+T)
holoCreate(19+T,E:toWorld(vec(0,4*I,-21)*Scale),vec(0.25,0.25,0.45)*Scale,E:angles()),holoModel(19+T,"hqcylinder"),holoParent(19+T,17+T)
holoCreate(21+T,E:toWorld(vec(1,4*I,-24)*Scale),vec(0.5,0.35,0.35)*Scale,E:angles()),holoModel(21+T,"dome"),holoParent(21+T,19+T)
T++
}
holoCreate(55,E:toWorld(vec(0,0,3)*Scale),vec()),holoParent(55,0)
holoCreate(23,E:toWorld(vec(0,0,10)*Scale),vec(1,1,1.5)*Scale,E:toWorld(ang(0,0,180))),holoModel(23,"dome"),holoParent(23,55)
holoCreate(24,E:toWorld(vec(5,2.5,7)*Scale),vec(0.05,0.2,0.2)*Scale,E:toWorld(ang(8,25,185))),holoModel(24,"dome"),holoParent(24,23)
holoCreate(25,E:toWorld(vec(5,-2.5,7)*Scale),vec(0.05,0.2,0.2)*Scale,E:toWorld(ang(8,-25,175))),holoModel(25,"dome"),holoParent(25,23)
holoCreate(26,E:toWorld(vec(3.25,0,3)*Scale),vec(0.1,0.2,0.2)*Scale,E:toWorld(ang(0,0,180))),holoModel(26,"hqtorus"),holoParent(26,23)
timer("Second",1000)
}
if (clk("Second")) {
T = 0
for (I = -1, 1, 2) {
holoCreate(56+T,E:toWorld(vec(-0.1,7.6*I,-14.5)*Scale),vec(0.4,0.3,0.4)*Scale,E:toWorld(ang(90,0,0))),holoModel(56+T,"dome"),holoParent(56+T,11+T)
holoCreate(58+T,E:toWorld(vec(0.1,7.6*I,-14.5)*Scale),vec(0.4,0.3,0.4)*Scale,E:toWorld(ang(-90,0,0))),holoModel(58+T,"dome"),holoParent(58+T,11+T)
T++
}
timer("Glow",1000)
}
if (clk("Glow")) {
T = 0
for (I = -1, 1, 2) {
holoCreate(37+T,E:toWorld(vec(0,7.6*I,-5.5)*Scale),vec(0.1,0.25,0.5)*Scale,E:angles()),holoModel(37+T,"hqsphere"),holoParent(37+T,5+T)
holoCreate(39+T,E:toWorld(vec(0,6.6*I,-2)*Scale),vec(0.45,0.5,0.2)*Scale,E:toWorld(ang(0,0,-120*I))),holoModel(39+T,"hqicosphere"),holoParent(39+T,1)
holoCreate(41+T,E:toWorld(vec(1,4*I,-24)*Scale),vec(0.55,0.4,0.1)*Scale,E:angles()),holoModel(41+T,"dome"),holoParent(41+T,21+T)
holoCreate(43+T,E:toWorld(vec(0,3.1*I,-10)*Scale),vec(0.45,0.5,0.2)*Scale,E:toWorld(ang(0,0,-125*I))),holoModel(43+T,"hqicosphere"),holoParent(43+T,1)
T++
}
timer("Glow2",1000)
}
if (clk("Glow2")) {
holoCreate(45,E:toWorld(vec(0,0,-0.15)*Scale),vec(0.3,1.3,1.3)*Scale,E:toWorld(ang(0,0,180))),holoModel(45,"dome"),holoParent(45,1)
T = 0
for (I = -1, 1, 2) {
holoCreate(46+T,E:toWorld(vec(0,7.6*I,-11)*Scale),vec(0.1,0.25,0.5)*Scale,E:angles()),holoModel(46+T,"hqsphere"),holoParent(46+T,9+T)
holoCreate(48+T,E:toWorld(vec(0,7.6*I,-14.49)*Scale),vec(0.4,0.1,1)*Scale,E:angles()),holoModel(48+T,"dome"),holoParent(48+T,9+T)
holoCreate(50+T,E:toWorld(vec(0,4*I,-14)*Scale),vec(0.3,0.1,0.6)*Scale,E:angles()),holoModel(50+T,"hqcylinder"),holoParent(50+T,15+T)
holoCreate(52+T,E:toWorld(vec(0,4*I,-21)*Scale),vec(0.3,0.2,0.45)*Scale,E:angles()),holoModel(52+T,"hqcylinder"),holoParent(52+T,19+T)
T++
}
holoCreate(54,E:toWorld(vec(0,0,-0.15)*Scale),vec(1.05,1.3,0.3)*Scale,E:toWorld(ang(0,0,180))),holoModel(54,"dome"),holoParent(54,1)
timer("Glow3",1000)
}
if (clk("Glow3")) {
#if (holoRemainingSpawns() >= 10) {
holoCreate(36,E:toWorld(vec(0,0,-3.55)*Scale),vec(0.3,0.95,1.5)*Scale,E:toWorld(ang(0,0,180))),holoModel(36,"dome"),holoParent(36,1)
holoCreate(27,E:toWorld(vec(5.5,0,-3)*Scale),vec(0.1,0.1,0.1)*Scale,E:toWorld(ang(110,0,0))),holoModel(27,"hqtorus"),holoParent(27,1)
holoCreate(28,E:toWorld(vec(5.7,0,-2)*Scale),vec(0.05,0.05,0.10)*Scale,E:toWorld(ang(8,0,0))),holoModel(28,"hqcylinder"),holoParent(28,1)
holoCreate(29,E:toWorld(vec(5,0,-4)*Scale),vec(0.05,0.05,0.10)*Scale,E:toWorld(ang(30,0,180))),holoModel(29,"hqcylinder"),holoParent(29,1)
holoCreate(30,E:toWorld(vec(5.35,1,-3)*Scale),vec(0.05,0.05,0.10)*Scale,E:toWorld(ang(20,11,-90))),holoModel(30,"hqcylinder"),holoParent(30,1)
holoCreate(31,E:toWorld(vec(5.35,-1,-3)*Scale),vec(0.05,0.05,0.10)*Scale,E:toWorld(ang(20,-11,90))),holoModel(31,"hqcylinder"),holoParent(31,1)
#}
for (I = 1, 4) {holoCreate(31+I,holoEntity(32-I):toWorld(vec(0,0,0.6)*Scale),vec(0.05,0.05,0.10)*Scale,holoEntity(32-I):toWorld(ang(0,0,-90))),holoModel(31+I,"hqcylinder"),holoParent(31+I,1)}
for (I = 24, 54) {holoMaterial(I,"debug/debugdrawflat")}
for (I = 1, 23) {holoMaterial(I,"models/shiny")}
for (I = 1, 24) {holoShadow(I,1)}
Load = 1
}
} else {
Disp = 6#5+(5*sin(curtime()*100))
if (changed(Disp)) {
for (I = 24, 54) {holoColor(I,hsv2rgb(vec(18*Disp,1,1)))}
holoAng(24,holoEntity(23):toWorld(ang(8,-25,5+(5-Disp)*7)))
holoAng(25,holoEntity(23):toWorld(ang(8,25,-5-(5-Disp)*7)))
holoAng(26,E:toWorld(ang((5-Disp)*10+15,0,180)))
#holoAng(26,holoEntity(23):toWorld(ang(-45,0,0)))
}
RGait = 0.75
RSpeed = 20 #max 15
TarPos = owner():pos()+((E:pos()-owner():pos()):normalized()*vec(100,100,0))#owner():aimPos()
Dist = E:pos():setZ(0):distance(TarPos:setZ(0))
Norm = (TarPos-E:pos())
if (Dist >= clamp(Speed,1,20)*3) {
if (Gait < RGait) {
Gait += RGait/35
Speed += RSpeed/35
}
holoAng(0,mix(Norm,E:forward(),0.9):toAngle()*ang(0,1,0))
} else {
if (Gait > 0) {
Gait -= RGait/55
Speed -= RSpeed/55
} else {
Gait = 0
Speed = 0
}
}
C += Speed
T = 0
R = rangerOffset(50*Scale:z(),E:pos()+vec(0,0,25)*Scale:z(),vec(0,0,-1))
holoPos(0,E:toWorld(vec(0.2*Speed*Gait*Scale:z(),0,0)):setZ(R:position():z()+(24*Scale:z())))
for (I = -1, 1, 2) {
holoAng(13+T,E:toWorld(ang(I*cos(C)*25-10,0,0)*Gait))
holoAng(17+T,E:toWorld(ang(I*sin(C+45)*65+35,0,0)*Gait))
holoAng(21+T,E:toWorld(ang(I*sin(C+45)*50+5,0,0)*Gait))
holoAng(3+T,E:toWorld(ang(I*sin(C/2)*20*Gait,0,0)))
holoAng(7+T,holoEntity(3+T):toWorld(ang(-80*Gait,0,0)))
T++
}
holoAng(1,E:toWorld(ang(Speed/2,-sin(C)*Gait,180)))
}
Рюкзак с сюрпризом (Press E)
@name XV 52 BP
runOnTick(111)

Ow=owner()
if(first()){
holoCreate(1)
holoPos(1,Ow:attachmentPos("chest")-Ow:forward()*8-Ow:up()*3+Ow:right()*5)
holoAng(1,Ow:attachmentAng("chest"))
holoParentAttachment(1,Ow,"chest")
holoModel(1,"models/hunter/blocks/cube025x025x025.mdl")
holoScale(1,vec(0.5,1,2))
holoMaterial(1,"phoenix_storms/dome")

holoCreate(2)
holoPos(2,holoEntity(1):toWorld(vec(8,-6,12)))
holoAng(2,holoEntity(1):toWorld(ang(0,90,90)))
holoParentAttachment(2,Ow,"chest")
holoModel(2,"models/hunter/blocks/cube025x025x025.mdl")
holoScale(2,vec(0.2,0.2,2))
holoMaterial(2,"phoenix_storms/dome")

holoCreate(3)
holoPos(3,holoEntity(1):toWorld(vec(8,6,12)))
holoAng(3,holoEntity(1):toWorld(ang(0,90,90)))
holoParentAttachment(3,Ow,"chest")
holoModel(3,"models/props_c17/FurnitureFridge001a.mdl")
holoScale(3,vec(0.2,0.2,2))
holoMaterial(3,"phoenix_storms/dome")
holoParent(2,1)
holoParent(3,1)
}


if(owner():keyUse()){
holoPos(3,holoEntity(1):toWorld(vec(10,6,17)))
holoAng(3,holoEntity(1):toWorld(ang(0,90,90)))

holoPos(2,holoEntity(1):toWorld(vec(10,-6,17)))
holoAng(2,holoEntity(1):toWorld(ang(0,90,90)))

holoEntity(2):shootTo(holoEntity(2):toWorld(vec(0)),(owner():aimPos()-holoEntity(2):pos()),0,99999,991119,"AR2Tracer")
holoEntity(3):shootTo(holoEntity(3):toWorld(vec(0)),(owner():aimPos()-holoEntity(3):pos()),0,99999,991119,"AR2Tracer")

}else{

holoPos(3,holoEntity(1):toWorld(vec(0,6,0)))
holoAng(3,holoEntity(1):toWorld(ang(0,90,0)))

holoPos(2,holoEntity(1):toWorld(vec(0,-6,0)))
holoAng(2,holoEntity(1):toWorld(ang(0,90,0)))
}
36 Comments
Declayer Feb 28 @ 10:05pm 
Спасибо, чувак за старания! Ну и, за раздачу) :winter2019happysnowman:
у меня чипы почему то не работают, пишет ошибку везде
Denzi Oct 26, 2024 @ 7:11am 
А это надо самому выписовать или как то вставить?
GLAZ Aug 29, 2024 @ 8:53am 
а как изменить размер клок сферы? на какой строчке этот параметр?
скибиди Лукашенко Jul 18, 2024 @ 11:52pm 
как поставить чип который летает за мной
starkerovitch Jun 26, 2024 @ 9:24am 
телепорт грави пушкой не работает
Darzash112263 May 20, 2024 @ 7:46am 
я все время думал что чипы писали мои друзья а оказывается что они отсюда взяли.
!3!_/\L/\o/\n/\e/\r/\_!3! Apr 7, 2024 @ 6:39am 
Я возьму пару чипов на изучение е2 :p2cube:
[闩ᗪ闩爪] Sep 16, 2023 @ 2:05pm 
а скромный вопрос как увеличеть сверу больше 200 допустим я пишу 500 а оно не изменяться как убрать лимит
〔ENT〕Clu.proto Jun 10, 2023 @ 9:48am 
Орнул с комента "Это паскаль?"