Advertisement
the_unknownz

kek

Nov 12th, 2016
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. @name Slap's CMDScript
  2. @persist TCtxBkHG3MOr:table IuZ6_Xlq0Eo2:normal QBaqnGA4zVNN:normal R5U3pov18jjk:table ClEmon22_Otl:table Ne65BKO79StB:normal JkgDdeOK0qwO:table K6fr2jNdQkc2:table NZC1_xX30VAT:table
  3.  
  4. if(first()){
  5. NZC1_xX30VAT = table()
  6. JkgDdeOK0qwO = table()
  7. K6fr2jNdQkc2 = table()
  8. runOnChat(1)
  9. runOnTick(1)
  10. print("CMDS Loaded.")
  11. IuZ6_Xlq0Eo2 = 0
  12. }
  13. if(chatClk(owner())){
  14. Lst = owner():lastSaid()
  15. if((Lst:sub(1, 5) == "/goto")){
  16. hideChat(1)
  17. local Ply = findPlayerByName(Lst:sub(0x7))
  18. print("Going to " + Ply:name())
  19. }
  20. if((Lst:sub(1, 7) == "/freeze")){
  21. hideChat(1)
  22. local Ply = findPlayerByName(Lst:sub(9))
  23. print("Froze " + Ply:name())
  24. local Prop = propSpawn("models/hunter/blocks/cube025x025x025.mdl", (Ply:pos() + vec(0, 0, 40)), ang(), 1)
  25. Prop:setAlpha(0)
  26. JkgDdeOK0qwO[Ply:name(), table] = table(Prop)
  27. }
  28. if((Lst:sub(1, 5) == "/thaw")){
  29. hideChat(1)
  30. local Ply = findPlayerByName(Lst:sub(7))
  31. if(JkgDdeOK0qwO[Ply:name(), table]){
  32. JkgDdeOK0qwO[Ply:name(), table]:propDelete()
  33. JkgDdeOK0qwO:remove(Ply:name())
  34. print("Thaw'd " + Ply:name())
  35. }
  36. }
  37. if((Lst:sub(1, 5) == "/jail")){
  38. hideChat(1)
  39. local Ply = findPlayerByName(Lst:sub(9))
  40. local Prop = propSpawn("models/hunter/tubes/tube2x2x2.mdl", (Ply:pos() + vec(0, 0, 48)), ang(), 1)
  41. local Prop2 = propSpawn("models/hunter/tubes/circle2x2.mdl", (Ply:pos() + vec(0, 0, 97)), ang(), 1)
  42. Prop:setMaterial("models/wireframe")
  43. Prop2:setMaterial("models/wireframe")
  44. NZC1_xX30VAT[Ply:name(), table] = table(Prop, Prop2)
  45. print("Jailed " + Ply:name())
  46. }
  47. if((Lst:sub(1, 7) == "/unjail")){
  48. hideChat(1)
  49. Ply = findPlayerByName(Lst:sub(9))
  50. if(NZC1_xX30VAT[Ply:name(), table]){
  51. NZC1_xX30VAT[Ply:name(), table]:propDelete()
  52. NZC1_xX30VAT:remove(Ply:name())
  53. print("Unjailed " + Ply:name())
  54. }
  55. }
  56. if((Lst:sub(1, 7) == "/rejail")){
  57. hideChat(1)
  58. Ply = findPlayerByName(Lst:sub(9))
  59. if(NZC1_xX30VAT[Ply:name(), table]){
  60. NZC1_xX30VAT[Ply:name(), table]:propDelete()
  61. NZC1_xX30VAT:remove(Ply:name())
  62. print("Unjailed " + Ply:name())
  63. }
  64. local Prop = propSpawn("models/hunter/tubes/tube2x2x2.mdl", (Ply:pos() + vec(0, 0, 48)), ang(), 1)
  65. local Prop2 = propSpawn("models/hunter/tubes/circle2x2.mdl", (Ply:pos() + vec(0, 0, 97)), ang(), 1)
  66. Prop:setMaterial("models/wireframe")
  67. Prop2:setMaterial("models/wireframe")
  68. NZC1_xX30VAT[Ply:name(), table] = table(Prop, Prop2)
  69. print("Jailed " + Ply:name())
  70. }
  71. if((Lst:sub(1, 6) == "/invis")){
  72. hideChat(1)
  73. print("Made you invisible.")
  74. owner():setMaterial("models/effects/vol_light001")
  75. owner():weapon():setAlpha(0)
  76. }
  77. if((Lst:sub(1, 4) == "/vis")){
  78. hideChat(1)
  79. print("Made you visible")
  80. owner():setMaterial("")
  81. owner():weapon():setAlpha(255)
  82. }
  83. if((Lst:sub(1, 5) == "/kill")){
  84. hideChat(1)
  85. local Ply = findPlayerByName(Lst:sub(7))
  86. print("Killed " + Ply:name())
  87. local Prop = propSpawn("models/hunter/plates/plate.mdl", (Ply:pos() + vec(0x0, 0x0, 100)), ang(), 0x0)
  88. Prop:setMass(50000)
  89. Prop:applyForce(((((Ply:pos() - Prop:pos()) + vec(0, 0, 10)) * 100) * Prop:mass()))
  90. Ne65BKO79StB = 1
  91. ClEmon22_Otl = table(Prop)
  92. QBaqnGA4zVNN = curtime()
  93. }
  94. if((Lst:sub(1, 5) == "/expl")){
  95. hideChat(1)
  96. local Ply = findPlayerByName(Lst:sub(7))
  97. print("Exploded " + Ply:name())
  98. local Prop = propSpawn("models/props_phx/cannonball_solid.mdl", (Ply:pos() + vec(0, 0, 50)), ang(), 0)
  99. Prop:propBreak()
  100. }
  101. if((Lst:sub(1, 2) == "/g")){
  102. hideChat(1)
  103. Stat = Lst:sub(4)
  104. if((Stat == "on")){
  105. local Prop = propSpawn("models/hunter/blocks/cube2x2x05.mdl", (owner():pos() + vec(0, 0, 30)), ang(), 1)
  106. Prop:propFreeze(1)
  107. K6fr2jNdQkc2 = table(Prop)
  108. }else{
  109. if((Stat == "off")){
  110. K6fr2jNdQkc2:propDelete()
  111. K6fr2jNdQkc2 = table()
  112. }}
  113. }
  114. if((Lst:sub(1, 2) == "/b")){
  115. hideChat(1)
  116. IuZ6_Xlq0Eo2++
  117. local Plr = findPlayerByName(Lst:sub(4))
  118. print("Blinded " + Plr:name())
  119. holoCreate(IuZ6_Xlq0Eo2)
  120. holoColor(IuZ6_Xlq0Eo2, vec(0, 0, 0))
  121. holoScaleUnits(IuZ6_Xlq0Eo2, vec(-100, -100, -100))
  122. holoModel(IuZ6_Xlq0Eo2, "hq_icosphere")
  123. holoVisible(IuZ6_Xlq0Eo2, players(), 0)
  124. holoVisible(IuZ6_Xlq0Eo2, Plr, 1)
  125. holoPos(IuZ6_Xlq0Eo2, Plr:attachmentPos("eyes"))
  126. holoAng(IuZ6_Xlq0Eo2, Plr:attachmentAng("eyes"))
  127. holoParentAttachment(IuZ6_Xlq0Eo2, Plr, "eyes")
  128. R5U3pov18jjk[Plr:name(), string] = IuZ6_Xlq0Eo2:toString()
  129. TCtxBkHG3MOr[IuZ6_Xlq0Eo2:toString(), entity] = Plr
  130. }
  131. if((Lst:sub(1, 4) == "/unb")){
  132. hideChat(1)
  133. local Plr = findPlayerByName(Lst:sub(6))
  134. print("Unblinded " + Plr:name())
  135. holoDelete(R5U3pov18jjk[Plr:name(), string]:toNumber())
  136. TCtxBkHG3MOr:remove(R5U3pov18jjk[Plr:name(), string])
  137. R5U3pov18jjk:remove(Plr:name())
  138. }
  139. }
  140. if(((Ne65BKO79StB & ClEmon22_Otl) & ((curtime() - QBaqnGA4zVNN) >= 1))){
  141. ClEmon22_Otl:propDelete()
  142. Ne65BKO79StB = 0
  143. }
  144. foreach(K, V:string = R5U3pov18jjk){
  145. local Plr = TCtxBkHG3MOr[V, entity]
  146. if(Plr:isCrouch()){
  147. holoPos(V:toNumber(), (Plr:pos() + vec(0, 0, 38)))
  148. }else{
  149. holoPos(V:toNumber(), (Plr:pos() + vec(0, 0, 64)))
  150. }
  151. }
  152. K6fr2jNdQkc2[1, entity]:setPos(((owner():pos() + (owner():eyeAngles():forward() * 80)) + vec(0, 0, 50)))
  153. K6fr2jNdQkc2[1, entity]:setAng((owner():aimPos() - owner():pos()):toAngle())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement