Advertisement
-----------------

little bird

Sep 14th, 2020 (edited)
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 128.08 KB | None | 0 0
  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. Part1 = Instance.new("Part")
  21. ClickDetector2 = Instance.new("ClickDetector")
  22. Script3 = Instance.new("Script")
  23. SurfaceGui4 = Instance.new("SurfaceGui")
  24. TextLabel5 = Instance.new("TextLabel")
  25. Model6 = Instance.new("Model")
  26. Model7 = Instance.new("Model")
  27. Model8 = Instance.new("Model")
  28. Model9 = Instance.new("Model")
  29. Model10 = Instance.new("Model")
  30. Folder11 = Instance.new("Folder")
  31. RemoteEvent12 = Instance.new("RemoteEvent")
  32. RemoteEvent13 = Instance.new("RemoteEvent")
  33. RemoteEvent14 = Instance.new("RemoteEvent")
  34. RemoteEvent15 = Instance.new("RemoteEvent")
  35. RemoteFunction16 = Instance.new("RemoteFunction")
  36. RemoteEvent17 = Instance.new("RemoteEvent")
  37. RemoteEvent18 = Instance.new("RemoteEvent")
  38. Folder19 = Instance.new("Folder")
  39. ObjectValue20 = Instance.new("ObjectValue")
  40. Folder21 = Instance.new("Folder")
  41. Part22 = Instance.new("Part")
  42. ParticleEmitter23 = Instance.new("ParticleEmitter")
  43. ParticleEmitter24 = Instance.new("ParticleEmitter")
  44. PointLight25 = Instance.new("PointLight")
  45. Sound26 = Instance.new("Sound")
  46. Part27 = Instance.new("Part")
  47. ParticleEmitter28 = Instance.new("ParticleEmitter")
  48. ParticleEmitter29 = Instance.new("ParticleEmitter")
  49. PointLight30 = Instance.new("PointLight")
  50. Sound31 = Instance.new("Sound")
  51. Part32 = Instance.new("Part")
  52. Sound33 = Instance.new("Sound")
  53. ParticleEmitter34 = Instance.new("ParticleEmitter")
  54. ParticleEmitter35 = Instance.new("ParticleEmitter")
  55. PointLight36 = Instance.new("PointLight")
  56. Part37 = Instance.new("Part")
  57. Sound38 = Instance.new("Sound")
  58. ParticleEmitter39 = Instance.new("ParticleEmitter")
  59. ParticleEmitter40 = Instance.new("ParticleEmitter")
  60. PointLight41 = Instance.new("PointLight")
  61. Folder42 = Instance.new("Folder")
  62. ParticleEmitter43 = Instance.new("ParticleEmitter")
  63. ParticleEmitter44 = Instance.new("ParticleEmitter")
  64. ParticleEmitter45 = Instance.new("ParticleEmitter")
  65. Sound46 = Instance.new("Sound")
  66. Sound47 = Instance.new("Sound")
  67. ParticleEmitter48 = Instance.new("ParticleEmitter")
  68. ParticleEmitter49 = Instance.new("ParticleEmitter")
  69. ParticleEmitter50 = Instance.new("ParticleEmitter")
  70. Folder51 = Instance.new("Folder")
  71. ModuleScript52 = Instance.new("ModuleScript")
  72. Folder53 = Instance.new("Folder")
  73. Part54 = Instance.new("Part")
  74. Sound55 = Instance.new("Sound")
  75. Sound56 = Instance.new("Sound")
  76. VehicleSeat57 = Instance.new("VehicleSeat")
  77. Script58 = Instance.new("Script")
  78. LocalScript59 = Instance.new("LocalScript")
  79. ObjectValue60 = Instance.new("ObjectValue")
  80. ScreenGui61 = Instance.new("ScreenGui")
  81. Frame62 = Instance.new("Frame")
  82. Frame63 = Instance.new("Frame")
  83. TextLabel64 = Instance.new("TextLabel")
  84. TextLabel65 = Instance.new("TextLabel")
  85. TextLabel66 = Instance.new("TextLabel")
  86. TextLabel67 = Instance.new("TextLabel")
  87. TextLabel68 = Instance.new("TextLabel")
  88. Part69 = Instance.new("Part")
  89. Part70 = Instance.new("Part")
  90. SurfaceGui71 = Instance.new("SurfaceGui")
  91. Frame72 = Instance.new("Frame")
  92. Frame73 = Instance.new("Frame")
  93. Frame74 = Instance.new("Frame")
  94. Frame75 = Instance.new("Frame")
  95. Frame76 = Instance.new("Frame")
  96. Frame77 = Instance.new("Frame")
  97. Frame78 = Instance.new("Frame")
  98. Frame79 = Instance.new("Frame")
  99. Frame80 = Instance.new("Frame")
  100. BlockMesh81 = Instance.new("BlockMesh")
  101. SurfaceGui82 = Instance.new("SurfaceGui")
  102. Frame83 = Instance.new("Frame")
  103. Frame84 = Instance.new("Frame")
  104. Frame85 = Instance.new("Frame")
  105. Frame86 = Instance.new("Frame")
  106. Frame87 = Instance.new("Frame")
  107. Frame88 = Instance.new("Frame")
  108. Frame89 = Instance.new("Frame")
  109. Frame90 = Instance.new("Frame")
  110. Frame91 = Instance.new("Frame")
  111. Part92 = Instance.new("Part")
  112. ParticleEmitter93 = Instance.new("ParticleEmitter")
  113. Folder94 = Instance.new("Folder")
  114. ModuleScript95 = Instance.new("ModuleScript")
  115. Folder96 = Instance.new("Folder")
  116. Part97 = Instance.new("Part")
  117. Weld98 = Instance.new("Weld")
  118. Weld99 = Instance.new("Weld")
  119. UnionOperation100 = Instance.new("UnionOperation")
  120. Script101 = Instance.new("Script")
  121. ClickDetector102 = Instance.new("ClickDetector")
  122. Part103 = Instance.new("Part")
  123. Part104 = Instance.new("Part")
  124. Part105 = Instance.new("Part")
  125. Part106 = Instance.new("Part")
  126. SpecialMesh107 = Instance.new("SpecialMesh")
  127. UnionOperation108 = Instance.new("UnionOperation")
  128. Script109 = Instance.new("Script")
  129. ClickDetector110 = Instance.new("ClickDetector")
  130. MeshPart111 = Instance.new("MeshPart")
  131. MeshPart112 = Instance.new("MeshPart")
  132. MeshPart113 = Instance.new("MeshPart")
  133. MeshPart114 = Instance.new("MeshPart")
  134. Part115 = Instance.new("Part")
  135. SurfaceGui116 = Instance.new("SurfaceGui")
  136. Script117 = Instance.new("Script")
  137. Frame118 = Instance.new("Frame")
  138. Frame119 = Instance.new("Frame")
  139. ImageLabel120 = Instance.new("ImageLabel")
  140. Frame121 = Instance.new("Frame")
  141. Vector3Value122 = Instance.new("Vector3Value")
  142. BlockMesh123 = Instance.new("BlockMesh")
  143. Seat124 = Instance.new("Seat")
  144. BlockMesh125 = Instance.new("BlockMesh")
  145. Part126 = Instance.new("Part")
  146. Folder127 = Instance.new("Folder")
  147. Part128 = Instance.new("Part")
  148. ClickDetector129 = Instance.new("ClickDetector")
  149. BoolValue130 = Instance.new("BoolValue")
  150. Script131 = Instance.new("Script")
  151. Part132 = Instance.new("Part")
  152. Sound133 = Instance.new("Sound")
  153. Sound134 = Instance.new("Sound")
  154. Part135 = Instance.new("Part")
  155. Sound136 = Instance.new("Sound")
  156. Sound137 = Instance.new("Sound")
  157. Part138 = Instance.new("Part")
  158. PointLight139 = Instance.new("PointLight")
  159. Script140 = Instance.new("Script")
  160. BillboardGui141 = Instance.new("BillboardGui")
  161. ImageLabel142 = Instance.new("ImageLabel")
  162. Part143 = Instance.new("Part")
  163. Script144 = Instance.new("Script")
  164. BillboardGui145 = Instance.new("BillboardGui")
  165. ImageLabel146 = Instance.new("ImageLabel")
  166. SpotLight147 = Instance.new("SpotLight")
  167. Part148 = Instance.new("Part")
  168. Script149 = Instance.new("Script")
  169. BillboardGui150 = Instance.new("BillboardGui")
  170. ImageLabel151 = Instance.new("ImageLabel")
  171. SpotLight152 = Instance.new("SpotLight")
  172. Part153 = Instance.new("Part")
  173. PointLight154 = Instance.new("PointLight")
  174. Script155 = Instance.new("Script")
  175. BillboardGui156 = Instance.new("BillboardGui")
  176. ImageLabel157 = Instance.new("ImageLabel")
  177. Script158 = Instance.new("Script")
  178. StringValue159 = Instance.new("StringValue")
  179. IntValue160 = Instance.new("IntValue")
  180. StringValue161 = Instance.new("StringValue")
  181. IntValue162 = Instance.new("IntValue")
  182. Model163 = Instance.new("Model")
  183. Script164 = Instance.new("Script")
  184. MeshPart165 = Instance.new("MeshPart")
  185. UnionOperation166 = Instance.new("UnionOperation")
  186. Model167 = Instance.new("Model")
  187. Script168 = Instance.new("Script")
  188. MeshPart169 = Instance.new("MeshPart")
  189. UnionOperation170 = Instance.new("UnionOperation")
  190. UnionOperation171 = Instance.new("UnionOperation")
  191. UnionOperation172 = Instance.new("UnionOperation")
  192. UnionOperation173 = Instance.new("UnionOperation")
  193. UnionOperation174 = Instance.new("UnionOperation")
  194. Model175 = Instance.new("Model")
  195. Part176 = Instance.new("Part")
  196. BlockMesh177 = Instance.new("BlockMesh")
  197. Sound178 = Instance.new("Sound")
  198. Script179 = Instance.new("Script")
  199. ClickDetector180 = Instance.new("ClickDetector")
  200. Script181 = Instance.new("Script")
  201. Script182 = Instance.new("Script")
  202. Part183 = Instance.new("Part")
  203. BlockMesh184 = Instance.new("BlockMesh")
  204. Sound185 = Instance.new("Sound")
  205. Script186 = Instance.new("Script")
  206. ClickDetector187 = Instance.new("ClickDetector")
  207. Script188 = Instance.new("Script")
  208. Script189 = Instance.new("Script")
  209. Camera190 = Instance.new("Camera")
  210. Model0.Name = "LITTLEBIRD"
  211. Model0.Parent = mas
  212. Part1.Name = "Regen"
  213. Part1.Parent = Model0
  214. Part1.CFrame = CFrame.new(22.2381229, 0.325311989, -62.3152885, 0, 0, -1, -0.000183999262, 1, 0, 1, 0.000183999262, 0)
  215. Part1.Orientation = Vector3.new(0, -90, -0.00999999978)
  216. Part1.Position = Vector3.new(22.2381229, 0.325311989, -62.3152885)
  217. Part1.Rotation = Vector3.new(0.00999999978, -90, 0)
  218. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  219. Part1.Size = Vector3.new(2.90902591, 0.0500000007, 2.90902543)
  220. Part1.Anchored = true
  221. Part1.BottomSurface = Enum.SurfaceType.Smooth
  222. Part1.BrickColor = BrickColor.new("Dark stone grey")
  223. Part1.Material = Enum.Material.DiamondPlate
  224. Part1.TopSurface = Enum.SurfaceType.Smooth
  225. Part1.brickColor = BrickColor.new("Dark stone grey")
  226. Part1.FormFactor = Enum.FormFactor.Custom
  227. Part1.formFactor = Enum.FormFactor.Custom
  228. ClickDetector2.Parent = Part1
  229. ClickDetector2.MaxActivationDistance = 100
  230. Script3.Name = "regen"
  231. Script3.Parent = Part1
  232. table.insert(cors,sandbox(Script3,function()
  233. ---Model By: Midnight Productions
  234.  
  235. location = script.Parent.Parent.Parent
  236. regen = script.Parent.Parent
  237. save = regen:clone()
  238.  
  239. function onClicked()
  240. regen:remove()
  241. local back = save:clone()
  242. back.Parent = location
  243. back:MakeJoints()
  244. end
  245.  
  246. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  247. end))
  248. SurfaceGui4.Name = "Display"
  249. SurfaceGui4.Parent = Part1
  250. SurfaceGui4.Face = Enum.NormalId.Top
  251. SurfaceGui4.CanvasSize = Vector2.new(300, 300)
  252. TextLabel5.Name = "Label"
  253. TextLabel5.Parent = SurfaceGui4
  254. TextLabel5.Size = UDim2.new(1, 0, 1, 0)
  255. TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
  256. TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
  257. TextLabel5.BackgroundTransparency = 1
  258. TextLabel5.Font = Enum.Font.ArialBold
  259. TextLabel5.FontSize = Enum.FontSize.Size14
  260. TextLabel5.Text = "REGEN"
  261. TextLabel5.TextColor = BrickColor.new("Really black")
  262. TextLabel5.TextColor3 = Color3.new(0, 0, 0)
  263. TextLabel5.TextScaled = true
  264. TextLabel5.TextSize = 14
  265. TextLabel5.TextWrap = true
  266. TextLabel5.TextWrapped = true
  267. Model6.Name = "Vehicle"
  268. Model6.Parent = Model0
  269. Model7.Name = "Heli"
  270. Model7.Parent = Model6
  271. Model8.Name = "Plane"
  272. Model8.Parent = Model7
  273. Model9.Name = "Body"
  274. Model9.Parent = Model8
  275. Model10.Name = "AH6 LITTLE BIRD"
  276. Model10.Parent = Model9
  277. Folder11.Name = "Networking"
  278. Folder11.Parent = Model10
  279. RemoteEvent12.Name = "TurnOff"
  280. RemoteEvent12.Parent = Folder11
  281. RemoteEvent13.Name = "TurnOn"
  282. RemoteEvent13.Parent = Folder11
  283. RemoteEvent14.Name = "DustEvent"
  284. RemoteEvent14.Parent = Folder11
  285. RemoteEvent15.Name = "FXEvent"
  286. RemoteEvent15.Parent = Folder11
  287. RemoteFunction16.Name = "HitEvent"
  288. RemoteFunction16.Parent = Folder11
  289. RemoteEvent17.Name = "DamageEvent"
  290. RemoteEvent17.Parent = Folder11
  291. RemoteEvent18.Name = "CreateOwner"
  292. RemoteEvent18.Parent = Folder11
  293. Folder19.Name = "Vals"
  294. Folder19.Parent = Model10
  295. ObjectValue20.Name = "Owner"
  296. ObjectValue20.Parent = Folder19
  297. Folder21.Name = "Weaponry"
  298. Folder21.Parent = Model10
  299. Part22.Name = "MG"
  300. Part22.Parent = Folder21
  301. Part22.CFrame = CFrame.new(4.42165089, 4.97584105, -50.6344261, -1.0000025, -2.9254752e-05, -1.57830073e-07, -2.92546811e-05, 1, 5.91748119e-07, 1.57800969e-07, 5.91754201e-07, -1.0000025)
  302. Part22.Orientation = Vector3.new(0, -180, 0)
  303. Part22.Position = Vector3.new(4.42165089, 4.97584105, -50.6344261)
  304. Part22.Rotation = Vector3.new(-180, 0, 180)
  305. Part22.Color = Color3.new(1, 0, 0)
  306. Part22.Transparency = 1
  307. Part22.Size = Vector3.new(0.199999481, 0.400000006, 0.199999973)
  308. Part22.Anchored = true
  309. Part22.BackSurface = Enum.SurfaceType.Weld
  310. Part22.BottomSurface = Enum.SurfaceType.Smooth
  311. Part22.BrickColor = BrickColor.new("Really red")
  312. Part22.CanCollide = false
  313. Part22.Material = Enum.Material.Neon
  314. Part22.TopSurface = Enum.SurfaceType.Smooth
  315. Part22.brickColor = BrickColor.new("Really red")
  316. ParticleEmitter23.Name = "FlashFX3[Burst]"
  317. ParticleEmitter23.Parent = Part22
  318. ParticleEmitter23.Speed = NumberRange.new(10, 10)
  319. ParticleEmitter23.Color = ColorSequence.new(Color3.new(0.647059, 0.647059, 0.647059),Color3.new(0.647059, 0.647059, 0.647059))
  320. ParticleEmitter23.Enabled = false
  321. ParticleEmitter23.LightEmission = 1
  322. ParticleEmitter23.Texture = "rbxassetid://241539438"
  323. ParticleEmitter23.Transparency = NumberSequence.new(0.012499988079071,0.46448087692261,0.69398903846741,0.87431693077087,1,1)
  324. ParticleEmitter23.Acceleration = Vector3.new(0, 4, 0)
  325. ParticleEmitter23.Drag = 5
  326. ParticleEmitter23.EmissionDirection = Enum.NormalId.Front
  327. ParticleEmitter23.Lifetime = NumberRange.new(3, 3)
  328. ParticleEmitter23.Rate = 100
  329. ParticleEmitter23.SpreadAngle = Vector2.new(50, 50)
  330. ParticleEmitter23.VelocityInheritance = 0.15000000596046
  331. ParticleEmitter23.VelocitySpread = 50
  332. ParticleEmitter24.Name = "FlashFX3[Front]"
  333. ParticleEmitter24.Parent = Part22
  334. ParticleEmitter24.Speed = NumberRange.new(10, 10)
  335. ParticleEmitter24.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.666667, 0.498039))
  336. ParticleEmitter24.Enabled = false
  337. ParticleEmitter24.LightEmission = 1
  338. ParticleEmitter24.Texture = "rbxassetid://241539438"
  339. ParticleEmitter24.Transparency = NumberSequence.new(0.012499988079071,0.91874998807907,0.94999998807907,1)
  340. ParticleEmitter24.Size = NumberSequence.new(0.69999998807907,0.69999998807907)
  341. ParticleEmitter24.Acceleration = Vector3.new(0, -1.5, 10)
  342. ParticleEmitter24.EmissionDirection = Enum.NormalId.Front
  343. ParticleEmitter24.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  344. ParticleEmitter24.Rate = 200
  345. ParticleEmitter24.SpreadAngle = Vector2.new(100, 100)
  346. ParticleEmitter24.VelocitySpread = 100
  347. PointLight25.Name = "FlashFX[Light]"
  348. PointLight25.Parent = Part22
  349. PointLight25.Color = Color3.new(1, 1, 0.498039)
  350. PointLight25.Enabled = false
  351. PointLight25.Range = 6
  352. PointLight25.Brightness = 10
  353. PointLight25.Shadows = true
  354. Sound26.Name = "Fire"
  355. Sound26.Parent = Part22
  356. Sound26.Looped = true
  357. Sound26.Pitch = 1.1000000238419
  358. Sound26.PlaybackSpeed = 1.1000000238419
  359. Sound26.SoundId = "rbxassetid://571911854"
  360. Sound26.Volume = 1
  361. Part27.Name = "MG"
  362. Part27.Parent = Folder21
  363. Part27.CFrame = CFrame.new(11.9116259, 4.97584105, -50.6344261, -1.0000025, -2.9254752e-05, -1.57830073e-07, -2.92546811e-05, 1, 5.91748119e-07, 1.57800969e-07, 5.91754201e-07, -1.0000025)
  364. Part27.Orientation = Vector3.new(0, -180, 0)
  365. Part27.Position = Vector3.new(11.9116259, 4.97584105, -50.6344261)
  366. Part27.Rotation = Vector3.new(-180, 0, 180)
  367. Part27.Color = Color3.new(1, 0, 0)
  368. Part27.Transparency = 1
  369. Part27.Size = Vector3.new(0.199999481, 0.400000006, 0.199999973)
  370. Part27.Anchored = true
  371. Part27.BackSurface = Enum.SurfaceType.Weld
  372. Part27.BottomSurface = Enum.SurfaceType.Smooth
  373. Part27.BrickColor = BrickColor.new("Really red")
  374. Part27.CanCollide = false
  375. Part27.Material = Enum.Material.Neon
  376. Part27.TopSurface = Enum.SurfaceType.Smooth
  377. Part27.brickColor = BrickColor.new("Really red")
  378. ParticleEmitter28.Name = "FlashFX3[Burst]"
  379. ParticleEmitter28.Parent = Part27
  380. ParticleEmitter28.Speed = NumberRange.new(10, 10)
  381. ParticleEmitter28.Color = ColorSequence.new(Color3.new(0.647059, 0.647059, 0.647059),Color3.new(0.647059, 0.647059, 0.647059))
  382. ParticleEmitter28.Enabled = false
  383. ParticleEmitter28.LightEmission = 1
  384. ParticleEmitter28.Texture = "rbxassetid://241539438"
  385. ParticleEmitter28.Transparency = NumberSequence.new(0.012499988079071,0.46448087692261,0.69398903846741,0.87431693077087,1,1)
  386. ParticleEmitter28.Acceleration = Vector3.new(0, 4, 0)
  387. ParticleEmitter28.Drag = 5
  388. ParticleEmitter28.EmissionDirection = Enum.NormalId.Front
  389. ParticleEmitter28.Lifetime = NumberRange.new(3, 3)
  390. ParticleEmitter28.Rate = 100
  391. ParticleEmitter28.SpreadAngle = Vector2.new(50, 50)
  392. ParticleEmitter28.VelocityInheritance = 0.15000000596046
  393. ParticleEmitter28.VelocitySpread = 50
  394. ParticleEmitter29.Name = "FlashFX3[Front]"
  395. ParticleEmitter29.Parent = Part27
  396. ParticleEmitter29.Speed = NumberRange.new(10, 10)
  397. ParticleEmitter29.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.666667, 0.498039))
  398. ParticleEmitter29.Enabled = false
  399. ParticleEmitter29.LightEmission = 1
  400. ParticleEmitter29.Texture = "rbxassetid://241539438"
  401. ParticleEmitter29.Transparency = NumberSequence.new(0.012499988079071,0.91874998807907,0.94999998807907,1)
  402. ParticleEmitter29.Size = NumberSequence.new(0.69999998807907,0.69999998807907)
  403. ParticleEmitter29.Acceleration = Vector3.new(0, -1.5, 10)
  404. ParticleEmitter29.EmissionDirection = Enum.NormalId.Front
  405. ParticleEmitter29.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  406. ParticleEmitter29.Rate = 200
  407. ParticleEmitter29.SpreadAngle = Vector2.new(100, 100)
  408. ParticleEmitter29.VelocitySpread = 100
  409. PointLight30.Name = "FlashFX[Light]"
  410. PointLight30.Parent = Part27
  411. PointLight30.Color = Color3.new(1, 1, 0.498039)
  412. PointLight30.Enabled = false
  413. PointLight30.Range = 6
  414. PointLight30.Brightness = 10
  415. PointLight30.Shadows = true
  416. Sound31.Name = "Fire"
  417. Sound31.Parent = Part27
  418. Sound31.Looped = true
  419. Sound31.Pitch = 1.1000000238419
  420. Sound31.PlaybackSpeed = 1.1000000238419
  421. Sound31.SoundId = "rbxassetid://571911854"
  422. Sound31.Volume = 1
  423. Part32.Name = "ATG"
  424. Part32.Parent = Folder21
  425. Part32.CFrame = CFrame.new(2.45181203, 5.02611589, -49.1044388, -1.0000025, -2.9254752e-05, -1.57830073e-07, -2.92546811e-05, 1, 5.91748119e-07, 1.57800969e-07, 5.91754201e-07, -1.0000025)
  426. Part32.Orientation = Vector3.new(0, -180, 0)
  427. Part32.Position = Vector3.new(2.45181203, 5.02611589, -49.1044388)
  428. Part32.Rotation = Vector3.new(-180, 0, 180)
  429. Part32.Color = Color3.new(0.54902, 0.356863, 0.623529)
  430. Part32.Transparency = 1
  431. Part32.Size = Vector3.new(0.199998185, 0.200000033, 2.40000367)
  432. Part32.Anchored = true
  433. Part32.BottomSurface = Enum.SurfaceType.Smooth
  434. Part32.BrickColor = BrickColor.new("Lavender")
  435. Part32.CanCollide = false
  436. Part32.Material = Enum.Material.Neon
  437. Part32.TopSurface = Enum.SurfaceType.Smooth
  438. Part32.brickColor = BrickColor.new("Lavender")
  439. Sound33.Name = "Fire"
  440. Sound33.Parent = Part32
  441. Sound33.Pitch = 1.1000000238419
  442. Sound33.PlaybackSpeed = 1.1000000238419
  443. Sound33.SoundId = "rbxassetid://515942061"
  444. Sound33.Volume = 1
  445. ParticleEmitter34.Name = "FlashFX3[Burst]"
  446. ParticleEmitter34.Parent = Part32
  447. ParticleEmitter34.Speed = NumberRange.new(10, 10)
  448. ParticleEmitter34.Color = ColorSequence.new(Color3.new(0.647059, 0.647059, 0.647059),Color3.new(0.647059, 0.647059, 0.647059))
  449. ParticleEmitter34.Enabled = false
  450. ParticleEmitter34.LightEmission = 1
  451. ParticleEmitter34.Texture = "rbxassetid://241539438"
  452. ParticleEmitter34.Transparency = NumberSequence.new(0.012499988079071,0.46448087692261,0.69398903846741,0.87431693077087,1,1)
  453. ParticleEmitter34.Acceleration = Vector3.new(0, 4, 0)
  454. ParticleEmitter34.Drag = 5
  455. ParticleEmitter34.EmissionDirection = Enum.NormalId.Front
  456. ParticleEmitter34.Lifetime = NumberRange.new(3, 3)
  457. ParticleEmitter34.Rate = 100
  458. ParticleEmitter34.SpreadAngle = Vector2.new(50, 50)
  459. ParticleEmitter34.VelocityInheritance = 0.15000000596046
  460. ParticleEmitter34.VelocitySpread = 50
  461. ParticleEmitter35.Name = "FlashFX3[Front]"
  462. ParticleEmitter35.Parent = Part32
  463. ParticleEmitter35.Speed = NumberRange.new(10, 10)
  464. ParticleEmitter35.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.666667, 0.498039))
  465. ParticleEmitter35.Enabled = false
  466. ParticleEmitter35.LightEmission = 1
  467. ParticleEmitter35.Texture = "rbxassetid://241539438"
  468. ParticleEmitter35.Transparency = NumberSequence.new(0.012499988079071,0.91874998807907,0.94999998807907,1)
  469. ParticleEmitter35.Size = NumberSequence.new(0.69999998807907,0.69999998807907)
  470. ParticleEmitter35.Acceleration = Vector3.new(0, -1.5, 10)
  471. ParticleEmitter35.EmissionDirection = Enum.NormalId.Front
  472. ParticleEmitter35.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  473. ParticleEmitter35.Rate = 200
  474. ParticleEmitter35.SpreadAngle = Vector2.new(100, 100)
  475. ParticleEmitter35.VelocitySpread = 100
  476. PointLight36.Name = "FlashFX[Light]"
  477. PointLight36.Parent = Part32
  478. PointLight36.Color = Color3.new(1, 1, 0.498039)
  479. PointLight36.Enabled = false
  480. PointLight36.Range = 6
  481. PointLight36.Brightness = 10
  482. PointLight36.Shadows = true
  483. Part37.Name = "ATG"
  484. Part37.Parent = Folder21
  485. Part37.CFrame = CFrame.new(13.8918257, 5.02611589, -49.1044388, -1.0000025, -2.9254752e-05, -1.57830073e-07, -2.92546811e-05, 1, 5.91748119e-07, 1.57800969e-07, 5.91754201e-07, -1.0000025)
  486. Part37.Orientation = Vector3.new(0, -180, 0)
  487. Part37.Position = Vector3.new(13.8918257, 5.02611589, -49.1044388)
  488. Part37.Rotation = Vector3.new(-180, 0, 180)
  489. Part37.Color = Color3.new(0.54902, 0.356863, 0.623529)
  490. Part37.Transparency = 1
  491. Part37.Size = Vector3.new(0.199998185, 0.200000033, 2.40000367)
  492. Part37.Anchored = true
  493. Part37.BottomSurface = Enum.SurfaceType.Smooth
  494. Part37.BrickColor = BrickColor.new("Lavender")
  495. Part37.CanCollide = false
  496. Part37.Material = Enum.Material.Neon
  497. Part37.TopSurface = Enum.SurfaceType.Smooth
  498. Part37.brickColor = BrickColor.new("Lavender")
  499. Sound38.Name = "Fire"
  500. Sound38.Parent = Part37
  501. Sound38.Pitch = 1.1000000238419
  502. Sound38.PlaybackSpeed = 1.1000000238419
  503. Sound38.SoundId = "rbxassetid://515942061"
  504. Sound38.Volume = 1
  505. ParticleEmitter39.Name = "FlashFX3[Burst]"
  506. ParticleEmitter39.Parent = Part37
  507. ParticleEmitter39.Speed = NumberRange.new(10, 10)
  508. ParticleEmitter39.Color = ColorSequence.new(Color3.new(0.647059, 0.647059, 0.647059),Color3.new(0.647059, 0.647059, 0.647059))
  509. ParticleEmitter39.Enabled = false
  510. ParticleEmitter39.LightEmission = 1
  511. ParticleEmitter39.Texture = "rbxassetid://241539438"
  512. ParticleEmitter39.Transparency = NumberSequence.new(0.012499988079071,0.46448087692261,0.69398903846741,0.87431693077087,1,1)
  513. ParticleEmitter39.Acceleration = Vector3.new(0, 4, 0)
  514. ParticleEmitter39.Drag = 5
  515. ParticleEmitter39.EmissionDirection = Enum.NormalId.Front
  516. ParticleEmitter39.Lifetime = NumberRange.new(3, 3)
  517. ParticleEmitter39.Rate = 100
  518. ParticleEmitter39.SpreadAngle = Vector2.new(50, 50)
  519. ParticleEmitter39.VelocityInheritance = 0.15000000596046
  520. ParticleEmitter39.VelocitySpread = 50
  521. ParticleEmitter40.Name = "FlashFX3[Front]"
  522. ParticleEmitter40.Parent = Part37
  523. ParticleEmitter40.Speed = NumberRange.new(10, 10)
  524. ParticleEmitter40.Color = ColorSequence.new(Color3.new(1, 0.666667, 0.498039),Color3.new(1, 0.666667, 0.498039))
  525. ParticleEmitter40.Enabled = false
  526. ParticleEmitter40.LightEmission = 1
  527. ParticleEmitter40.Texture = "rbxassetid://241539438"
  528. ParticleEmitter40.Transparency = NumberSequence.new(0.012499988079071,0.91874998807907,0.94999998807907,1)
  529. ParticleEmitter40.Size = NumberSequence.new(0.69999998807907,0.69999998807907)
  530. ParticleEmitter40.Acceleration = Vector3.new(0, -1.5, 10)
  531. ParticleEmitter40.EmissionDirection = Enum.NormalId.Front
  532. ParticleEmitter40.Lifetime = NumberRange.new(0.40000000596046, 0.40000000596046)
  533. ParticleEmitter40.Rate = 200
  534. ParticleEmitter40.SpreadAngle = Vector2.new(100, 100)
  535. ParticleEmitter40.VelocitySpread = 100
  536. PointLight41.Name = "FlashFX[Light]"
  537. PointLight41.Parent = Part37
  538. PointLight41.Color = Color3.new(1, 1, 0.498039)
  539. PointLight41.Enabled = false
  540. PointLight41.Range = 6
  541. PointLight41.Brightness = 10
  542. PointLight41.Shadows = true
  543. Folder42.Name = "FX"
  544. Folder42.Parent = Model10
  545. ParticleEmitter43.Name = "Smoke"
  546. ParticleEmitter43.Parent = Folder42
  547. ParticleEmitter43.Speed = NumberRange.new(30, 30)
  548. ParticleEmitter43.Rotation = NumberRange.new(50, 80)
  549. ParticleEmitter43.Color = ColorSequence.new(Color3.new(0.611765, 0.611765, 0.611765),Color3.new(0.227451, 0.227451, 0.227451))
  550. ParticleEmitter43.Enabled = false
  551. ParticleEmitter43.LightEmission = 0.10000000149012
  552. ParticleEmitter43.Texture = "rbxassetid://286708119"
  553. ParticleEmitter43.Transparency = NumberSequence.new(0.94375002384186,0.85000002384186,1,1,1,1)
  554. ParticleEmitter43.Size = NumberSequence.new(0.81250011920929,0.43749988079071,3.9375,0.81250011920929)
  555. ParticleEmitter43.Acceleration = Vector3.new(0, -10, 0)
  556. ParticleEmitter43.Lifetime = NumberRange.new(1, 1)
  557. ParticleEmitter43.Rate = 130
  558. ParticleEmitter43.RotSpeed = NumberRange.new(5, 20)
  559. ParticleEmitter43.SpreadAngle = Vector2.new(25, 25)
  560. ParticleEmitter43.VelocitySpread = 25
  561. ParticleEmitter44.Name = "Spark"
  562. ParticleEmitter44.Parent = Folder42
  563. ParticleEmitter44.Speed = NumberRange.new(10, 10)
  564. ParticleEmitter44.Color = ColorSequence.new(Color3.new(0.666667, 0.666667, 1),Color3.new(0.666667, 0.666667, 1))
  565. ParticleEmitter44.Enabled = false
  566. ParticleEmitter44.LightEmission = 1
  567. ParticleEmitter44.Texture = "rbxassetid://311395391"
  568. ParticleEmitter44.Transparency = NumberSequence.new(0,0.77499997615814,0.83749997615814,0)
  569. ParticleEmitter44.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
  570. ParticleEmitter44.Acceleration = Vector3.new(0, -15, 0)
  571. ParticleEmitter44.Lifetime = NumberRange.new(0.69999998807907, 0.80000001192093)
  572. ParticleEmitter44.Rate = 60
  573. ParticleEmitter44.SpreadAngle = Vector2.new(20, 20)
  574. ParticleEmitter44.VelocitySpread = 20
  575. ParticleEmitter45.Name = "Blood"
  576. ParticleEmitter45.Parent = Folder42
  577. ParticleEmitter45.Speed = NumberRange.new(2, 2)
  578. ParticleEmitter45.Rotation = NumberRange.new(50, 80)
  579. ParticleEmitter45.Color = ColorSequence.new(Color3.new(1, 0, 0),Color3.new(1, 0, 0))
  580. ParticleEmitter45.Enabled = false
  581. ParticleEmitter45.Texture = "rbxassetid://172841900"
  582. ParticleEmitter45.Transparency = NumberSequence.new(0,0,1)
  583. ParticleEmitter45.Size = NumberSequence.new(0.12345671653748,3.0601096153259,2.7777779102325)
  584. ParticleEmitter45.Lifetime = NumberRange.new(1, 1)
  585. ParticleEmitter45.Rate = 15
  586. ParticleEmitter45.RotSpeed = NumberRange.new(5, 20)
  587. ParticleEmitter45.SpreadAngle = Vector2.new(10, 10)
  588. ParticleEmitter45.VelocitySpread = 10
  589. Sound46.Name = "BodyHit"
  590. Sound46.Parent = Folder42
  591. Sound46.SoundId = "rbxassetid://1565725028"
  592. Sound46.Volume = 1
  593. Sound47.Name = "ExplosionSound"
  594. Sound47.Parent = Folder42
  595. Sound47.SoundId = "rbxassetid://268869717"
  596. Sound47.Volume = 1
  597. ParticleEmitter48.Name = "Debris"
  598. ParticleEmitter48.Parent = Folder42
  599. ParticleEmitter48.Speed = NumberRange.new(200, 300)
  600. ParticleEmitter48.Rotation = NumberRange.new(-360, 360)
  601. ParticleEmitter48.Color = ColorSequence.new(Color3.new(0.486275, 0.486275, 0.486275),Color3.new(0.486275, 0.486275, 0.486275))
  602. ParticleEmitter48.Enabled = false
  603. ParticleEmitter48.Texture = "rbxassetid://1998115207"
  604. ParticleEmitter48.Transparency = NumberSequence.new(0,1)
  605. ParticleEmitter48.ZOffset = 2
  606. ParticleEmitter48.Size = NumberSequence.new(2.5,2.5,10)
  607. ParticleEmitter48.Drag = 8
  608. ParticleEmitter48.EmissionDirection = Enum.NormalId.Back
  609. ParticleEmitter48.Lifetime = NumberRange.new(1, 1)
  610. ParticleEmitter48.Rate = 200
  611. ParticleEmitter48.SpreadAngle = Vector2.new(0, 360)
  612. ParticleEmitter49.Name = "DustUp"
  613. ParticleEmitter49.Parent = Folder42
  614. ParticleEmitter49.Speed = NumberRange.new(200, 300)
  615. ParticleEmitter49.Rotation = NumberRange.new(-360, 360)
  616. ParticleEmitter49.Color = ColorSequence.new(Color3.new(0.168627, 0.14902, 0.137255),Color3.new(0.168627, 0.14902, 0.137255))
  617. ParticleEmitter49.Enabled = false
  618. ParticleEmitter49.Texture = "rbxassetid://1894103633"
  619. ParticleEmitter49.Transparency = NumberSequence.new(0,1)
  620. ParticleEmitter49.Size = NumberSequence.new(2.5,6,10)
  621. ParticleEmitter49.Drag = 10
  622. ParticleEmitter49.EmissionDirection = Enum.NormalId.Back
  623. ParticleEmitter49.Lifetime = NumberRange.new(1, 1)
  624. ParticleEmitter49.Rate = 200
  625. ParticleEmitter49.SpreadAngle = Vector2.new(0, 360)
  626. ParticleEmitter50.Name = "RocketTrail"
  627. ParticleEmitter50.Parent = Folder42
  628. ParticleEmitter50.Color = ColorSequence.new(Color3.new(1, 1, 0.498039),Color3.new(0, 0, 0))
  629. ParticleEmitter50.Enabled = false
  630. ParticleEmitter50.LightEmission = 1
  631. ParticleEmitter50.Texture = "http://www.roblox.com/asset/?id=241685484"
  632. ParticleEmitter50.Size = NumberSequence.new(0.89999997615814,0.89999997615814)
  633. ParticleEmitter50.Lifetime = NumberRange.new(0.34999999403954, 0.34999999403954)
  634. ParticleEmitter50.Rate = 500
  635. ParticleEmitter50.SpreadAngle = Vector2.new(10, 10)
  636. ParticleEmitter50.VelocitySpread = 10
  637. Folder51.Name = "Modules"
  638. Folder51.Parent = Model10
  639. ModuleScript52.Name = "Config_Module"
  640. ModuleScript52.Parent = Folder51
  641. table.insert(cors,sandbox(ModuleScript52,function()
  642. local config = {
  643.  
  644. --// Customizations
  645. StartupTime = 5;
  646.  
  647. --// Group Only
  648. isGroupOnly = false;
  649. GroupID = 4194865;
  650. GroupRank = 1;
  651.  
  652. --// Weapon Config
  653. BulletSpeed = 2500;
  654. CastDist = 10000;
  655. BulletSize = Vector3.new(0.2, 0.2, 12);
  656. FireRate = 1000;
  657.  
  658. BulletDamage = 60;
  659.  
  660. RocketFireRate = 200;
  661. BlastRadius = 10;
  662.  
  663. --// Ammo
  664. RocketAmmo = math.huge;
  665.  
  666. --// Speeds
  667. UpSpeed = 1.5;
  668. DownSpeed = 1.5;
  669. ForwardSpeed = 3;
  670. BackwardSpeed = 2;
  671. RightSpeed = 1.2;
  672. LeftSpeed = 1.2;
  673.  
  674. --// Rotations
  675. FrontRotation = 5;
  676. BackRotation = 15;
  677. RightRotation = 15;
  678. LeftRotation = 15;
  679.  
  680. --// Keybindings
  681. StartupKey = Enum.KeyCode.Y;
  682. UpKey = Enum.KeyCode.Space;
  683. DownKey = Enum.KeyCode.LeftControl;
  684. ForwardKey = Enum.KeyCode.W;
  685. BackwardKey = Enum.KeyCode.S;
  686. RightKey = Enum.KeyCode.D;
  687. LeftKey = Enum.KeyCode.A;
  688. MouseToggleKey = Enum.UserInputType.MouseButton1;
  689.  
  690.  
  691. }
  692.  
  693. return config
  694.  
  695. end))
  696. Folder53.Name = "Required"
  697. Folder53.Parent = Model10
  698. Part54.Name = "Engine"
  699. Part54.Parent = Folder53
  700. Part54.CFrame = CFrame.new(8.03365803, 11.895874, -54.9263649, -1, -2.89998825e-05, 0, -2.89998825e-05, 1, 0, 0, 0, -1)
  701. Part54.Orientation = Vector3.new(0, 180, 0)
  702. Part54.Position = Vector3.new(8.03365803, 11.895874, -54.9263649)
  703. Part54.Rotation = Vector3.new(-180, 0, 180)
  704. Part54.Transparency = 1
  705. Part54.Size = Vector3.new(2.43157935, 0.368421227, 4.20000267)
  706. Part54.Anchored = true
  707. Part54.BottomSurface = Enum.SurfaceType.Smooth
  708. Part54.CanCollide = false
  709. Part54.TopSurface = Enum.SurfaceType.Smooth
  710. Sound55.Name = "Spin"
  711. Sound55.Parent = Part54
  712. Sound55.Looped = true
  713. Sound55.Pitch = 2.5999999046326
  714. Sound55.PlaybackSpeed = 2.5999999046326
  715. Sound55.SoundId = "rbxassetid://165113352"
  716. Sound55.Volume = 1
  717. Sound56.Name = "StartUp"
  718. Sound56.Parent = Part54
  719. Sound56.Looped = true
  720. Sound56.SoundId = "http://roblox.com/asset/?id=150485913"
  721. Sound56.Volume = 0.60000002384186
  722. VehicleSeat57.Name = "DriverSeat"
  723. VehicleSeat57.Parent = Folder53
  724. VehicleSeat57.CFrame = CFrame.new(9.59871769, 6.14013004, -50.3627853, -0.999999166, 0.000773377949, -0.00104256824, 0.000868734031, 0.995495677, -0.0948033258, 0.00096455327, -0.0948041528, -0.995495498)
  725. VehicleSeat57.Orientation = Vector3.new(5.44000006, -179.940002, 0.0500000007)
  726. VehicleSeat57.Position = Vector3.new(9.59871769, 6.14013004, -50.3627853)
  727. VehicleSeat57.Rotation = Vector3.new(174.559998, -0.0599999987, -179.960007)
  728. VehicleSeat57.Color = Color3.new(0.105882, 0.164706, 0.207843)
  729. VehicleSeat57.Transparency = 1
  730. VehicleSeat57.Size = Vector3.new(1.86999917, 0.0500000007, 1.49999571)
  731. VehicleSeat57.Anchored = true
  732. VehicleSeat57.BottomSurface = Enum.SurfaceType.Smooth
  733. VehicleSeat57.BrickColor = BrickColor.new("Black")
  734. VehicleSeat57.CanCollide = false
  735. VehicleSeat57.TopSurface = Enum.SurfaceType.Smooth
  736. VehicleSeat57.brickColor = BrickColor.new("Black")
  737. VehicleSeat57.HeadsUpDisplay = false
  738. Script58.Name = "Heli_SControl"
  739. Script58.Parent = VehicleSeat57
  740. table.insert(cors,sandbox(Script58,function()
  741. --// Variables
  742. local L_1_ = script.Parent
  743. local L_2_ = L_1_.Parent.Parent
  744. local L_3_ = L_2_:WaitForChild('Required')
  745. local L_4_ = L_2_:WaitForChild('BodyKit')
  746.  
  747. local L_5_ = L_2_:WaitForChild('Networking')
  748. local L_6_ = L_2_:WaitForChild('Vals')
  749. local L_7_ = L_6_:WaitForChild('Owner')
  750.  
  751. local L_8_ = require(L_2_:WaitForChild('Modules'):WaitForChild('Config_Module'))
  752.  
  753. local L_9_ = L_3_:WaitForChild('Rotor')
  754. local L_10_
  755. if L_3_:FindFirstChild('Rotor2') then
  756. L_10_ = L_3_.Rotor2
  757. end
  758. local L_11_ = L_9_:WaitForChild('Top'):WaitForChild('Rotor')
  759. local L_12_ = L_9_:WaitForChild('Bottom'):WaitForChild('Rotor')
  760. local L_13_
  761. local L_14_
  762. if L_10_ then
  763. L_13_ = L_10_:WaitForChild('Top'):WaitForChild('Rotor')
  764. L_14_ = L_10_:WaitForChild('Bottom'):WaitForChild('Rotor')
  765. end
  766.  
  767. local L_15_
  768. local L_16_, L_17_
  769.  
  770. local L_18_ = false
  771. local L_19_ = L_2_:WaitForChild('FX')
  772.  
  773. local L_20_ = game.ReplicatedStorage:FindFirstChild('[WB] Leaderstat Network') or nil
  774.  
  775. local L_21_ = {
  776. L_2_
  777. }
  778.  
  779. --// Events
  780. local L_22_ = L_5_:WaitForChild('TurnOff')
  781. local L_23_ = L_5_:WaitForChild('TurnOn')
  782. local L_24_ = L_5_:WaitForChild('DustEvent')
  783. local L_25_ = L_5_:WaitForChild('FXEvent')
  784. local L_26_ = L_5_:WaitForChild('HitEvent')
  785. local L_27_ = L_5_:WaitForChild('DamageEvent')
  786. local L_28_ = L_5_:WaitForChild('CreateOwner')
  787.  
  788. --// Functions
  789. function Weld(L_31_arg1, L_32_arg2)
  790. local L_33_ = Instance.new("WeldConstraint", L_31_arg1)
  791. L_33_.Part0 = L_31_arg1
  792. L_33_.Part1 = L_32_arg2
  793. L_33_.Name = L_31_arg1.Name
  794. end
  795.  
  796. --// Weld Connection
  797. wait(0.5)
  798.  
  799. local L_29_ = L_2_:GetDescendants()
  800.  
  801. for L_34_forvar1, L_35_forvar2 in pairs(L_29_) do
  802. if L_35_forvar2:IsA('BasePart') then
  803. if L_35_forvar2.Name ~= 'Engine' and L_35_forvar2.Parent ~= L_2_.RegenButton then
  804. Weld(L_35_forvar2, L_2_.Required.Engine)
  805. end
  806. end
  807. end
  808.  
  809. for L_36_forvar1, L_37_forvar2 in pairs(L_29_) do
  810. if L_37_forvar2:IsA('BasePart') then
  811. if L_37_forvar2.Parent ~= L_2_.RegenButton then
  812. L_37_forvar2.Anchored = false
  813. end
  814. end
  815. end
  816.  
  817. --// Connections
  818. L_1_.ChildAdded:connect(function(L_38_arg1)
  819. if L_38_arg1:IsA('Weld') then
  820. local L_39_ = L_38_arg1.Part1.Parent
  821. local L_40_ = game.Players:GetPlayerFromCharacter(L_39_)
  822. if not L_8_.isGroupOnly or L_8_.isGroupOnly and L_40_:GetRankInGroup(L_8_.GroupID) >= L_8_.GroupRank then
  823. L_7_.Value = L_40_
  824.  
  825. L_2_:WaitForChild('RegenButton'):WaitForChild('Regen'):WaitForChild('CanRegen').Value = false
  826.  
  827. local L_41_ = L_1_.Parent.Engine:FindFirstChild('BodyGyro') or Instance.new('BodyGyro', L_1_.Parent:WaitForChild('Engine'))
  828. L_41_.CFrame = L_1_.Parent:WaitForChild('Engine').CFrame
  829. L_41_.D = 500
  830. L_41_.P = 3000
  831. L_41_.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  832.  
  833. local L_42_ = L_1_.Parent.Engine:FindFirstChild('BodyPosition') or Instance.new('BodyPosition', L_1_.Parent:WaitForChild('Engine'))
  834. L_42_.D = 1250
  835. L_42_.P = 10000
  836. L_42_.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  837. L_42_.Position = L_1_.Parent:WaitForChild('Engine').Position
  838.  
  839. if L_40_ then
  840. local L_43_ = script:WaitForChild('Heli_Control'):clone()
  841. L_43_.Parent = L_40_.PlayerGui
  842. L_43_:WaitForChild('EnginePart').Value = L_1_.Parent:WaitForChild('Engine')
  843. L_43_.Disabled = false
  844. end
  845. end;
  846. end
  847. end)
  848.  
  849. L_1_.ChildRemoved:connect(function(L_44_arg1)
  850. if L_44_arg1:IsA('Weld') then
  851. L_2_:WaitForChild('RegenButton'):WaitForChild('Regen'):WaitForChild('CanRegen').Value = true
  852. end
  853. end)
  854.  
  855. --// Event Connections
  856. L_22_.OnServerEvent:connect(function(L_45_arg1)
  857. if L_45_arg1 == L_7_.Value then
  858. L_18_ = false
  859. L_3_:WaitForChild('Engine'):WaitForChild('BodyGyro'):Destroy()
  860. L_3_:WaitForChild('Engine'):WaitForChild('BodyPosition'):Destroy()
  861.  
  862. for L_46_forvar1, L_47_forvar2 in pairs(L_3_:WaitForChild('Engine'):GetChildren()) do
  863. if L_47_forvar2:IsA('Sound') then
  864. L_47_forvar2:Stop()
  865. end
  866. end
  867.  
  868. for L_48_forvar1, L_49_forvar2 in pairs(L_3_:GetChildren()) do
  869. if L_49_forvar2.Name == 'Vents' then
  870. if L_49_forvar2:FindFirstChild('Smoke') then
  871. L_49_forvar2.Smoke.EmissionDirection = 'Back'
  872. L_49_forvar2.Smoke.Enabled = false
  873. end
  874. end
  875. end
  876.  
  877. if L_15_ then
  878. L_15_:Destroy()
  879. end
  880. elseif L_45_arg1 ~= L_7_.Value then
  881. L_45_arg1:Kick('Stop Exploiting')
  882. end
  883. end)
  884.  
  885. L_23_.OnServerEvent:connect(function(L_50_arg1)
  886. if L_50_arg1 == L_7_.Value then
  887. for L_51_forvar1, L_52_forvar2 in pairs(L_3_:GetChildren()) do
  888. if L_52_forvar2.Name == 'Vents' then
  889. if L_52_forvar2:FindFirstChild('Smoke') then
  890. L_52_forvar2.Smoke.EmissionDirection = 'Back'
  891. L_52_forvar2.Smoke.Enabled = true
  892. end
  893. end
  894. end
  895. L_18_ = true
  896. elseif L_50_arg1 ~= L_7_.Value then
  897. L_50_arg1:Kick('Stop Exploiting')
  898. end
  899. end)
  900.  
  901. L_26_.OnServerInvoke = function(L_53_arg1, L_54_arg2, L_55_arg3, L_56_arg4, L_57_arg5, L_58_arg6, L_59_arg7, L_60_arg8)
  902. local L_61_
  903. if not L_61_ then
  904. L_61_ = Instance.new("Part", workspace)
  905. L_61_.Name = 'Crack'
  906. L_61_.FormFactor = "Custom"
  907. L_61_.TopSurface = 0
  908. L_61_.BottomSurface = 0
  909. L_61_.Transparency = 1
  910. L_61_.Anchored = true
  911. L_61_.CanCollide = false
  912. L_61_.Size = Vector3.new(0.5, 0, 0.5)
  913. L_61_.CFrame = CFrame.new(L_54_arg2) * CFrame.fromAxisAngle(L_55_arg3.magnitude == 0 and Vector3.new(1) or L_55_arg3.unit, L_56_arg4)
  914. L_61_.BrickColor = BrickColor.new("Really black")
  915. L_61_.Material = "SmoothPlastic"
  916.  
  917. if L_60_arg8 == 'NonExplosive' then
  918. local L_62_ = Instance.new("Decal", L_61_)
  919. L_62_.Texture = "rbxassetid://64291977"
  920. L_62_.Face = "Top"
  921. game.Debris:AddItem(L_62_, 3)
  922.  
  923. local L_63_ = Instance.new("PointLight", L_61_)
  924. L_63_.Color = Color3.new(0, 0, 0)
  925. L_63_.Range = 0
  926. L_63_.Shadows = true
  927.  
  928. game.Debris:AddItem(L_61_, 3)
  929.  
  930. local L_64_
  931. local L_65_
  932.  
  933. if L_58_arg6 == "Part" then
  934. L_64_ = L_19_:WaitForChild("Spark"):clone()
  935. L_64_.Parent = L_61_
  936. L_64_.EmissionDirection = "Top"
  937.  
  938. L_65_ = L_19_:WaitForChild("Smoke"):clone()
  939. L_65_.Parent = L_61_
  940. L_65_.EmissionDirection = "Top"
  941.  
  942. L_64_.Enabled = true
  943. L_65_.Enabled = true
  944.  
  945. game.Debris:AddItem(L_64_, 1)
  946. game.Debris:AddItem(L_65_, 1)
  947.  
  948. delay(0.1, function()
  949. L_64_.Enabled = false
  950. L_65_.Enabled = false
  951. end)
  952. elseif L_58_arg6 == "Human" then
  953. L_64_ = L_19_:WaitForChild("Blood"):clone()
  954. L_64_.Parent = L_61_
  955. L_64_.EmissionDirection = "Top"
  956. L_64_.Enabled = true
  957.  
  958. game.Debris:AddItem(L_64_, 1)
  959.  
  960. delay(0.1, function()
  961. L_64_.Enabled = false
  962. end)
  963. end
  964. elseif L_60_arg8 == 'Explosive' then
  965. local L_66_ = L_19_:WaitForChild('ExplosionSound'):clone()
  966. L_66_.Parent = L_61_
  967. L_66_:Play()
  968. game.Debris:AddItem(L_61_, 3)
  969. local L_67_ = Instance.new('Explosion')
  970. L_67_.Parent = L_61_
  971. L_67_.DestroyJointRadiusPercent = 10
  972. L_67_.ExplosionType = Enum.ExplosionType.NoCraters
  973. L_67_.Position = L_61_.Position
  974. end;
  975. end
  976. end;
  977.  
  978. L_25_.OnServerEvent:connect(function(L_68_arg1, L_69_arg2)
  979. for L_70_forvar1, L_71_forvar2 in pairs(game.Players:GetChildren()) do
  980. if L_71_forvar2:IsA('Player') and L_71_forvar2.PlayerGui:FindFirstChild('MainGui') and L_71_forvar2.PlayerGui.MainGui:FindFirstChild('Shading') then
  981. for L_72_forvar1, L_73_forvar2 in pairs(L_71_forvar2.Character:GetChildren()) do
  982. if L_73_forvar2:IsA('Tool') and L_73_forvar2:FindFirstChild('Resource') and L_73_forvar2.Resource:FindFirstChild('Events') and L_73_forvar2.Resource.Events:FindFirstChild('ServerFXEvent') then
  983. L_73_forvar2.Resource.Events.ServerFXEvent:FireClient(L_71_forvar2, L_69_arg2, L_68_arg1)
  984. end
  985. end
  986. end
  987. end
  988. end)
  989.  
  990. local L_30_
  991. L_27_.OnServerEvent:connect(function(L_74_arg1, L_75_arg2, L_76_arg3)
  992. L_75_arg2:TakeDamage(L_76_arg3)
  993. if L_75_arg2.Health <= 0 and L_75_arg2 ~= L_30_ then
  994. if L_20_ and L_20_:FindFirstChild(L_74_arg1.Name) then
  995. local L_77_ = L_20_[L_74_arg1.Name]
  996. L_77_.Value = not L_77_.Value
  997. end
  998. L_30_ = L_75_arg2
  999. end
  1000. end)
  1001.  
  1002. L_28_.OnServerEvent:connect(function(L_78_arg1, L_79_arg2)
  1003. local L_80_ = Instance.new("ObjectValue")
  1004. L_80_.Name = "creator"
  1005. L_80_.Value = L_78_arg1
  1006. L_80_.Parent = L_79_arg2
  1007. game.Debris:AddItem(L_80_, 3)
  1008. end)
  1009.  
  1010. --// Renders
  1011. game:GetService('RunService').Heartbeat:connect(function()
  1012. if L_18_ then
  1013. L_11_.Rotation = L_11_.Rotation + 5000
  1014. L_12_.Rotation = L_11_.Rotation + 5000
  1015. if L_10_ then
  1016. L_13_.Rotation = L_13_.Rotation + 5000
  1017. L_14_.Rotation = L_13_.Rotation + 5000
  1018. end
  1019.  
  1020. local L_81_, L_82_, L_83_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_3_:WaitForChild('Engine').CFrame.p, (L_3_:WaitForChild('Engine').CFrame.upVector).unit * -20), L_21_)
  1021.  
  1022. if L_81_ then
  1023. local L_84_ = Vector3.new(0, 1, 0):Cross(L_83_)
  1024. local L_85_ = math.asin(L_84_.magnitude)
  1025. if not L_15_ then
  1026. L_15_ = Instance.new('Part', workspace)
  1027. table.insert(L_21_, L_15_)
  1028. --newPart.Position = position
  1029. L_15_.Anchored = true
  1030. L_15_.CanCollide = false
  1031. L_15_.Transparency = 1
  1032. L_15_.CFrame = CFrame.new(L_82_) * CFrame.fromAxisAngle(L_84_.magnitude == 0 and Vector3.new(1) or L_84_.unit, L_85_)
  1033. elseif L_15_ then
  1034. --newPart.Position = position
  1035. L_15_.Anchored = true
  1036. L_15_.CanCollide = false
  1037. L_15_.Transparency = 1
  1038. L_15_.CFrame = CFrame.new(L_82_) * CFrame.fromAxisAngle(L_84_.magnitude == 0 and Vector3.new(1) or L_84_.unit, L_85_)
  1039. end
  1040. if not L_16_ and not L_17_ then
  1041. L_16_ = L_19_:WaitForChild('Debris'):clone()
  1042. L_16_.Parent = L_15_
  1043. L_16_.Enabled = true
  1044. L_17_ = L_19_:WaitForChild('DustUp'):clone()
  1045. L_17_.Parent = L_15_
  1046. L_17_.Enabled = true
  1047. end
  1048.  
  1049. if L_17_ then
  1050. L_17_.Color = ColorSequence.new(L_81_.BrickColor.Color)
  1051. end
  1052. end
  1053.  
  1054. if not L_81_ then
  1055. if L_15_ then
  1056. L_16_.Enabled = false
  1057. L_17_.Enabled = false
  1058. end
  1059. elseif L_81_ then
  1060. if L_15_ then
  1061. L_16_.Enabled = true
  1062. L_17_.Enabled = true
  1063. end
  1064. end
  1065. end
  1066. end)
  1067. end))
  1068. LocalScript59.Name = "Heli_Control"
  1069. LocalScript59.Parent = Script58
  1070. table.insert(cors,sandbox(LocalScript59,function()
  1071.  
  1072. repeat
  1073. wait()
  1074. until game.Players.LocalPlayer.Character
  1075.  
  1076. --// Variables
  1077. local L_1_ = game.Players.LocalPlayer
  1078. local L_2_ = L_1_.Character
  1079. local L_3_ = L_1_:GetMouse()
  1080. local L_4_ = script:WaitForChild('EnginePart').Value.Parent.Parent
  1081.  
  1082. local L_5_ = L_4_:WaitForChild('Networking')
  1083. local L_6_ = L_4_:WaitForChild('Modules')
  1084. local L_7_ = require(L_6_:WaitForChild('Config_Module'))
  1085.  
  1086. local L_8_ = game:GetService("UserInputService")
  1087. local L_9_ = game:GetService("RunService").RenderStepped
  1088.  
  1089. local L_10_ = script:WaitForChild('EnginePart').Value
  1090. local L_11_ = L_10_:WaitForChild('BodyPosition')
  1091. local L_12_ = L_10_:WaitForChild('BodyGyro')
  1092. local L_13_ = L_4_:WaitForChild('Required')
  1093.  
  1094. local L_14_ = false
  1095. local L_15_ = true
  1096. local L_16_ = false
  1097. local L_17_ = false
  1098.  
  1099. local L_18_ = L_7_.RocketAmmo
  1100.  
  1101. local L_19_ = false
  1102. local L_20_ = false
  1103. local L_21_ = false
  1104. local L_22_ = false
  1105. local L_23_ = false
  1106. local L_24_ = false
  1107. local L_25_ = true
  1108. local L_26_ = true
  1109.  
  1110. local L_27_ = true
  1111.  
  1112. local L_28_ = L_10_.Position
  1113. local L_29_ = L_10_.CFrame
  1114. local L_30_
  1115.  
  1116. local L_31_ = script:WaitForChild('HeliUI')
  1117. local L_32_ = L_31_:WaitForChild('Frame')
  1118. local L_33_ = L_32_:WaitForChild('Frame')
  1119. local L_34_ = L_33_:WaitForChild('AltDisp')
  1120. local L_35_ = L_33_:WaitForChild('StatusDisp')
  1121. local L_36_ = L_32_:WaitForChild('Title')
  1122. local L_37_ = L_33_:WaitForChild('RocketAmmo')
  1123. L_37_.Text = 'ATGs: ' .. L_18_
  1124.  
  1125. local L_38_ = workspace:FindFirstChild('BulletModel') or Instance.new('Folder')
  1126. L_38_.Parent = workspace
  1127.  
  1128. local L_39_ = {
  1129. L_2_,
  1130. L_4_,
  1131. L_38_
  1132. }
  1133.  
  1134. --// Events
  1135. local L_40_ = L_5_:WaitForChild('TurnOff')
  1136. local L_41_ = L_5_:WaitForChild('TurnOn')
  1137. local L_42_ = L_5_:WaitForChild('DustEvent')
  1138. local L_43_ = L_5_:WaitForChild('FXEvent')
  1139. local L_44_ = L_5_:WaitForChild('HitEvent')
  1140. local L_45_ = L_5_:WaitForChild('DamageEvent')
  1141. local L_46_ = L_5_:WaitForChild('CreateOwner')
  1142.  
  1143. --// Renders
  1144. L_9_:connect(function()
  1145. if not L_15_ then
  1146. L_2_:WaitForChild('Humanoid').Jump = false
  1147. end
  1148.  
  1149. if L_14_ then
  1150. L_34_.Text = 'ALTITUDE: ' .. math.ceil(L_2_:WaitForChild('Torso').Position.Y)
  1151.  
  1152. L_11_.Position = L_28_
  1153.  
  1154. if L_27_ then
  1155. L_12_.CFrame = L_3_.Hit * L_29_
  1156. L_30_ = L_3_.Hit
  1157. else
  1158. L_12_.CFrame = L_30_ * L_29_
  1159. end
  1160. end
  1161. end)
  1162.  
  1163. --// Functions
  1164. function TurnOff()
  1165. L_27_ = false
  1166. L_25_ = false
  1167. L_14_ = false
  1168. L_40_:FireServer()
  1169. end
  1170.  
  1171. function CheckForHumanoid(L_47_arg1)
  1172. local L_48_ = false
  1173. local L_49_ = nil
  1174. if L_47_arg1 then
  1175. if (L_47_arg1.Parent:FindFirstChild("Humanoid") or L_47_arg1.Parent.Parent:FindFirstChild("Humanoid")) then
  1176. L_48_ = true
  1177. if L_47_arg1.Parent:FindFirstChild('Humanoid') then
  1178. L_49_ = L_47_arg1.Parent.Humanoid
  1179. elseif L_47_arg1.Parent.Parent:FindFirstChild('Humanoid') then
  1180. L_49_ = L_47_arg1.Parent.Parent.Humanoid
  1181. end
  1182. else
  1183. L_48_ = false
  1184. end
  1185. end
  1186. return L_48_, L_49_
  1187. end
  1188.  
  1189. function Fire(L_50_arg1)
  1190. for L_61_forvar1, L_62_forvar2 in pairs(L_50_arg1:GetChildren()) do
  1191. if L_62_forvar2.Name:sub(1, 7) == 'FlashFX' then
  1192. L_62_forvar2.Enabled = true
  1193. end
  1194. end
  1195.  
  1196. delay(1 / 30, function()
  1197. for L_63_forvar1, L_64_forvar2 in pairs(L_50_arg1:GetChildren()) do
  1198. if L_64_forvar2.Name:sub(1, 7) == 'FlashFX' then
  1199. L_64_forvar2.Enabled = false
  1200. end
  1201. end
  1202. end)
  1203.  
  1204. local L_51_ = L_50_arg1.Position
  1205. local L_52_ = L_50_arg1.CFrame.lookVector.unit
  1206. local L_53_ = CFrame.new(L_51_, L_51_ + L_52_)
  1207.  
  1208. local L_54_ = Instance.new("Part")
  1209. L_54_.Parent = L_38_
  1210. game.Debris:AddItem(L_54_, 3)
  1211. L_54_.Shape = Enum.PartType.Block
  1212. L_54_.Size = L_7_.BulletSize
  1213. L_54_.Name = "Bullet"
  1214. L_54_.TopSurface = "Smooth"
  1215. L_54_.BottomSurface = "Smooth"
  1216. L_54_.BrickColor = BrickColor.new("Bright green")
  1217. L_54_.Material = "Neon"
  1218. L_54_.CanCollide = false
  1219. L_54_.CFrame = L_50_arg1.CFrame + (L_50_arg1.CFrame.p - L_50_arg1.CFrame.p)
  1220. L_54_.CFrame = CFrame.new(L_50_arg1.CFrame.p, L_50_arg1.CFrame.p + L_52_)
  1221.  
  1222. local L_55_ = Instance.new('BodyVelocity', L_54_)
  1223. L_55_.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1224. L_55_.P = 10
  1225.  
  1226. L_55_.Velocity = L_52_ * L_7_.BulletSpeed
  1227.  
  1228. local L_56_, L_57_, L_58_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_50_arg1.Position, L_50_arg1.CFrame.lookVector * L_7_.CastDist), L_39_);
  1229. local L_59_ = Vector3.new(0, 1, 0):Cross(L_58_)
  1230. local L_60_ = math.asin(L_59_.magnitude)
  1231.  
  1232. if L_56_ and (L_56_ and L_56_.Transparency >= 1 or L_56_.CanCollide == false) and L_56_.Name ~= 'Right Arm' and L_56_.Name ~= 'Left Arm' and L_56_.Name ~= 'Right Leg' and L_56_.Name ~= 'Left Leg' and L_56_.Name ~= 'Armor' then
  1233. table.insert(L_39_, L_56_)
  1234. end
  1235.  
  1236. if L_56_ then
  1237. L_59_ = Vector3.new(0, 1, 0):Cross(L_58_)
  1238. L_60_ = math.asin(L_59_.magnitude) -- division by 1 is redundant
  1239.  
  1240. L_43_:FireServer(L_57_)
  1241.  
  1242. local L_65_, L_66_ = CheckForHumanoid(L_56_)
  1243. if L_65_ == false then
  1244. local L_67_ = L_44_:InvokeServer(L_57_, L_59_, L_60_, L_58_, "Part", L_56_, 'NonExplosive')
  1245. elseif L_65_ == true then
  1246. local L_68_ = L_44_:InvokeServer(L_57_, L_59_, L_60_, L_58_, "Human", L_56_, 'NonExplosive')
  1247. L_46_:FireServer(L_66_)
  1248. L_45_:FireServer(L_66_, L_7_.BulletDamage)
  1249. end
  1250. end
  1251. end
  1252.  
  1253. function FireATG(L_69_arg1)
  1254. if L_18_ > 0 then
  1255. L_18_ = L_18_ - 1
  1256. if L_18_ < 0 then
  1257. L_18_ = 0
  1258. end
  1259.  
  1260. L_37_.Text = 'ATGs: ' .. L_18_
  1261.  
  1262. for L_84_forvar1, L_85_forvar2 in pairs(L_69_arg1:GetChildren()) do
  1263. if L_85_forvar2.Name:sub(1, 7) == 'FlashFX' then
  1264. L_85_forvar2.Enabled = true
  1265. end
  1266. end
  1267.  
  1268. delay(1 / 30, function()
  1269. for L_86_forvar1, L_87_forvar2 in pairs(L_69_arg1:GetChildren()) do
  1270. if L_87_forvar2.Name:sub(1, 7) == 'FlashFX' then
  1271. L_87_forvar2.Enabled = false
  1272. end
  1273. end
  1274. end)
  1275.  
  1276. local L_70_ = L_69_arg1.Position
  1277. local L_71_ = L_69_arg1.CFrame.lookVector.unit
  1278. local L_72_ = CFrame.new(L_70_, L_70_ + L_71_)
  1279.  
  1280. local L_73_ = Instance.new("Part")
  1281. L_73_.Parent = L_38_
  1282. game.Debris:AddItem(L_73_, 10)
  1283. L_73_.Shape = Enum.PartType.Block
  1284. L_73_.Size = L_7_.BulletSize
  1285. L_73_.Name = "Bullet"
  1286. L_73_.TopSurface = "Smooth"
  1287. L_73_.BottomSurface = "Smooth"
  1288. L_73_.BrickColor = BrickColor.new("Bright green")
  1289. L_73_.Material = "Neon"
  1290. L_73_.CanCollide = false
  1291. L_73_.CFrame = L_69_arg1.CFrame + (L_69_arg1.CFrame.p - L_69_arg1.CFrame.p)
  1292. L_73_.CFrame = CFrame.new(L_69_arg1.CFrame.p, L_69_arg1.CFrame.p + L_71_)
  1293. local L_74_ = L_4_:WaitForChild('FX'):WaitForChild('RocketTrail'):clone()
  1294. L_74_.Parent = L_73_
  1295. L_74_.Enabled = true
  1296.  
  1297. local L_75_ = Instance.new('BodyVelocity', L_73_)
  1298. L_75_.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1299. L_75_.P = 10
  1300.  
  1301. L_75_.Velocity = L_71_ * L_7_.BulletSpeed
  1302.  
  1303. local L_76_ = L_69_arg1.Position;
  1304. local L_77_ = L_73_.Position;
  1305. local L_78_ = 0
  1306. local L_79_, L_80_, L_81_
  1307. local L_82_
  1308. local L_83_
  1309.  
  1310. while true do
  1311. L_9_:wait()
  1312. L_77_ = L_73_.Position;
  1313. L_78_ = L_78_ + (L_77_ - L_76_).magnitude
  1314. L_79_, L_80_, L_81_ = workspace:FindPartOnRayWithIgnoreList(Ray.new(L_76_, (L_77_ - L_76_)), L_39_);
  1315. L_82_ = Vector3.new(0, 1, 0):Cross(L_81_)
  1316. L_83_ = math.asin(L_82_.magnitude) -- division by 1 is redundant
  1317.  
  1318. --[[if distance >= config.CastDist then
  1319. Bullet:Destroy()
  1320. break
  1321. end]]--
  1322.  
  1323. if L_79_ and (L_79_ and L_79_.Transparency >= 1 or L_79_.CanCollide == false) and L_79_.Name ~= 'Right Arm' and L_79_.Name ~= 'Left Arm' and L_79_.Name ~= 'Right Leg' and L_79_.Name ~= 'Left Leg' and L_79_.Name ~= 'Armor' then
  1324. table.insert(L_39_, L_79_)
  1325. end
  1326.  
  1327. if L_79_ then
  1328. L_82_ = Vector3.new(0, 1, 0):Cross(L_81_)
  1329. L_83_ = math.asin(L_82_.magnitude) -- division by 1 is redundant
  1330.  
  1331. L_43_:FireServer(L_80_)
  1332. local L_88_ = L_44_:InvokeServer(L_80_, L_82_, L_83_, L_81_, "Part", L_79_, 'Explosive')
  1333. L_73_:Destroy()
  1334. break
  1335. end
  1336. end
  1337. end
  1338. end
  1339.  
  1340. --// Connections
  1341. L_8_.InputBegan:connect(function(L_89_arg1, L_90_arg2)
  1342. if not L_90_arg2 then
  1343. if L_89_arg1.KeyCode == L_7_.StartupKey then
  1344. if not L_14_ and L_15_ then
  1345. L_15_ = false
  1346. L_35_.Text = 'STATUS: ' .. 'STARTING UP'
  1347. L_41_:FireServer()
  1348. L_10_:WaitForChild('StartUp'):Play()
  1349. wait(L_7_.StartupTime) -- 26.13
  1350. L_10_:WaitForChild('Spin'):Play()
  1351. L_10_:WaitForChild('StartUp'):Stop()
  1352. L_35_.Text = 'STATUS: ' .. 'ONLINE'
  1353. L_14_ = true
  1354. L_36_.Text = L_4_.Name
  1355. else
  1356. TurnOff()
  1357. L_31_:Destroy()
  1358. L_15_ = true
  1359. script:Destroy()
  1360. end
  1361. end
  1362.  
  1363. if L_14_ then
  1364. if L_89_arg1.KeyCode == L_7_.UpKey and not L_19_ then
  1365. L_19_ = true
  1366. while L_19_ do
  1367. L_9_:wait()
  1368. L_28_ = L_28_ + L_10_.CFrame.upVector.unit * L_7_.UpSpeed
  1369. end
  1370. end;
  1371.  
  1372. if L_89_arg1.KeyCode == L_7_.DownKey and not L_20_ then
  1373. L_20_ = true
  1374. while L_20_ do
  1375. L_9_:wait()
  1376. L_28_ = L_28_ + L_10_.CFrame.upVector.unit * -L_7_.DownSpeed
  1377. end
  1378. end;
  1379.  
  1380. if L_89_arg1.KeyCode == L_7_.ForwardKey and not L_21_ then
  1381. L_21_ = true
  1382. while L_21_ do
  1383. L_9_:wait()
  1384. L_28_ = L_28_ + L_10_.CFrame.lookVector.unit * L_7_.ForwardSpeed
  1385. L_29_ = CFrame.Angles(math.rad(-L_7_.FrontRotation), 0, 0)
  1386. end
  1387. L_29_ = CFrame.Angles(0, 0, 0)
  1388. end;
  1389.  
  1390. if L_89_arg1.KeyCode == L_7_.BackwardKey and not L_22_ then
  1391. L_22_ = true
  1392. while L_22_ do
  1393. L_9_:wait()
  1394. L_28_ = L_28_ + L_10_.CFrame.lookVector.unit * -L_7_.BackwardSpeed
  1395. L_29_ = CFrame.Angles(math.rad(L_7_.BackRotation), 0, 0)
  1396. end
  1397. L_29_ = CFrame.Angles(0, 0, 0)
  1398. end;
  1399.  
  1400. if L_89_arg1.KeyCode == L_7_.RightKey and not L_23_ then
  1401. L_23_ = true
  1402. while L_23_ do
  1403. L_9_:wait()
  1404. L_28_ = L_28_ + L_10_.CFrame.rightVector.unit * L_7_.RightSpeed
  1405. L_29_ = CFrame.Angles(0, 0, math.rad(-L_7_.RightRotation))
  1406. end
  1407. L_29_ = CFrame.Angles(0, 0, 0)
  1408. end;
  1409.  
  1410. if L_89_arg1.KeyCode == L_7_.LeftKey and not L_24_ then
  1411. L_24_ = true
  1412. while L_24_ do
  1413. L_9_:wait()
  1414. L_28_ = L_28_ + L_10_.CFrame.rightVector.unit * -L_7_.LeftSpeed
  1415. L_29_ = CFrame.Angles(0, 0, math.rad(L_7_.LeftRotation))
  1416. end
  1417. L_29_ = CFrame.Angles(0, 0, 0)
  1418. end;
  1419.  
  1420. if L_89_arg1.UserInputType == L_7_.MouseToggleKey and L_25_ then
  1421. if not L_27_ then
  1422. L_27_ = true
  1423. else
  1424. L_27_ = false
  1425. end
  1426. end;
  1427.  
  1428. if L_89_arg1.KeyCode == Enum.KeyCode.C and not L_16_ then
  1429. L_16_ = true
  1430. while L_16_ do
  1431. for L_91_forvar1, L_92_forvar2 in pairs(L_4_:WaitForChild('Weaponry'):GetChildren()) do
  1432. if L_92_forvar2:IsA('BasePart') and L_92_forvar2.Name == 'MG' then
  1433. L_92_forvar2.Fire:Play()
  1434. spawn(function ()
  1435. Fire(L_92_forvar2)
  1436. end)
  1437. end
  1438. end
  1439. wait(60 / L_7_.FireRate)
  1440. end
  1441. end;
  1442.  
  1443. if L_89_arg1.KeyCode == Enum.KeyCode.F and not L_17_ and L_26_ and L_18_ > 0 then
  1444. L_17_ = true
  1445. while L_17_ and L_26_ and L_18_ > 0 do
  1446. for L_93_forvar1, L_94_forvar2 in pairs(L_4_:WaitForChild('Weaponry'):GetChildren()) do
  1447. if L_94_forvar2:IsA('BasePart') and L_94_forvar2.Name == 'ATG' then
  1448. L_94_forvar2.Fire:Play()
  1449. spawn(function ()
  1450. FireATG(L_94_forvar2)
  1451. end)
  1452. end
  1453. end
  1454. L_26_ = false
  1455. wait(60 / L_7_.RocketFireRate)
  1456. L_26_ = true
  1457. end
  1458. end;
  1459. end
  1460. end;
  1461. end)
  1462.  
  1463. L_8_.InputEnded:connect(function(L_95_arg1, L_96_arg2)
  1464. if not L_96_arg2 then
  1465. if L_95_arg1.KeyCode == L_7_.UpKey and L_19_ then
  1466. L_19_ = false
  1467. end;
  1468.  
  1469. if L_95_arg1.KeyCode == L_7_.DownKey and L_20_ then
  1470. L_20_ = false
  1471. end;
  1472.  
  1473. if L_95_arg1.KeyCode == L_7_.ForwardKey and L_21_ then
  1474. L_21_ = false
  1475. end;
  1476.  
  1477. if L_95_arg1.KeyCode == L_7_.BackwardKey and L_22_ then
  1478. L_22_ = false
  1479. end;
  1480.  
  1481. if L_95_arg1.KeyCode == L_7_.RightKey and L_23_ then
  1482. L_23_ = false
  1483. end;
  1484.  
  1485. if L_95_arg1.KeyCode == L_7_.LeftKey and L_24_ then
  1486. L_24_ = false
  1487. end;
  1488.  
  1489. if L_95_arg1.KeyCode == Enum.KeyCode.C and L_16_ then
  1490. L_16_ = false
  1491. for L_97_forvar1, L_98_forvar2 in pairs(L_4_:WaitForChild('Weaponry'):GetChildren()) do
  1492. if L_98_forvar2:IsA('BasePart') and L_98_forvar2.Name == 'MG' then
  1493. L_98_forvar2.Fire:Stop()
  1494. end
  1495. end
  1496. end;
  1497.  
  1498. if L_95_arg1.KeyCode == Enum.KeyCode.F and L_17_ then
  1499. L_17_ = false
  1500. end;
  1501. end
  1502. end)
  1503.  
  1504. L_2_:WaitForChild('Humanoid').Died:connect(function()
  1505. TurnOff()
  1506. L_31_:Destroy()
  1507. L_15_ = true
  1508. script:Destroy()
  1509. end)
  1510.  
  1511. L_8_.JumpRequest:connect(function()
  1512. if L_15_ then
  1513. if L_1_.PlayerGui:FindFirstChild('Heli_Control') then
  1514. L_1_.PlayerGui['Heli_Control']:Destroy()
  1515. end
  1516. end
  1517. end)
  1518. end))
  1519. LocalScript59.Disabled = true
  1520. ObjectValue60.Name = "EnginePart"
  1521. ObjectValue60.Parent = LocalScript59
  1522. ScreenGui61.Name = "HeliUI"
  1523. ScreenGui61.Parent = LocalScript59
  1524. Frame62.Parent = ScreenGui61
  1525. Frame62.Position = UDim2.new(0.5, -150, 1, -250)
  1526. Frame62.Size = UDim2.new(0, 300, 0, 150)
  1527. Frame62.BackgroundColor = BrickColor.new("Black")
  1528. Frame62.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  1529. Frame62.BackgroundTransparency = 1
  1530. Frame62.BorderSizePixel = 0
  1531. Frame63.Parent = Frame62
  1532. Frame63.Position = UDim2.new(0, 0, 0, 27)
  1533. Frame63.Size = UDim2.new(1, 0, 1, -25)
  1534. Frame63.BackgroundColor = BrickColor.new("Black metallic")
  1535. Frame63.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1536. Frame63.BackgroundTransparency = 0.5
  1537. TextLabel64.Name = "AltDisp"
  1538. TextLabel64.Parent = Frame63
  1539. TextLabel64.Position = UDim2.new(0, 0, 1, -25)
  1540. TextLabel64.Size = UDim2.new(0.5, 0, 0, 25)
  1541. TextLabel64.BackgroundColor = BrickColor.new("Institutional white")
  1542. TextLabel64.BackgroundColor3 = Color3.new(1, 1, 1)
  1543. TextLabel64.BackgroundTransparency = 1
  1544. TextLabel64.Font = Enum.Font.SourceSans
  1545. TextLabel64.FontSize = Enum.FontSize.Size24
  1546. TextLabel64.Text = "ALTITUDE: "
  1547. TextLabel64.TextColor = BrickColor.new("Institutional white")
  1548. TextLabel64.TextColor3 = Color3.new(1, 1, 1)
  1549. TextLabel64.TextSize = 20
  1550. TextLabel65.Name = "COMING SOON"
  1551. TextLabel65.Parent = Frame63
  1552. TextLabel65.Position = UDim2.new(0.5, 0, 1, -25)
  1553. TextLabel65.Size = UDim2.new(0.5, 0, 0, 25)
  1554. TextLabel65.BackgroundColor = BrickColor.new("Institutional white")
  1555. TextLabel65.BackgroundColor3 = Color3.new(1, 1, 1)
  1556. TextLabel65.BackgroundTransparency = 1
  1557. TextLabel65.Font = Enum.Font.SourceSans
  1558. TextLabel65.FontSize = Enum.FontSize.Size24
  1559. TextLabel65.Text = "COMING SOON"
  1560. TextLabel65.TextColor = BrickColor.new("Institutional white")
  1561. TextLabel65.TextColor3 = Color3.new(1, 1, 1)
  1562. TextLabel65.TextSize = 20
  1563. TextLabel66.Name = "StatusDisp"
  1564. TextLabel66.Parent = Frame63
  1565. TextLabel66.Position = UDim2.new(0.5, -100, 0, 0)
  1566. TextLabel66.Size = UDim2.new(0, 200, 0, 25)
  1567. TextLabel66.BackgroundColor = BrickColor.new("Institutional white")
  1568. TextLabel66.BackgroundColor3 = Color3.new(1, 1, 1)
  1569. TextLabel66.BackgroundTransparency = 1
  1570. TextLabel66.Font = Enum.Font.SourceSans
  1571. TextLabel66.FontSize = Enum.FontSize.Size24
  1572. TextLabel66.Text = "STATUS:"
  1573. TextLabel66.TextColor = BrickColor.new("Institutional white")
  1574. TextLabel66.TextColor3 = Color3.new(1, 1, 1)
  1575. TextLabel66.TextSize = 20
  1576. TextLabel67.Name = "RocketAmmo"
  1577. TextLabel67.Parent = Frame63
  1578. TextLabel67.Position = UDim2.new(0.5, -100, 0.5, 0)
  1579. TextLabel67.Size = UDim2.new(0, 200, 0, 25)
  1580. TextLabel67.BackgroundColor = BrickColor.new("Institutional white")
  1581. TextLabel67.BackgroundColor3 = Color3.new(1, 1, 1)
  1582. TextLabel67.BackgroundTransparency = 1
  1583. TextLabel67.Font = Enum.Font.SourceSans
  1584. TextLabel67.FontSize = Enum.FontSize.Size24
  1585. TextLabel67.Text = "ATGs: "
  1586. TextLabel67.TextColor = BrickColor.new("Institutional white")
  1587. TextLabel67.TextColor3 = Color3.new(1, 1, 1)
  1588. TextLabel67.TextSize = 20
  1589. TextLabel68.Name = "Title"
  1590. TextLabel68.Parent = Frame62
  1591. TextLabel68.Size = UDim2.new(1, 0, 0, 25)
  1592. TextLabel68.BackgroundColor = BrickColor.new("Black metallic")
  1593. TextLabel68.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  1594. TextLabel68.BorderSizePixel = 0
  1595. TextLabel68.Font = Enum.Font.SourceSans
  1596. TextLabel68.FontSize = Enum.FontSize.Size28
  1597. TextLabel68.Text = "Heli Kit"
  1598. TextLabel68.TextColor = BrickColor.new("Institutional white")
  1599. TextLabel68.TextColor3 = Color3.new(1, 1, 1)
  1600. TextLabel68.TextSize = 25
  1601. Part69.Name = "Staff"
  1602. Part69.Parent = Folder53
  1603. Part69.CFrame = CFrame.new(8.09359837, 10.6408682, -61.7264786, -1, -2.89998825e-05, 0, -2.89998825e-05, 1, 0, 0, 0, -1)
  1604. Part69.Orientation = Vector3.new(0, 180, 0)
  1605. Part69.Position = Vector3.new(8.09359837, 10.6408682, -61.7264786)
  1606. Part69.Rotation = Vector3.new(-180, 0, 180)
  1607. Part69.Size = Vector3.new(0.599997044, 0.0500000007, 0.600005031)
  1608. Part69.Anchored = true
  1609. Part69.BottomSurface = Enum.SurfaceType.Smooth
  1610. Part69.CanCollide = false
  1611. Part69.TopSurface = Enum.SurfaceType.Smooth
  1612. Part70.Name = "Rotor"
  1613. Part70.Parent = Folder53
  1614. Part70.CFrame = CFrame.new(8.08569431, 10.205636, -65.3116837, -0.000196999201, -3.60000013e-05, -1, 0, 1, -3.60000013e-05, 1, -7.09197145e-09, -0.000196999201)
  1615. Part70.Orientation = Vector3.new(0, -90.0100021, 0)
  1616. Part70.Position = Vector3.new(8.08569431, 10.205636, -65.3116837)
  1617. Part70.Rotation = Vector3.new(0, -90, 0)
  1618. Part70.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1619. Part70.Transparency = 1
  1620. Part70.Size = Vector3.new(0.0500000007, 0.0995381102, 0.0500000007)
  1621. Part70.Anchored = true
  1622. Part70.BottomSurface = Enum.SurfaceType.Smooth
  1623. Part70.BrickColor = BrickColor.new("Institutional white")
  1624. Part70.CanCollide = false
  1625. Part70.TopSurface = Enum.SurfaceType.Hinge
  1626. Part70.brickColor = BrickColor.new("Institutional white")
  1627. Part70.FormFactor = Enum.FormFactor.Custom
  1628. Part70.formFactor = Enum.FormFactor.Custom
  1629. SurfaceGui71.Name = "Top"
  1630. SurfaceGui71.Parent = Part70
  1631. SurfaceGui71.Face = Enum.NormalId.Top
  1632. SurfaceGui71.CanvasSize = Vector2.new(800, 800)
  1633. Frame72.Name = "Rotor"
  1634. Frame72.Parent = SurfaceGui71
  1635. Frame72.Position = UDim2.new(0, 80, 0, 80)
  1636. Frame72.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
  1637. Frame72.BackgroundColor = BrickColor.new("Really black")
  1638. Frame72.BackgroundColor3 = Color3.new(0, 0, 0)
  1639. Frame72.BackgroundTransparency = 1
  1640. Frame73.Name = "One"
  1641. Frame73.Parent = Frame72
  1642. Frame73.Position = UDim2.new(0.5, -10, 0, 10)
  1643. Frame73.Size = UDim2.new(0, 20, 0, 400)
  1644. Frame73.BackgroundColor = BrickColor.new("Really black")
  1645. Frame73.BackgroundColor3 = Color3.new(0, 0, 0)
  1646. Frame73.BorderSizePixel = 0
  1647. Frame74.Name = "Color"
  1648. Frame74.Parent = Frame73
  1649. Frame74.Size = UDim2.new(1, 0, 0, 15)
  1650. Frame74.BackgroundColor = BrickColor.new("New Yeller")
  1651. Frame74.BackgroundColor3 = Color3.new(1, 1, 0)
  1652. Frame74.BorderSizePixel = 0
  1653. Frame74.ZIndex = 2
  1654. Frame75.Name = "Two"
  1655. Frame75.Parent = Frame72
  1656. Frame75.Position = UDim2.new(0, -2, 0.5, -14)
  1657. Frame75.Size = UDim2.new(0, 400, 0, 20)
  1658. Frame75.BackgroundColor = BrickColor.new("Really black")
  1659. Frame75.BackgroundColor3 = Color3.new(0, 0, 0)
  1660. Frame75.BorderSizePixel = 0
  1661. Frame76.Name = "Color"
  1662. Frame76.Parent = Frame75
  1663. Frame76.Size = UDim2.new(0, 15, 1, 0)
  1664. Frame76.BackgroundColor = BrickColor.new("New Yeller")
  1665. Frame76.BackgroundColor3 = Color3.new(1, 1, 0)
  1666. Frame76.BorderSizePixel = 0
  1667. Frame76.ZIndex = 2
  1668. Frame77.Name = "Three"
  1669. Frame77.Parent = Frame72
  1670. Frame77.Position = UDim2.new(1, -400, 0.5, -14)
  1671. Frame77.Rotation = 180
  1672. Frame77.Size = UDim2.new(0, 400, 0, 20)
  1673. Frame77.BackgroundColor = BrickColor.new("Really black")
  1674. Frame77.BackgroundColor3 = Color3.new(0, 0, 0)
  1675. Frame77.BorderSizePixel = 0
  1676. Frame78.Name = "Color"
  1677. Frame78.Parent = Frame77
  1678. Frame78.Size = UDim2.new(0, 15, 1, 0)
  1679. Frame78.BackgroundColor = BrickColor.new("New Yeller")
  1680. Frame78.BackgroundColor3 = Color3.new(1, 1, 0)
  1681. Frame78.BorderSizePixel = 0
  1682. Frame78.ZIndex = 2
  1683. Frame79.Name = "Four"
  1684. Frame79.Parent = Frame72
  1685. Frame79.Position = UDim2.new(0.5, -10, 1, -400)
  1686. Frame79.Rotation = 180
  1687. Frame79.Size = UDim2.new(0, 20, 0, 400)
  1688. Frame79.BackgroundColor = BrickColor.new("Really black")
  1689. Frame79.BackgroundColor3 = Color3.new(0, 0, 0)
  1690. Frame79.BorderSizePixel = 0
  1691. Frame80.Name = "Color"
  1692. Frame80.Parent = Frame79
  1693. Frame80.Size = UDim2.new(1, 0, 0, 15)
  1694. Frame80.BackgroundColor = BrickColor.new("New Yeller")
  1695. Frame80.BackgroundColor3 = Color3.new(1, 1, 0)
  1696. Frame80.BorderColor = BrickColor.new("Cocoa")
  1697. Frame80.BorderColor3 = Color3.new(0.207843, 0.164706, 0.0823529)
  1698. Frame80.BorderSizePixel = 0
  1699. Frame80.ZIndex = 2
  1700. BlockMesh81.Parent = Part70
  1701. BlockMesh81.Scale = Vector3.new(1, 0.988116205, 1)
  1702. SurfaceGui82.Name = "Bottom"
  1703. SurfaceGui82.Parent = Part70
  1704. SurfaceGui82.Face = Enum.NormalId.Bottom
  1705. SurfaceGui82.CanvasSize = Vector2.new(800, 800)
  1706. Frame83.Name = "Rotor"
  1707. Frame83.Parent = SurfaceGui82
  1708. Frame83.Position = UDim2.new(0, 80, 0, 80)
  1709. Frame83.Size = UDim2.new(0.800000012, 0, 0.800000012, 0)
  1710. Frame83.BackgroundColor = BrickColor.new("Really black")
  1711. Frame83.BackgroundColor3 = Color3.new(0, 0, 0)
  1712. Frame83.BackgroundTransparency = 1
  1713. Frame84.Name = "Four"
  1714. Frame84.Parent = Frame83
  1715. Frame84.Position = UDim2.new(0.5, -10, 1, -400)
  1716. Frame84.Rotation = 180
  1717. Frame84.Size = UDim2.new(0, 20, 0, 400)
  1718. Frame84.BackgroundColor = BrickColor.new("Really black")
  1719. Frame84.BackgroundColor3 = Color3.new(0, 0, 0)
  1720. Frame84.BorderSizePixel = 0
  1721. Frame85.Name = "Color"
  1722. Frame85.Parent = Frame84
  1723. Frame85.Size = UDim2.new(1, 0, 0, 15)
  1724. Frame85.BackgroundColor = BrickColor.new("New Yeller")
  1725. Frame85.BackgroundColor3 = Color3.new(1, 1, 0)
  1726. Frame85.BorderColor = BrickColor.new("Cocoa")
  1727. Frame85.BorderColor3 = Color3.new(0.207843, 0.164706, 0.0823529)
  1728. Frame85.BorderSizePixel = 0
  1729. Frame85.ZIndex = 2
  1730. Frame86.Name = "One"
  1731. Frame86.Parent = Frame83
  1732. Frame86.Position = UDim2.new(0.5, -10, 0, 10)
  1733. Frame86.Size = UDim2.new(0, 20, 0, 400)
  1734. Frame86.BackgroundColor = BrickColor.new("Really black")
  1735. Frame86.BackgroundColor3 = Color3.new(0, 0, 0)
  1736. Frame86.BorderSizePixel = 0
  1737. Frame87.Name = "Color"
  1738. Frame87.Parent = Frame86
  1739. Frame87.Size = UDim2.new(1, 0, 0, 15)
  1740. Frame87.BackgroundColor = BrickColor.new("New Yeller")
  1741. Frame87.BackgroundColor3 = Color3.new(1, 1, 0)
  1742. Frame87.BorderSizePixel = 0
  1743. Frame87.ZIndex = 2
  1744. Frame88.Name = "Three"
  1745. Frame88.Parent = Frame83
  1746. Frame88.Position = UDim2.new(1, -400, 0.5, -14)
  1747. Frame88.Rotation = 180
  1748. Frame88.Size = UDim2.new(0, 400, 0, 20)
  1749. Frame88.BackgroundColor = BrickColor.new("Really black")
  1750. Frame88.BackgroundColor3 = Color3.new(0, 0, 0)
  1751. Frame88.BorderSizePixel = 0
  1752. Frame89.Name = "Color"
  1753. Frame89.Parent = Frame88
  1754. Frame89.Size = UDim2.new(0, 15, 1, 0)
  1755. Frame89.BackgroundColor = BrickColor.new("New Yeller")
  1756. Frame89.BackgroundColor3 = Color3.new(1, 1, 0)
  1757. Frame89.BorderSizePixel = 0
  1758. Frame89.ZIndex = 2
  1759. Frame90.Name = "Two"
  1760. Frame90.Parent = Frame83
  1761. Frame90.Position = UDim2.new(0, -2, 0.5, -14)
  1762. Frame90.Size = UDim2.new(0, 400, 0, 20)
  1763. Frame90.BackgroundColor = BrickColor.new("Really black")
  1764. Frame90.BackgroundColor3 = Color3.new(0, 0, 0)
  1765. Frame90.BorderSizePixel = 0
  1766. Frame91.Name = "Color"
  1767. Frame91.Parent = Frame90
  1768. Frame91.Size = UDim2.new(0, 15, 1, 0)
  1769. Frame91.BackgroundColor = BrickColor.new("New Yeller")
  1770. Frame91.BackgroundColor3 = Color3.new(1, 1, 0)
  1771. Frame91.BorderSizePixel = 0
  1772. Frame91.ZIndex = 2
  1773. Part92.Name = "Vents"
  1774. Part92.Parent = Folder53
  1775. Part92.CFrame = CFrame.new(8.19277, 7.33441401, -61.5414505, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1776. Part92.Orientation = Vector3.new(0, 180, 0)
  1777. Part92.Position = Vector3.new(8.19277, 7.33441401, -61.5414505)
  1778. Part92.Rotation = Vector3.new(-180, 0, -180)
  1779. Part92.Transparency = 1
  1780. Part92.Size = Vector3.new(1.49999678, 1.27999771, 0.790004909)
  1781. Part92.Anchored = true
  1782. Part92.BottomSurface = Enum.SurfaceType.Smooth
  1783. Part92.CanCollide = false
  1784. Part92.TopSurface = Enum.SurfaceType.Smooth
  1785. ParticleEmitter93.Name = "Smoke"
  1786. ParticleEmitter93.Parent = Part92
  1787. ParticleEmitter93.Enabled = false
  1788. ParticleEmitter93.LightInfluence = 1
  1789. ParticleEmitter93.Texture = "rbxassetid://1894103633"
  1790. ParticleEmitter93.Transparency = NumberSequence.new(0.94999998807907,1)
  1791. ParticleEmitter93.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  1792. ParticleEmitter93.EmissionDirection = Enum.NormalId.Back
  1793. ParticleEmitter93.Lifetime = NumberRange.new(2, 2)
  1794. ParticleEmitter93.Rate = 50
  1795. ParticleEmitter93.RotSpeed = NumberRange.new(3, 3)
  1796. ParticleEmitter93.SpreadAngle = Vector2.new(30, 30)
  1797. ParticleEmitter93.VelocitySpread = 30
  1798. Folder94.Name = "INSTRUCTIONS"
  1799. Folder94.Parent = Model10
  1800. ModuleScript95.Name = "Instruction Manual"
  1801. ModuleScript95.Parent = Folder94
  1802. table.insert(cors,sandbox(ModuleScript95,function()
  1803. --[[
  1804. Welcome and thank you guys for your continued support of warbound! Here is Warbound's newest release, the helicopter kit! Made by StoneFox_Alfa
  1805.  
  1806. Please guys don't break any braincells trying to figure this thing out, it's very VERY straight forward. Just make sure you got all the components
  1807. and they're where they belong. If you want two rotors, name the second one "Rotor2" and make sure it has the same components as the Rotor does.
  1808. Also make sure everything is anchored. That's really it. If y'all got any questions, join the provided link or add me on discord at StoneFox_Alfa#0986
  1809.  
  1810. NOTE: This kit is currently in its very first version, V1. It's EXTREMELY basic. The reason why I haven't added much to it so far is because
  1811. I want to make sure it's stable before I continue. Once I'm positive it's working right, I'll be adding a crap ton of cool features as always!
  1812. I also plan to go more into detail in this instruction manual as the kit becomes more complex.
  1813.  
  1814. WARBOUND SUPPORT LINK: https://discord.gg/EcuFrjT
  1815. --]]
  1816. end))
  1817. Folder96.Name = "BodyKit"
  1818. Folder96.Parent = Model10
  1819. Part97.Parent = Folder96
  1820. Part97.CFrame = CFrame.new(7.90240812, 9.31922626, -47.3142853, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1821. Part97.Orientation = Vector3.new(90, 0, 0)
  1822. Part97.Position = Vector3.new(7.90240812, 9.31922626, -47.3142853)
  1823. Part97.Rotation = Vector3.new(90, 0, 0)
  1824. Part97.Transparency = 4
  1825. Part97.Size = Vector3.new(2.20000005, 0.200000003, 0.400000006)
  1826. Part97.Anchored = true
  1827. Part97.BottomSurface = Enum.SurfaceType.Weld
  1828. Part97.Material = Enum.Material.SmoothPlastic
  1829. Part97.TopSurface = Enum.SurfaceType.Smooth
  1830. Weld98.Parent = Part97
  1831. Weld98.C0 = CFrame.new(0, -0.100000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  1832. Weld98.C1 = CFrame.new(-0.300014496, 0.100006104, -0.0999565125, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1833. Weld98.Part0 = Part97
  1834. Weld98.Part1 = Part183
  1835. Weld98.part1 = Part183
  1836. Weld99.Parent = Part97
  1837. Weld99.C0 = CFrame.new(0, -0.100000001, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  1838. Weld99.C1 = CFrame.new(-0.300014496, 0.0999450684, 0.099981308, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1839. Weld99.Part0 = Part97
  1840. Weld99.Part1 = Part176
  1841. Weld99.part1 = Part176
  1842. UnionOperation100.Name = "Carbiner"
  1843. UnionOperation100.Parent = Folder96
  1844. UnionOperation100.CFrame = CFrame.new(14.350872, 10.6103582, -53.8276672, -1.62981451e-09, 1, -2.45927301e-09, -5.21535242e-08, -2.45927323e-09, -1, -1, -1.62981451e-09, 5.21535242e-08)
  1845. UnionOperation100.Orientation = Vector3.new(90, 90, 0)
  1846. UnionOperation100.Position = Vector3.new(14.350872, 10.6103582, -53.8276672)
  1847. UnionOperation100.Rotation = Vector3.new(90, 0, -90)
  1848. UnionOperation100.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1849. UnionOperation100.Size = Vector3.new(0.050000038, 0.300000101, 0.550000012)
  1850. UnionOperation100.BrickColor = BrickColor.new("Really black")
  1851. UnionOperation100.CanCollide = false
  1852. UnionOperation100.Material = Enum.Material.SmoothPlastic
  1853. UnionOperation100.brickColor = BrickColor.new("Really black")
  1854. Script101.Parent = UnionOperation100
  1855. table.insert(cors,sandbox(Script101,function()
  1856. --Rappel script
  1857. --By: lordrex12345
  1858. --August 3, 2017
  1859.  
  1860. local RappelPart = script.Parent
  1861. local ExperationTime = 15
  1862. local Now = 0
  1863. local Later = 0
  1864. local WinchBusy = false
  1865.  
  1866. RappelPart.ClickDetector.MouseClick:connect(function(PlayerWhoClicked)--Attach a rope constraint from the player to the RappelPart
  1867. Now = tick()
  1868.  
  1869. if PlayerWhoClicked and not WinchBusy then
  1870.  
  1871. WinchBusy = true
  1872.  
  1873. local Attachment0 = Instance.new('Attachment')
  1874. Attachment0.Parent = RappelPart
  1875. game:GetService("Debris"):AddItem(Attachment0,20)
  1876.  
  1877. local Attachment1 = Instance.new('Attachment')
  1878. Attachment1.Parent = PlayerWhoClicked.Character.Torso
  1879. game:GetService("Debris"):AddItem(Attachment1,20)
  1880.  
  1881. local RopeConstraint = Instance.new('RopeConstraint')
  1882. RopeConstraint.Parent = script.Parent
  1883. RopeConstraint.Length = 8
  1884. RopeConstraint.Attachment0 = RappelPart.Attachment
  1885. RopeConstraint.Attachment1 = PlayerWhoClicked.Character.Torso.Attachment
  1886. RopeConstraint.Visible = true
  1887. game:GetService("Debris"):AddItem(RopeConstraint,20)
  1888.  
  1889. PlayerWhoClicked.Character.Humanoid.Jump = true
  1890. wait(.2)
  1891.  
  1892. while not PlayerWhoClicked.Character.Humanoid.Jump do--Gradually lengthen rope till the player jumps
  1893. if Later - Now < ExperationTime then --Check to see if experation time will last
  1894. RopeConstraint.Length = RopeConstraint.Length +.3
  1895. Later = tick()
  1896. wait()
  1897. else
  1898. break
  1899. end
  1900. end
  1901. Attachment0:Destroy()
  1902. Attachment1:Destroy()
  1903. RopeConstraint:Destroy()
  1904. WinchBusy = false
  1905. end
  1906. end)
  1907. end))
  1908. ClickDetector102.Parent = UnionOperation100
  1909. ClickDetector102.MaxActivationDistance = 6
  1910. Part103.Parent = UnionOperation100
  1911. Part103.CFrame = CFrame.new(3.45325089, 2.88362503, -49.9481659, 2.09999998e-05, 0, 1, 0, 1, 0, -1, 0, 2.09999998e-05)
  1912. Part103.Orientation = Vector3.new(0, 90, 0)
  1913. Part103.Position = Vector3.new(3.45325089, 2.88362503, -49.9481659)
  1914. Part103.Rotation = Vector3.new(0, 90, 0)
  1915. Part103.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1916. Part103.Transparency = 1
  1917. Part103.Size = Vector3.new(13.7942324, 0.646603942, 0.646604776)
  1918. Part103.Anchored = true
  1919. Part103.BottomSurface = Enum.SurfaceType.Smooth
  1920. Part103.BrickColor = BrickColor.new("Black")
  1921. Part103.TopSurface = Enum.SurfaceType.Smooth
  1922. Part103.brickColor = BrickColor.new("Black")
  1923. Part104.Parent = UnionOperation100
  1924. Part104.CFrame = CFrame.new(13.0403824, 2.88363695, -49.9478912, 2.09999998e-05, 0, 1, 0, 1, 0, -1, 0, 2.09999998e-05)
  1925. Part104.Orientation = Vector3.new(0, 90, 0)
  1926. Part104.Position = Vector3.new(13.0403824, 2.88363695, -49.9478912)
  1927. Part104.Rotation = Vector3.new(0, 90, 0)
  1928. Part104.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1929. Part104.Transparency = 1
  1930. Part104.Size = Vector3.new(13.7942324, 0.646603942, 0.646604776)
  1931. Part104.Anchored = true
  1932. Part104.BottomSurface = Enum.SurfaceType.Smooth
  1933. Part104.BrickColor = BrickColor.new("Black")
  1934. Part104.TopSurface = Enum.SurfaceType.Smooth
  1935. Part104.brickColor = BrickColor.new("Black")
  1936. Part105.Parent = UnionOperation100
  1937. Part105.CFrame = CFrame.new(8.25249577, 8.41366005, -49.8912086, 2.09999998e-05, 0, 1, 0, 1, 0, -1, 0, 2.09999998e-05)
  1938. Part105.Orientation = Vector3.new(0, 90, 0)
  1939. Part105.Position = Vector3.new(8.25249577, 8.41366005, -49.8912086)
  1940. Part105.Rotation = Vector3.new(0, 90, 0)
  1941. Part105.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1942. Part105.Transparency = 1
  1943. Part105.Size = Vector3.new(22.4897385, 11.207799, 12.2267094)
  1944. Part105.Anchored = true
  1945. Part105.BrickColor = BrickColor.new("Black")
  1946. Part105.CanCollide = false
  1947. Part105.brickColor = BrickColor.new("Black")
  1948. Part106.Parent = UnionOperation100
  1949. Part106.CFrame = CFrame.new(8.190732, 8.58090401, -49.0116615, -2.80000004e-05, 1, 0, 0, 0, 1, 1, 2.80000004e-05, 0)
  1950. Part106.Orientation = Vector3.new(-90, -90, 0)
  1951. Part106.Position = Vector3.new(8.190732, 8.58090401, -49.0116615)
  1952. Part106.Rotation = Vector3.new(-90, 0, -90)
  1953. Part106.Transparency = 0.5
  1954. Part106.Size = Vector3.new(5.88524103, 5.15224934, 5.28458977)
  1955. Part106.Anchored = true
  1956. Part106.CanCollide = false
  1957. SpecialMesh107.Parent = Part106
  1958. SpecialMesh107.MeshId = "rbxassetid://753802163"
  1959. SpecialMesh107.Scale = Vector3.new(-0.0389653705, -0.0389653556, -0.0389653929)
  1960. SpecialMesh107.TextureId = "rbxassetid://642328882"
  1961. SpecialMesh107.MeshType = Enum.MeshType.FileMesh
  1962. UnionOperation108.Name = "Carbiner"
  1963. UnionOperation108.Parent = Folder96
  1964. UnionOperation108.CFrame = CFrame.new(2.10089803, 10.6103582, -53.8276672, -1.62981451e-09, 1, -2.45927301e-09, -5.21535242e-08, -2.45927323e-09, -1, -1, -1.62981451e-09, 5.21535242e-08)
  1965. UnionOperation108.Orientation = Vector3.new(90, 90, 0)
  1966. UnionOperation108.Position = Vector3.new(2.10089803, 10.6103582, -53.8276672)
  1967. UnionOperation108.Rotation = Vector3.new(90, 0, -90)
  1968. UnionOperation108.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1969. UnionOperation108.Size = Vector3.new(0.050000038, 0.300000101, 0.550000012)
  1970. UnionOperation108.BrickColor = BrickColor.new("Really black")
  1971. UnionOperation108.CanCollide = false
  1972. UnionOperation108.Material = Enum.Material.SmoothPlastic
  1973. UnionOperation108.brickColor = BrickColor.new("Really black")
  1974. Script109.Parent = UnionOperation108
  1975. table.insert(cors,sandbox(Script109,function()
  1976. --Rappel script
  1977. --By: lordrex12345
  1978. --August 3, 2017
  1979.  
  1980. local RappelPart = script.Parent
  1981. local ExperationTime = 15
  1982. local Now = 0
  1983. local Later = 0
  1984. local WinchBusy = false
  1985.  
  1986. RappelPart.ClickDetector.MouseClick:connect(function(PlayerWhoClicked)--Attach a rope constraint from the player to the RappelPart
  1987. Now = tick()
  1988.  
  1989. if PlayerWhoClicked and not WinchBusy then
  1990.  
  1991. WinchBusy = true
  1992.  
  1993. local Attachment0 = Instance.new('Attachment')
  1994. Attachment0.Parent = RappelPart
  1995. game:GetService("Debris"):AddItem(Attachment0,20)
  1996.  
  1997. local Attachment1 = Instance.new('Attachment')
  1998. Attachment1.Parent = PlayerWhoClicked.Character.Torso
  1999. game:GetService("Debris"):AddItem(Attachment1,20)
  2000.  
  2001. local RopeConstraint = Instance.new('RopeConstraint')
  2002. RopeConstraint.Parent = script.Parent
  2003. RopeConstraint.Length = 8
  2004. RopeConstraint.Attachment0 = RappelPart.Attachment
  2005. RopeConstraint.Attachment1 = PlayerWhoClicked.Character.Torso.Attachment
  2006. RopeConstraint.Visible = true
  2007. game:GetService("Debris"):AddItem(RopeConstraint,20)
  2008.  
  2009. PlayerWhoClicked.Character.Humanoid.Jump = true
  2010. wait(.2)
  2011.  
  2012. while not PlayerWhoClicked.Character.Humanoid.Jump do--Gradually lengthen rope till the player jumps
  2013. if Later - Now < ExperationTime then --Check to see if experation time will last
  2014. RopeConstraint.Length = RopeConstraint.Length +.3
  2015. Later = tick()
  2016. wait()
  2017. else
  2018. break
  2019. end
  2020. end
  2021. Attachment0:Destroy()
  2022. Attachment1:Destroy()
  2023. RopeConstraint:Destroy()
  2024. WinchBusy = false
  2025. end
  2026. end)
  2027. end))
  2028. ClickDetector110.Parent = UnionOperation108
  2029. ClickDetector110.MaxActivationDistance = 6
  2030. MeshPart111.Parent = Folder96
  2031. MeshPart111.CFrame = CFrame.new(7.78247213, 7.74701023, -51.0449524, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  2032. MeshPart111.Orientation = Vector3.new(90, 90, 0)
  2033. MeshPart111.Position = Vector3.new(7.78247213, 7.74701023, -51.0449524)
  2034. MeshPart111.Rotation = Vector3.new(90, 0, -90)
  2035. MeshPart111.Size = Vector3.new(10.7772427, 11.6506491, 10.2715235)
  2036. MeshPart111.Anchored = true
  2037. MeshPart111.CanCollide = false
  2038. MeshPart111.Material = Enum.Material.Concrete
  2039. MeshPart111.TextureID = "rbxassetid://753814487"
  2040. MeshPart112.Parent = Folder96
  2041. MeshPart112.CFrame = CFrame.new(8.67028046, 8.45157814, -60.9085922, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  2042. MeshPart112.Orientation = Vector3.new(90, 90, 0)
  2043. MeshPart112.Position = Vector3.new(8.67028046, 8.45157814, -60.9085922)
  2044. MeshPart112.Rotation = Vector3.new(90, 0, -90)
  2045. MeshPart112.Size = Vector3.new(27.7473621, 11.5099363, 11.6807127)
  2046. MeshPart112.Anchored = true
  2047. MeshPart112.CanCollide = false
  2048. MeshPart112.Material = Enum.Material.Concrete
  2049. MeshPart112.TextureID = "rbxassetid://753814487"
  2050. MeshPart113.Parent = Folder96
  2051. MeshPart113.CFrame = CFrame.new(8.19104385, 8.56956959, -48.9936218, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  2052. MeshPart113.Orientation = Vector3.new(90, 90, 0)
  2053. MeshPart113.Position = Vector3.new(8.19104385, 8.56956959, -48.9936218)
  2054. MeshPart113.Rotation = Vector3.new(90, 0, -90)
  2055. MeshPart113.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2056. MeshPart113.Transparency = 0.40000000596046
  2057. MeshPart113.Size = Vector3.new(6.48067904, 5.15196657, 6.18852043)
  2058. MeshPart113.Anchored = true
  2059. MeshPart113.BrickColor = BrickColor.new("Dark stone grey")
  2060. MeshPart113.CanCollide = false
  2061. MeshPart113.Material = Enum.Material.Glass
  2062. MeshPart113.Reflectance = -1
  2063. MeshPart113.brickColor = BrickColor.new("Dark stone grey")
  2064. MeshPart114.Parent = Folder96
  2065. MeshPart114.CFrame = CFrame.new(8.16712189, 6.68372202, -53.8057251, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  2066. MeshPart114.Orientation = Vector3.new(90, 90, 0)
  2067. MeshPart114.Position = Vector3.new(8.16712189, 6.68372202, -53.8057251)
  2068. MeshPart114.Rotation = Vector3.new(90, 0, -90)
  2069. MeshPart114.Size = Vector3.new(6.86945677, 12.7447577, 5.44702244)
  2070. MeshPart114.Anchored = true
  2071. MeshPart114.CanCollide = false
  2072. MeshPart114.Material = Enum.Material.Concrete
  2073. MeshPart114.TextureID = "rbxassetid://753814487"
  2074. Part115.Name = "Drag"
  2075. Part115.Parent = Folder96
  2076. Part115.CFrame = CFrame.new(9.04350567, 8.23598099, -47.4135132, 1, -7.45530269e-06, -2.90588796e-05, 0, 0.96862936, -0.248510092, 2.99999992e-05, 0.248510092, 0.96862936)
  2077. Part115.Orientation = Vector3.new(14.3900003, 0, 0)
  2078. Part115.Position = Vector3.new(9.04350567, 8.23598099, -47.4135132)
  2079. Part115.Rotation = Vector3.new(14.3900003, 0, 0)
  2080. Part115.Transparency = 1
  2081. Part115.Size = Vector3.new(0.63226831, 0.698435366, 0.222788483)
  2082. Part115.Anchored = true
  2083. Part115.BottomSurface = Enum.SurfaceType.Smooth
  2084. Part115.CanCollide = false
  2085. Part115.Material = Enum.Material.DiamondPlate
  2086. Part115.TopSurface = Enum.SurfaceType.Smooth
  2087. Part115.FormFactor = Enum.FormFactor.Custom
  2088. Part115.formFactor = Enum.FormFactor.Custom
  2089. SurfaceGui116.Name = "HologramGui"
  2090. SurfaceGui116.Parent = Part115
  2091. SurfaceGui116.CanvasSize = Vector2.new(305, 330)
  2092. Script117.Name = "RadarScript"
  2093. Script117.Parent = SurfaceGui116
  2094. table.insert(cors,sandbox(Script117,function()
  2095. local Tool = script.Parent
  2096. local gui = Tool.RadarGui
  2097. local guiEnabled = true
  2098. local guiOnPlayer = nil
  2099. local range = 300
  2100. local torso = script.Parent.Parent
  2101. local zIndex = 4
  2102. local radarCenter = Vector2.new(140,155)
  2103.  
  2104. enabled = true
  2105.  
  2106.  
  2107. -- when activated, either bring gui up or down, depending on current state
  2108.  
  2109.  
  2110. function removeGUIPlayers()
  2111.  
  2112. local guiPlayers = gui.Frame.Players:GetChildren()
  2113. for i = 1, #guiPlayers do
  2114. guiPlayers[i]:remove()
  2115. end
  2116.  
  2117. end
  2118.  
  2119. function incrementZIndex()
  2120.  
  2121. zIndex = zIndex + 1
  2122. if zIndex > 10000 then
  2123. zIndex = 2
  2124. end
  2125.  
  2126. end
  2127.  
  2128. function createPlayerGUINode(pos, playerText)
  2129.  
  2130. local playerIcon = Instance.new("ImageLabel")
  2131. playerIcon.Image = "http://www.roblox.com/asset/?id=0"
  2132. playerIcon.BackgroundTransparency = 1
  2133. playerIcon.BorderSizePixel = 0
  2134. playerIcon.Size = UDim2.new(0,22.5,0,40.5)
  2135. playerIcon.Position = UDim2.new(0,pos.x,0,pos.y)
  2136. playerIcon.Parent = gui.Frame.Players
  2137. playerIcon.ZIndex = zIndex
  2138. incrementZIndex()
  2139.  
  2140. local playerName = Instance.new("TextLabel")
  2141. playerName.BackgroundTransparency = 1
  2142. playerName.BorderSizePixel = 1
  2143.  
  2144. playerName.Text = tostring(playerText)
  2145. playerName.Size = UDim2.new(0,150,0,25)
  2146. playerName.Parent = playerIcon
  2147. playerName.Position = UDim2.new(0,-65,0,0)
  2148. playerName.TextColor3 = Color3.new(0,0,0)
  2149. playerName.ZIndex = zIndex
  2150. incrementZIndex()
  2151. end
  2152.  
  2153.  
  2154. function updateGUI()
  2155.  
  2156. removeGUIPlayers()
  2157.  
  2158.  
  2159. local players = game.Players:GetChildren()
  2160.  
  2161. for i = 1, #players do
  2162.  
  2163. local playerTorso = players[i].Character:FindFirstChild("Torso")
  2164.  
  2165. if playerTorso ~= nil then
  2166.  
  2167. local posDiff = Vector3.new(torso.Position.x - playerTorso.Position.x,0,torso.Position.z - playerTorso.Position.z)
  2168.  
  2169. if posDiff.magnitude < range and playerTorso.Parent.Name ~= torso.Parent.Name then
  2170.  
  2171. -- translate coordinates to radar coordinates
  2172. posDiff = Vector2.new((posDiff.x + range) * 0.5,(posDiff.z + range) * 0.5)
  2173.  
  2174. local rotationVector = Tool.Angle.Value
  2175. local denom = math.abs(rotationVector.x) + math.abs(rotationVector.z)
  2176.  
  2177. local xDirect = (rotationVector.x/denom)
  2178. local zDirect = (rotationVector.z/denom)
  2179.  
  2180. local angle = math.atan2(1,0) - math.atan2(zDirect,xDirect)
  2181.  
  2182. local point = Vector2.new(((posDiff.x - radarCenter.x) * math.cos(angle)) - ((posDiff.y - radarCenter.y) * math.sin(angle)) + radarCenter.x,
  2183. ((posDiff.x - radarCenter.x) * math.sin(angle)) + ((posDiff.y - radarCenter.y) * math.cos(angle)) + radarCenter.y)
  2184.  
  2185. createPlayerGUINode(point, playerTorso.Parent)
  2186.  
  2187. elseif playerTorso.Parent.Name == torso.Parent.Name then
  2188.  
  2189. createPlayerGUINode(radarCenter,playerTorso.Parent)
  2190.  
  2191. end
  2192. end
  2193.  
  2194. end
  2195.  
  2196. end
  2197.  
  2198.  
  2199. while true do
  2200.  
  2201. if guiEnabled then
  2202. updateGUI()
  2203. end
  2204. wait()
  2205.  
  2206. end
  2207.  
  2208.  
  2209.  
  2210.  
  2211. end))
  2212. Frame118.Name = "RadarGui"
  2213. Frame118.Parent = SurfaceGui116
  2214. Frame118.Size = UDim2.new(0, 100, 0, 100)
  2215. Frame118.BackgroundColor = BrickColor.new("Institutional white")
  2216. Frame118.BackgroundColor3 = Color3.new(1, 1, 1)
  2217. Frame118.BackgroundTransparency = 1
  2218. Frame118.BorderSizePixel = 0
  2219. Frame119.Parent = Frame118
  2220. Frame119.BackgroundColor = BrickColor.new("Institutional white")
  2221. Frame119.BackgroundColor3 = Color3.new(1, 1, 1)
  2222. ImageLabel120.Name = "Radar"
  2223. ImageLabel120.Parent = Frame119
  2224. ImageLabel120.Position = UDim2.new(0, 0, 0, 30)
  2225. ImageLabel120.Size = UDim2.new(0, 300, 0, 300)
  2226. ImageLabel120.BackgroundColor = BrickColor.new("Institutional white")
  2227. ImageLabel120.BackgroundColor3 = Color3.new(1, 1, 1)
  2228. ImageLabel120.BackgroundTransparency = 1
  2229. ImageLabel120.BorderSizePixel = 0
  2230. ImageLabel120.Image = "http://www.roblox.com/asset/?id=29051010"
  2231. Frame121.Name = "Players"
  2232. Frame121.Parent = Frame119
  2233. Frame121.BackgroundColor = BrickColor.new("Institutional white")
  2234. Frame121.BackgroundColor3 = Color3.new(1, 1, 1)
  2235. Frame121.BackgroundTransparency = 1
  2236. Frame121.BorderSizePixel = 0
  2237. Vector3Value122.Name = "Angle"
  2238. Vector3Value122.Parent = SurfaceGui116
  2239. Vector3Value122.Value = Vector3.new(1, 0, 0)
  2240. BlockMesh123.Parent = Part115
  2241. BlockMesh123.Scale = Vector3.new(1, 1, 0.659994721)
  2242. Seat124.Parent = Folder96
  2243. Seat124.CFrame = CFrame.new(6.75900888, 6.14056778, -50.3630066, -0.999999225, 0.00075531553, -0.0010021897, 0.000847000163, 0.995487988, -0.0948842168, 0.000926000241, -0.0948849991, -0.995487869)
  2244. Seat124.Orientation = Vector3.new(5.44000006, -179.940002, 0.0500000007)
  2245. Seat124.Position = Vector3.new(6.75900888, 6.14056778, -50.3630066)
  2246. Seat124.Rotation = Vector3.new(174.559998, -0.0599999987, -179.960007)
  2247. Seat124.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2248. Seat124.Transparency = 1
  2249. Seat124.Size = Vector3.new(1.76039124, 0.0500000007, 1.47039223)
  2250. Seat124.Anchored = true
  2251. Seat124.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  2252. Seat124.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  2253. Seat124.BrickColor = BrickColor.new("Really black")
  2254. Seat124.CanCollide = false
  2255. Seat124.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  2256. Seat124.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  2257. Seat124.Material = Enum.Material.Metal
  2258. Seat124.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  2259. Seat124.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  2260. Seat124.brickColor = BrickColor.new("Really black")
  2261. Seat124.FormFactor = Enum.FormFactor.Plate
  2262. Seat124.formFactor = Enum.FormFactor.Plate
  2263. BlockMesh125.Parent = Seat124
  2264. Part126.Parent = Folder96
  2265. Part126.CFrame = CFrame.new(7.39001799, 2.50001407, -72.359993, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2266. Part126.Position = Vector3.new(7.39001799, 2.50001407, -72.359993)
  2267. Part126.Transparency = 1
  2268. Part126.Size = Vector3.new(4, 1, 2)
  2269. Part126.BottomSurface = Enum.SurfaceType.Smooth
  2270. Part126.TopSurface = Enum.SurfaceType.Smooth
  2271. Folder127.Name = "RegenButton"
  2272. Folder127.Parent = Model10
  2273. Part128.Name = "Regen"
  2274. Part128.Parent = Folder127
  2275. Part128.CFrame = CFrame.new(8.20839977, 9.28084755, -72.4014664, 0, -3.50000009e-05, -1, 3.59998558e-05, 1, -3.50000009e-05, 1, -3.59998558e-05, 1.26055966e-09)
  2276. Part128.Orientation = Vector3.new(0, -90, 0)
  2277. Part128.Position = Vector3.new(8.20839977, 9.28084755, -72.4014664)
  2278. Part128.Rotation = Vector3.new(0, -90, 0)
  2279. Part128.Color = Color3.new(0.705882, 0.501961, 1)
  2280. Part128.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  2281. Part128.Anchored = true
  2282. Part128.BottomSurface = Enum.SurfaceType.Smooth
  2283. Part128.BrickColor = BrickColor.new("Alder")
  2284. Part128.CanCollide = false
  2285. Part128.Material = Enum.Material.Neon
  2286. Part128.TopSurface = Enum.SurfaceType.Smooth
  2287. Part128.brickColor = BrickColor.new("Alder")
  2288. ClickDetector129.Parent = Part128
  2289. BoolValue130.Name = "CanRegen"
  2290. BoolValue130.Parent = Part128
  2291. BoolValue130.Value = true
  2292. Script131.Name = "Regeneration"
  2293. Script131.Parent = Part128
  2294. table.insert(cors,sandbox(Script131,function()
  2295. local kit = script.Parent.Parent.Parent
  2296. local save = kit:clone()
  2297. local detector = script.Parent:WaitForChild('ClickDetector')
  2298. local canRegen = script.Parent:WaitForChild('CanRegen')
  2299. kit:WaitForChild('Required'):WaitForChild('DriverSeat'):WaitForChild('Heli_SControl').Disabled = false
  2300.  
  2301. detector.MouseClick:connect(function(player)
  2302. if canRegen.Value == true then
  2303. save.Parent = workspace
  2304. kit:Destroy()
  2305. kit = save
  2306. kit:WaitForChild('Required'):WaitForChild('DriverSeat'):WaitForChild('Heli_SControl').Disabled = false
  2307. end
  2308. end)
  2309.  
  2310. end))
  2311. Part132.Name = "ROTOR"
  2312. Part132.Parent = Model9
  2313. Part132.CFrame = CFrame.new(8.20504379, 12.1293097, -53.6418686, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2314. Part132.Orientation = Vector3.new(0, 90, 0)
  2315. Part132.Position = Vector3.new(8.20504379, 12.1293097, -53.6418686)
  2316. Part132.Rotation = Vector3.new(0, 90, 0)
  2317. Part132.Transparency = 1
  2318. Part132.Size = Vector3.new(2.20000005, 0.200000003, 2.20000005)
  2319. Part132.Anchored = true
  2320. Part132.BottomSurface = Enum.SurfaceType.Smooth
  2321. Part132.CanCollide = false
  2322. Part132.CustomPhysicalProperties = 0.200000003, 0.300000012, 0.5, 1, 1
  2323. Part132.TopParamA = -0.10000000149012
  2324. Part132.TopParamB = 0.10000000149012
  2325. Part132.TopSurface = Enum.SurfaceType.Motor
  2326. Part132.FormFactor = Enum.FormFactor.Custom
  2327. Part132.formFactor = Enum.FormFactor.Custom
  2328. Sound133.Name = "START"
  2329. Sound133.Parent = Part132
  2330. Sound133.SoundId = "rbxassetid://150485913"
  2331. Sound133.Volume = 0
  2332. Sound134.Name = "STOP"
  2333. Sound134.Parent = Part132
  2334. Sound134.SoundId = "http://www.roblox.com/asset/?id=252436311"
  2335. Part135.Name = "ROTOR2"
  2336. Part135.Parent = Model9
  2337. Part135.CFrame = CFrame.new(8.17953777, 9.36663628, -72.5365677, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  2338. Part135.Orientation = Vector3.new(90, 90, 0)
  2339. Part135.Position = Vector3.new(8.17953777, 9.36663628, -72.5365677)
  2340. Part135.Rotation = Vector3.new(90, 0, -90)
  2341. Part135.Transparency = 1
  2342. Part135.Size = Vector3.new(1, 0.200000003, 1)
  2343. Part135.Anchored = true
  2344. Part135.BottomSurface = Enum.SurfaceType.Smooth
  2345. Part135.CanCollide = false
  2346. Part135.CustomPhysicalProperties = 0.200000003, 0.300000012, 0.5, 1, 1
  2347. Part135.TopParamA = -0.10000000149012
  2348. Part135.TopParamB = 0.10000000149012
  2349. Part135.TopSurface = Enum.SurfaceType.Motor
  2350. Part135.FormFactor = Enum.FormFactor.Custom
  2351. Part135.formFactor = Enum.FormFactor.Custom
  2352. Sound136.Name = "START"
  2353. Sound136.Parent = Part135
  2354. Sound136.SoundId = "http://www.roblox.com/asset/?id=252436345"
  2355. Sound137.Name = "STOP"
  2356. Sound137.Parent = Part135
  2357. Sound137.SoundId = "http://www.roblox.com/asset/?id=252436311"
  2358. Sound137.Volume = 0
  2359. Part138.Name = "l"
  2360. Part138.Parent = Model9
  2361. Part138.CFrame = CFrame.new(7.44075203, 13.968318, -74.4677582, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2362. Part138.Orientation = Vector3.new(0, 90, 0)
  2363. Part138.Position = Vector3.new(7.44075203, 13.968318, -74.4677582)
  2364. Part138.Rotation = Vector3.new(0, 90, 0)
  2365. Part138.Transparency = 1
  2366. Part138.Size = Vector3.new(0.319376022, 0.319376022, 0.319376022)
  2367. Part138.Anchored = true
  2368. Part138.CustomPhysicalProperties = 0.100000001, 0.400000006, 0.25, 1, 1
  2369. Part138.FormFactor = Enum.FormFactor.Custom
  2370. Part138.formFactor = Enum.FormFactor.Custom
  2371. PointLight139.Parent = Part138
  2372. PointLight139.Range = 9
  2373. PointLight139.Brightness = 1.8799999952316
  2374. PointLight139.Shadows = true
  2375. Script140.Parent = Part138
  2376. table.insert(cors,sandbox(Script140,function()
  2377. b = script.Parent.Blue
  2378. a = script.Parent.PointLight
  2379.  
  2380. local oh,om = 6,30 -- Open Time (hours,minutes)
  2381. local ch,cm = 18,00 -- Close Time (hours, minutes)
  2382.  
  2383. local l = game:service("Lighting")
  2384. if (om == nil) then om = 0 end
  2385. if (cm == nil) then cm = 0 end
  2386.  
  2387.  
  2388. function TimeChanged()
  2389. local ot = (oh + (om/60)) * 60
  2390. local ct = (ch + (cm/60)) * 60
  2391. if (ot < ct) then
  2392. if (l:GetMinutesAfterMidnight() >= ot) and (l:GetMinutesAfterMidnight() <= ct) then
  2393. b.Enabled = false
  2394. a.Enabled = false
  2395. else
  2396. a.Enabled = true
  2397. b.Enabled = true
  2398. end
  2399. elseif (ot > ct) then
  2400. if (l:GetMinutesAfterMidnight() >= ot) or (l:GetMinutesAfterMidnight() <= ct) then
  2401. b.Enabled = false
  2402. a.Enabled = false
  2403. else
  2404. b.Enabled = true
  2405. a.Enabled = true
  2406. end
  2407. end
  2408. end
  2409.  
  2410. TimeChanged()
  2411. game.Lighting.Changed:connect(function(property)
  2412. if (property == "TimeOfDay") then
  2413. TimeChanged()
  2414. end
  2415. end)
  2416.  
  2417. -- Ganondude
  2418. end))
  2419. BillboardGui141.Name = "Blue"
  2420. BillboardGui141.Parent = Part138
  2421. BillboardGui141.Size = UDim2.new(7, 0, 7, 0)
  2422. BillboardGui141.Active = true
  2423. ImageLabel142.Name = "Light"
  2424. ImageLabel142.Parent = BillboardGui141
  2425. ImageLabel142.Position = UDim2.new(0.25, 0, 0.25, 0)
  2426. ImageLabel142.Size = UDim2.new(0.5, 0, 0.5, 0)
  2427. ImageLabel142.Active = true
  2428. ImageLabel142.BackgroundColor = BrickColor.new("Light grey")
  2429. ImageLabel142.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  2430. ImageLabel142.BackgroundTransparency = 1
  2431. ImageLabel142.Image = "rbxassetid://145820175"
  2432. Part143.Name = "l"
  2433. Part143.Parent = Model9
  2434. Part143.CFrame = CFrame.new(8.20531178, 4.40038681, -45.6737518, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2435. Part143.Orientation = Vector3.new(0, 90, 0)
  2436. Part143.Position = Vector3.new(8.20531178, 4.40038681, -45.6737518)
  2437. Part143.Rotation = Vector3.new(0, 90, 0)
  2438. Part143.Transparency = 1
  2439. Part143.Size = Vector3.new(0.319376022, 0.319376022, 0.319376022)
  2440. Part143.Anchored = true
  2441. Part143.CustomPhysicalProperties = 0.100000001, 0.400000006, 0.25, 1, 1
  2442. Part143.FormFactor = Enum.FormFactor.Custom
  2443. Part143.formFactor = Enum.FormFactor.Custom
  2444. Script144.Parent = Part143
  2445. table.insert(cors,sandbox(Script144,function()
  2446. b = script.Parent.Blue
  2447. a = script.Parent.SpotLight
  2448.  
  2449. local oh,om = 6,30 -- Open Time (hours,minutes)
  2450. local ch,cm = 18,00 -- Close Time (hours, minutes)
  2451.  
  2452. local l = game:service("Lighting")
  2453. if (om == nil) then om = 0 end
  2454. if (cm == nil) then cm = 0 end
  2455.  
  2456.  
  2457. function TimeChanged()
  2458. local ot = (oh + (om/60)) * 60
  2459. local ct = (ch + (cm/60)) * 60
  2460. if (ot < ct) then
  2461. if (l:GetMinutesAfterMidnight() >= ot) and (l:GetMinutesAfterMidnight() <= ct) then
  2462. b.Enabled = false
  2463. a.Enabled = false
  2464. else
  2465. a.Enabled = true
  2466. b.Enabled = true
  2467. end
  2468. elseif (ot > ct) then
  2469. if (l:GetMinutesAfterMidnight() >= ot) or (l:GetMinutesAfterMidnight() <= ct) then
  2470. b.Enabled = false
  2471. a.Enabled = false
  2472. else
  2473. b.Enabled = true
  2474. a.Enabled = true
  2475. end
  2476. end
  2477. end
  2478.  
  2479. TimeChanged()
  2480. game.Lighting.Changed:connect(function(property)
  2481. if (property == "TimeOfDay") then
  2482. TimeChanged()
  2483. end
  2484. end)
  2485.  
  2486. -- Ganondude
  2487. end))
  2488. BillboardGui145.Name = "Blue"
  2489. BillboardGui145.Parent = Part143
  2490. BillboardGui145.Size = UDim2.new(7, 0, 7, 0)
  2491. BillboardGui145.Active = true
  2492. ImageLabel146.Name = "Light"
  2493. ImageLabel146.Parent = BillboardGui145
  2494. ImageLabel146.Position = UDim2.new(0.25, 0, 0.25, 0)
  2495. ImageLabel146.Size = UDim2.new(0.5, 0, 0.5, 0)
  2496. ImageLabel146.Active = true
  2497. ImageLabel146.BackgroundColor = BrickColor.new("Light grey")
  2498. ImageLabel146.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  2499. ImageLabel146.BackgroundTransparency = 1
  2500. ImageLabel146.Image = "rbxassetid://145820175"
  2501. SpotLight147.Parent = Part143
  2502. SpotLight147.Face = Enum.NormalId.Left
  2503. SpotLight147.Range = 60
  2504. SpotLight147.Brightness = 20
  2505. SpotLight147.Shadows = true
  2506. Part148.Name = "l"
  2507. Part148.Parent = Model9
  2508. Part148.CFrame = CFrame.new(8.20531178, 6.40037489, -45.5337524, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2509. Part148.Orientation = Vector3.new(0, 90, 0)
  2510. Part148.Position = Vector3.new(8.20531178, 6.40037489, -45.5337524)
  2511. Part148.Rotation = Vector3.new(0, 90, 0)
  2512. Part148.Transparency = 1
  2513. Part148.Size = Vector3.new(0.319376022, 0.319376022, 0.319376022)
  2514. Part148.Anchored = true
  2515. Part148.CustomPhysicalProperties = 0.100000001, 0.400000006, 0.25, 1, 1
  2516. Part148.FormFactor = Enum.FormFactor.Custom
  2517. Part148.formFactor = Enum.FormFactor.Custom
  2518. Script149.Parent = Part148
  2519. table.insert(cors,sandbox(Script149,function()
  2520. b = script.Parent.Blue
  2521. a = script.Parent.SpotLight
  2522.  
  2523. local oh,om = 6,30 -- Open Time (hours,minutes)
  2524. local ch,cm = 18,00 -- Close Time (hours, minutes)
  2525.  
  2526. local l = game:service("Lighting")
  2527. if (om == nil) then om = 0 end
  2528. if (cm == nil) then cm = 0 end
  2529.  
  2530.  
  2531. function TimeChanged()
  2532. local ot = (oh + (om/60)) * 60
  2533. local ct = (ch + (cm/60)) * 60
  2534. if (ot < ct) then
  2535. if (l:GetMinutesAfterMidnight() >= ot) and (l:GetMinutesAfterMidnight() <= ct) then
  2536. b.Enabled = false
  2537. a.Enabled = false
  2538. else
  2539. a.Enabled = true
  2540. b.Enabled = true
  2541. end
  2542. elseif (ot > ct) then
  2543. if (l:GetMinutesAfterMidnight() >= ot) or (l:GetMinutesAfterMidnight() <= ct) then
  2544. b.Enabled = false
  2545. a.Enabled = false
  2546. else
  2547. b.Enabled = true
  2548. a.Enabled = true
  2549. end
  2550. end
  2551. end
  2552.  
  2553. TimeChanged()
  2554. game.Lighting.Changed:connect(function(property)
  2555. if (property == "TimeOfDay") then
  2556. TimeChanged()
  2557. end
  2558. end)
  2559.  
  2560. -- Ganondude
  2561. end))
  2562. BillboardGui150.Name = "Blue"
  2563. BillboardGui150.Parent = Part148
  2564. BillboardGui150.Size = UDim2.new(7, 0, 7, 0)
  2565. BillboardGui150.Active = true
  2566. ImageLabel151.Name = "Light"
  2567. ImageLabel151.Parent = BillboardGui150
  2568. ImageLabel151.Position = UDim2.new(0.25, 0, 0.25, 0)
  2569. ImageLabel151.Size = UDim2.new(0.5, 0, 0.5, 0)
  2570. ImageLabel151.Active = true
  2571. ImageLabel151.BackgroundColor = BrickColor.new("Light grey")
  2572. ImageLabel151.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  2573. ImageLabel151.BackgroundTransparency = 1
  2574. ImageLabel151.Image = "rbxassetid://145820175"
  2575. SpotLight152.Parent = Part148
  2576. SpotLight152.Face = Enum.NormalId.Left
  2577. SpotLight152.Range = 60
  2578. SpotLight152.Brightness = 20
  2579. SpotLight152.Shadows = true
  2580. Part153.Name = "l"
  2581. Part153.Parent = Model9
  2582. Part153.CFrame = CFrame.new(7.44075203, 10.1483221, -73.5377502, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2583. Part153.Orientation = Vector3.new(0, 90, 0)
  2584. Part153.Position = Vector3.new(7.44075203, 10.1483221, -73.5377502)
  2585. Part153.Rotation = Vector3.new(0, 90, 0)
  2586. Part153.Transparency = 1
  2587. Part153.Size = Vector3.new(0.319376022, 0.319376022, 0.319376022)
  2588. Part153.Anchored = true
  2589. Part153.CustomPhysicalProperties = 0.100000001, 0.400000006, 0.25, 1, 1
  2590. Part153.FormFactor = Enum.FormFactor.Custom
  2591. Part153.formFactor = Enum.FormFactor.Custom
  2592. PointLight154.Parent = Part153
  2593. PointLight154.Range = 9
  2594. PointLight154.Brightness = 1.8799999952316
  2595. PointLight154.Shadows = true
  2596. Script155.Parent = Part153
  2597. table.insert(cors,sandbox(Script155,function()
  2598. b = script.Parent.Blue
  2599. a = script.Parent.PointLight
  2600.  
  2601. local oh,om = 6,30 -- Open Time (hours,minutes)
  2602. local ch,cm = 18,00 -- Close Time (hours, minutes)
  2603.  
  2604. local l = game:service("Lighting")
  2605. if (om == nil) then om = 0 end
  2606. if (cm == nil) then cm = 0 end
  2607.  
  2608.  
  2609. function TimeChanged()
  2610. local ot = (oh + (om/60)) * 60
  2611. local ct = (ch + (cm/60)) * 60
  2612. if (ot < ct) then
  2613. if (l:GetMinutesAfterMidnight() >= ot) and (l:GetMinutesAfterMidnight() <= ct) then
  2614. b.Enabled = false
  2615. a.Enabled = false
  2616. else
  2617. a.Enabled = true
  2618. b.Enabled = true
  2619. end
  2620. elseif (ot > ct) then
  2621. if (l:GetMinutesAfterMidnight() >= ot) or (l:GetMinutesAfterMidnight() <= ct) then
  2622. b.Enabled = false
  2623. a.Enabled = false
  2624. else
  2625. b.Enabled = true
  2626. a.Enabled = true
  2627. end
  2628. end
  2629. end
  2630.  
  2631. TimeChanged()
  2632. game.Lighting.Changed:connect(function(property)
  2633. if (property == "TimeOfDay") then
  2634. TimeChanged()
  2635. end
  2636. end)
  2637.  
  2638. -- Ganondude
  2639. end))
  2640. BillboardGui156.Name = "Blue"
  2641. BillboardGui156.Parent = Part153
  2642. BillboardGui156.Size = UDim2.new(7, 0, 7, 0)
  2643. BillboardGui156.Active = true
  2644. ImageLabel157.Name = "Light"
  2645. ImageLabel157.Parent = BillboardGui156
  2646. ImageLabel157.Position = UDim2.new(0.25, 0, 0.25, 0)
  2647. ImageLabel157.Size = UDim2.new(0.5, 0, 0.5, 0)
  2648. ImageLabel157.Active = true
  2649. ImageLabel157.BackgroundColor = BrickColor.new("Light grey")
  2650. ImageLabel157.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  2651. ImageLabel157.BackgroundTransparency = 1
  2652. ImageLabel157.Image = "rbxassetid://145820175"
  2653. Script158.Name = "CarWeld"
  2654. Script158.Parent = Model8
  2655. table.insert(cors,sandbox(Script158,function()
  2656. -- Created by Quenty (@Quenty, follow me on twitter).
  2657. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2658. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2659.  
  2660. --[[ INSTRUCTIONS
  2661. - Place in the model
  2662. - Make sure model is anchored
  2663. - That's it. It will weld the model and all children.
  2664.  
  2665. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2666. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2667. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2668. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2669. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2670. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2671. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2672. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2673.  
  2674. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  2675. ]]
  2676.  
  2677. --[[ DOCUMENTATION
  2678. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  2679. - Will work in PBS servers
  2680. - Will work as long as it starts out with the part anchored
  2681. - Stores the relative CFrame as a CFrame value
  2682. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2683. - Utilizes a recursive algorith to find all parts in the model
  2684. - Will reweld on script reparent if the script is initially parented to a tool.
  2685. - Welds as fast as possible
  2686. ]]
  2687.  
  2688. -- qPerfectionWeld.lua
  2689. -- Created 10/6/2014
  2690. -- Author: Quenty
  2691. -- Version 1.0.3
  2692.  
  2693. -- Updated 10/14/2014 - Updated to 1.0.1
  2694. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2695.  
  2696. -- Updated 10/14/2014 - Updated to 1.0.2
  2697. --- Fixed bug fix.
  2698.  
  2699. -- Updated 10/14/2014 - Updated to 1.0.3
  2700. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2701.  
  2702. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  2703.  
  2704.  
  2705. local function CallOnChildren(Instance, FunctionToCall)
  2706. -- Calls a function on each of the children of a certain object, using recursion.
  2707.  
  2708. FunctionToCall(Instance)
  2709.  
  2710. for _, Child in next, Instance:GetChildren() do
  2711. CallOnChildren(Child, FunctionToCall)
  2712. end
  2713. end
  2714.  
  2715. local function GetNearestParent(Instance, ClassName)
  2716. -- Returns the nearest parent of a certain class, or returns nil
  2717.  
  2718. local Ancestor = Instance
  2719. repeat
  2720. Ancestor = Ancestor.Parent
  2721. if Ancestor == nil then
  2722. return nil
  2723. end
  2724. until Ancestor:IsA(ClassName)
  2725.  
  2726. return Ancestor
  2727. end
  2728.  
  2729. local function GetBricks(StartInstance)
  2730. local List = {}
  2731.  
  2732. -- if StartInstance:IsA("BasePart") then
  2733. -- List[#List+1] = StartInstance
  2734. -- end
  2735.  
  2736. CallOnChildren(StartInstance, function(Item)
  2737. if Item:IsA("BasePart") and
  2738. Item.Parent.Name ~= ("S") and
  2739. Item.Parent.Name ~= ("TailRotor")and
  2740. Item.Parent.Name ~= ("TopRotor") then
  2741. List[#List+1] = Item;
  2742. end
  2743. end)
  2744.  
  2745. return List
  2746. end
  2747.  
  2748. local function Modify(Instance, Values)
  2749. -- Modifies an Instance by using a table.
  2750.  
  2751. assert(type(Values) == "table", "Values is not a table");
  2752.  
  2753. for Index, Value in next, Values do
  2754. if type(Index) == "number" then
  2755. Value.Parent = Instance
  2756. else
  2757. Instance[Index] = Value
  2758. end
  2759. end
  2760. return Instance
  2761. end
  2762.  
  2763. local function Make(ClassType, Properties)
  2764. -- Using a syntax hack to create a nice way to Make new items.
  2765.  
  2766. return Modify(Instance.new(ClassType), Properties)
  2767. end
  2768.  
  2769. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  2770. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  2771.  
  2772. local function HasWheelJoint(Part)
  2773. for _, SurfaceName in pairs(Surfaces) do
  2774. for _, HingSurfaceName in pairs(HingSurfaces) do
  2775. if Part[SurfaceName].Name == HingSurfaceName then
  2776. return true
  2777. end
  2778. end
  2779. end
  2780.  
  2781. return false
  2782. end
  2783.  
  2784. local function ShouldBreakJoints(Part)
  2785. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  2786. -- definitely some edge cases.
  2787.  
  2788. if NEVER_BREAK_JOINTS then
  2789. return false
  2790. end
  2791.  
  2792. if HasWheelJoint(Part) then
  2793. return false
  2794. end
  2795.  
  2796. local Connected = Part:GetConnectedParts()
  2797.  
  2798. if #Connected == 1 then
  2799. return false
  2800. end
  2801.  
  2802. for _, Item in pairs(Connected) do
  2803. if HasWheelJoint(Item) then
  2804. return false
  2805. elseif not Item:IsDescendantOf(script.Parent) then
  2806. return false
  2807. end
  2808. end
  2809.  
  2810. return true
  2811. end
  2812.  
  2813. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  2814. --- Weld's 2 parts together
  2815. -- @param Part0 The first part
  2816. -- @param Part1 The second part (Dependent part most of the time).
  2817. -- @param [JointType] The type of joint. Defaults to weld.
  2818. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  2819. -- @return The weld created.
  2820.  
  2821. JointType = JointType or "Weld"
  2822. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  2823.  
  2824. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  2825. Modify(NewWeld, {
  2826. Name = "qCFrameWeldThingy";
  2827. Part0 = Part0;
  2828. Part1 = Part1;
  2829. C0 = CFrame.new();--Part0.CFrame:inverse();
  2830. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  2831. Parent = Part1;
  2832. })
  2833.  
  2834. if not RelativeValue then
  2835. RelativeValue = Make("CFrameValue", {
  2836. Parent = Part1;
  2837. Name = "qRelativeCFrameWeldValue";
  2838. Archivable = true;
  2839. Value = NewWeld.C1;
  2840. })
  2841. end
  2842.  
  2843. return NewWeld
  2844. end
  2845.  
  2846. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  2847. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  2848. -- @param MainPart The part to weld the model to (can be in the model).
  2849. -- @param [JointType] The type of joint. Defaults to weld.
  2850. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  2851.  
  2852. for _, Part in pairs(Parts) do
  2853. if Part ~= MainPart then
  2854. WeldTogether(MainPart, Part, JointType, MainPart)
  2855. end
  2856. end
  2857.  
  2858. if not DoNotUnanchor then
  2859. for _, Part in pairs(Parts) do
  2860. Part.Anchored = false
  2861. end
  2862. MainPart.Anchored = false
  2863. end
  2864. end
  2865.  
  2866. local function PerfectionWeld()
  2867. local Tool = GetNearestParent(script, "Tool")
  2868.  
  2869. local Parts = GetBricks(script.Parent)
  2870. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  2871.  
  2872. if PrimaryPart then
  2873. WeldParts(Parts, PrimaryPart, "Weld", false)
  2874. else
  2875. warn("qWeld - Unable to weld part")
  2876. end
  2877.  
  2878. return Tool
  2879. end
  2880.  
  2881. local Tool = PerfectionWeld()
  2882.  
  2883.  
  2884. if Tool and script.ClassName == "Script" then
  2885. --- Don't bother with local scripts
  2886.  
  2887. script.Parent.AncestryChanged:connect(function()
  2888. PerfectionWeld()
  2889. end)
  2890. end
  2891.  
  2892. -- Created by Quenty (@Quenty, follow me on twitter).
  2893.  
  2894. end))
  2895. StringValue159.Name = "Owner"
  2896. StringValue159.Parent = Model8
  2897. StringValue159.Value = "No Data"
  2898. IntValue160.Name = "PlaneCheck"
  2899. IntValue160.Parent = Model8
  2900. StringValue161.Name = "Tool"
  2901. StringValue161.Parent = Model8
  2902. StringValue161.Value = "2011"
  2903. IntValue162.Name = "Stunt"
  2904. IntValue162.Parent = Model8
  2905. Model163.Name = "TailRotor"
  2906. Model163.Parent = Model6
  2907. Script164.Name = "Weld"
  2908. Script164.Parent = Model163
  2909. table.insert(cors,sandbox(Script164,function()
  2910. -- Created by Quenty (@Quenty, follow me on twitter).
  2911. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2912. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2913.  
  2914. --[[ INSTRUCTIONS
  2915. - Place in the model
  2916. - Make sure model is anchored
  2917. - That's it. It will weld the model and all children.
  2918.  
  2919. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2920. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2921. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2922. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2923. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2924. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2925. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2926. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2927.  
  2928. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  2929. ]]
  2930.  
  2931. --[[ DOCUMENTATION
  2932. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  2933. - Will work in PBS servers
  2934. - Will work as long as it starts out with the part anchored
  2935. - Stores the relative CFrame as a CFrame value
  2936. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2937. - Utilizes a recursive algorith to find all parts in the model
  2938. - Will reweld on script reparent if the script is initially parented to a tool.
  2939. - Welds as fast as possible
  2940. ]]
  2941.  
  2942. -- qPerfectionWeld.lua
  2943. -- Created 10/6/2014
  2944. -- Author: Quenty
  2945. -- Version 1.0.3
  2946.  
  2947. -- Updated 10/14/2014 - Updated to 1.0.1
  2948. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2949.  
  2950. -- Updated 10/14/2014 - Updated to 1.0.2
  2951. --- Fixed bug fix.
  2952.  
  2953. -- Updated 10/14/2014 - Updated to 1.0.3
  2954. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2955.  
  2956. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  2957.  
  2958.  
  2959. local function CallOnChildren(Instance, FunctionToCall)
  2960. -- Calls a function on each of the children of a certain object, using recursion.
  2961.  
  2962. FunctionToCall(Instance)
  2963.  
  2964. for _, Child in next, Instance:GetChildren() do
  2965. CallOnChildren(Child, FunctionToCall)
  2966. end
  2967. end
  2968.  
  2969. local function GetNearestParent(Instance, ClassName)
  2970. -- Returns the nearest parent of a certain class, or returns nil
  2971.  
  2972. local Ancestor = Instance
  2973. repeat
  2974. Ancestor = Ancestor.Parent
  2975. if Ancestor == nil then
  2976. return nil
  2977. end
  2978. until Ancestor:IsA(ClassName)
  2979.  
  2980. return Ancestor
  2981. end
  2982.  
  2983. local function GetBricks(StartInstance)
  2984. local List = {}
  2985.  
  2986. -- if StartInstance:IsA("BasePart") then
  2987. -- List[#List+1] = StartInstance
  2988. -- end
  2989.  
  2990. CallOnChildren(StartInstance, function(Item)
  2991. if Item:IsA("BasePart") then
  2992. List[#List+1] = Item;
  2993. end
  2994. end)
  2995.  
  2996. return List
  2997. end
  2998.  
  2999. local function Modify(Instance, Values)
  3000. -- Modifies an Instance by using a table.
  3001.  
  3002. assert(type(Values) == "table", "Values is not a table");
  3003.  
  3004. for Index, Value in next, Values do
  3005. if type(Index) == "number" then
  3006. Value.Parent = Instance
  3007. else
  3008. Instance[Index] = Value
  3009. end
  3010. end
  3011. return Instance
  3012. end
  3013.  
  3014. local function Make(ClassType, Properties)
  3015. -- Using a syntax hack to create a nice way to Make new items.
  3016.  
  3017. return Modify(Instance.new(ClassType), Properties)
  3018. end
  3019.  
  3020. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3021. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3022.  
  3023. local function HasWheelJoint(Part)
  3024. for _, SurfaceName in pairs(Surfaces) do
  3025. for _, HingSurfaceName in pairs(HingSurfaces) do
  3026. if Part[SurfaceName].Name == HingSurfaceName then
  3027. return true
  3028. end
  3029. end
  3030. end
  3031.  
  3032. return false
  3033. end
  3034.  
  3035. local function ShouldBreakJoints(Part)
  3036. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3037. -- definitely some edge cases.
  3038.  
  3039. if NEVER_BREAK_JOINTS then
  3040. return false
  3041. end
  3042.  
  3043. if HasWheelJoint(Part) then
  3044. return false
  3045. end
  3046.  
  3047. local Connected = Part:GetConnectedParts()
  3048.  
  3049. if #Connected == 1 then
  3050. return false
  3051. end
  3052.  
  3053. for _, Item in pairs(Connected) do
  3054. if HasWheelJoint(Item) then
  3055. return false
  3056. elseif not Item:IsDescendantOf(script.Parent) then
  3057. return false
  3058. end
  3059. end
  3060.  
  3061. return true
  3062. end
  3063.  
  3064. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3065. --- Weld's 2 parts together
  3066. -- @param Part0 The first part
  3067. -- @param Part1 The second part (Dependent part most of the time).
  3068. -- @param [JointType] The type of joint. Defaults to weld.
  3069. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3070. -- @return The weld created.
  3071.  
  3072. JointType = JointType or "Weld"
  3073. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3074.  
  3075. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3076. Modify(NewWeld, {
  3077. Name = "qCFrameWeldThingy";
  3078. Part0 = Part0;
  3079. Part1 = Part1;
  3080. C0 = CFrame.new();--Part0.CFrame:inverse();
  3081. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3082. Parent = Part1;
  3083. })
  3084.  
  3085. if not RelativeValue then
  3086. RelativeValue = Make("CFrameValue", {
  3087. Parent = Part1;
  3088. Name = "qRelativeCFrameWeldValue";
  3089. Archivable = true;
  3090. Value = NewWeld.C1;
  3091. })
  3092. end
  3093.  
  3094. return NewWeld
  3095. end
  3096.  
  3097. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3098. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3099. -- @param MainPart The part to weld the model to (can be in the model).
  3100. -- @param [JointType] The type of joint. Defaults to weld.
  3101. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3102.  
  3103. for _, Part in pairs(Parts) do
  3104. if ShouldBreakJoints(Part) then
  3105. Part:BreakJoints()
  3106. end
  3107. end
  3108.  
  3109. for _, Part in pairs(Parts) do
  3110. if Part ~= MainPart then
  3111. WeldTogether(MainPart, Part, JointType, MainPart)
  3112. end
  3113. end
  3114.  
  3115. if not DoNotUnanchor then
  3116. for _, Part in pairs(Parts) do
  3117. Part.Anchored = false
  3118. end
  3119. MainPart.Anchored = false
  3120. end
  3121. end
  3122.  
  3123. local function PerfectionWeld()
  3124. local Tool = GetNearestParent(script, "Tool")
  3125.  
  3126. local Parts = GetBricks(script.Parent)
  3127. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  3128.  
  3129. if PrimaryPart then
  3130. WeldParts(Parts, PrimaryPart, "Weld", false)
  3131. else
  3132. warn("qWeld - Unable to weld part")
  3133. end
  3134.  
  3135. return Tool
  3136. end
  3137.  
  3138. local Tool = PerfectionWeld()
  3139.  
  3140.  
  3141. if Tool and script.ClassName == "Script" then
  3142. --- Don't bother with local scripts
  3143.  
  3144. script.Parent.AncestryChanged:connect(function()
  3145. PerfectionWeld()
  3146. end)
  3147. end
  3148.  
  3149. -- Created by Quenty (@Quenty, follow me on twitter).
  3150.  
  3151. end))
  3152. MeshPart165.Parent = Model163
  3153. MeshPart165.CFrame = CFrame.new(8.9596138, 9.35667038, -72.5371323, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  3154. MeshPart165.Orientation = Vector3.new(90, 90, 0)
  3155. MeshPart165.Position = Vector3.new(8.9596138, 9.35667038, -72.5371323)
  3156. MeshPart165.Rotation = Vector3.new(90, 0, -90)
  3157. MeshPart165.Size = Vector3.new(0.483680218, 1.26647043, 0.946389616)
  3158. MeshPart165.Anchored = true
  3159. MeshPart165.CanCollide = false
  3160. MeshPart165.Material = Enum.Material.Concrete
  3161. MeshPart165.TextureID = "rbxassetid://753814487"
  3162. UnionOperation166.Parent = Model163
  3163. UnionOperation166.CFrame = CFrame.new(9.33064365, 9.36296368, -72.5089493, 0, 0, -1, 0.999963522, -0.00854399614, 0, -0.00854399614, -0.999963582, 0)
  3164. UnionOperation166.Orientation = Vector3.new(0, -90, 90.4899979)
  3165. UnionOperation166.Position = Vector3.new(9.33064365, 9.36296368, -72.5089493)
  3166. UnionOperation166.Rotation = Vector3.new(-90.4899979, -90, 0)
  3167. UnionOperation166.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3168. UnionOperation166.Size = Vector3.new(7.13023043, 0.441696078, 0.088342078)
  3169. UnionOperation166.Anchored = true
  3170. UnionOperation166.BrickColor = BrickColor.new("Really black")
  3171. UnionOperation166.CanCollide = false
  3172. UnionOperation166.Material = Enum.Material.Metal
  3173. UnionOperation166.brickColor = BrickColor.new("Really black")
  3174. Model167.Name = "TopRotor"
  3175. Model167.Parent = Model6
  3176. Script168.Name = "Weld"
  3177. Script168.Parent = Model167
  3178. table.insert(cors,sandbox(Script168,function()
  3179. -- Created by Quenty (@Quenty, follow me on twitter).
  3180. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  3181. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  3182.  
  3183. --[[ INSTRUCTIONS
  3184. - Place in the model
  3185. - Make sure model is anchored
  3186. - That's it. It will weld the model and all children.
  3187.  
  3188. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3189. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3190. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3191. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3192. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3193. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3194. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3195. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  3196.  
  3197. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  3198. ]]
  3199.  
  3200. --[[ DOCUMENTATION
  3201. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  3202. - Will work in PBS servers
  3203. - Will work as long as it starts out with the part anchored
  3204. - Stores the relative CFrame as a CFrame value
  3205. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  3206. - Utilizes a recursive algorith to find all parts in the model
  3207. - Will reweld on script reparent if the script is initially parented to a tool.
  3208. - Welds as fast as possible
  3209. ]]
  3210.  
  3211. -- qPerfectionWeld.lua
  3212. -- Created 10/6/2014
  3213. -- Author: Quenty
  3214. -- Version 1.0.3
  3215.  
  3216. -- Updated 10/14/2014 - Updated to 1.0.1
  3217. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  3218.  
  3219. -- Updated 10/14/2014 - Updated to 1.0.2
  3220. --- Fixed bug fix.
  3221.  
  3222. -- Updated 10/14/2014 - Updated to 1.0.3
  3223. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  3224.  
  3225. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  3226.  
  3227.  
  3228. local function CallOnChildren(Instance, FunctionToCall)
  3229. -- Calls a function on each of the children of a certain object, using recursion.
  3230.  
  3231. FunctionToCall(Instance)
  3232.  
  3233. for _, Child in next, Instance:GetChildren() do
  3234. CallOnChildren(Child, FunctionToCall)
  3235. end
  3236. end
  3237.  
  3238. local function GetNearestParent(Instance, ClassName)
  3239. -- Returns the nearest parent of a certain class, or returns nil
  3240.  
  3241. local Ancestor = Instance
  3242. repeat
  3243. Ancestor = Ancestor.Parent
  3244. if Ancestor == nil then
  3245. return nil
  3246. end
  3247. until Ancestor:IsA(ClassName)
  3248.  
  3249. return Ancestor
  3250. end
  3251.  
  3252. local function GetBricks(StartInstance)
  3253. local List = {}
  3254.  
  3255. -- if StartInstance:IsA("BasePart") then
  3256. -- List[#List+1] = StartInstance
  3257. -- end
  3258.  
  3259. CallOnChildren(StartInstance, function(Item)
  3260. if Item:IsA("BasePart") then
  3261. List[#List+1] = Item;
  3262. end
  3263. end)
  3264.  
  3265. return List
  3266. end
  3267.  
  3268. local function Modify(Instance, Values)
  3269. -- Modifies an Instance by using a table.
  3270.  
  3271. assert(type(Values) == "table", "Values is not a table");
  3272.  
  3273. for Index, Value in next, Values do
  3274. if type(Index) == "number" then
  3275. Value.Parent = Instance
  3276. else
  3277. Instance[Index] = Value
  3278. end
  3279. end
  3280. return Instance
  3281. end
  3282.  
  3283. local function Make(ClassType, Properties)
  3284. -- Using a syntax hack to create a nice way to Make new items.
  3285.  
  3286. return Modify(Instance.new(ClassType), Properties)
  3287. end
  3288.  
  3289. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3290. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3291.  
  3292. local function HasWheelJoint(Part)
  3293. for _, SurfaceName in pairs(Surfaces) do
  3294. for _, HingSurfaceName in pairs(HingSurfaces) do
  3295. if Part[SurfaceName].Name == HingSurfaceName then
  3296. return true
  3297. end
  3298. end
  3299. end
  3300.  
  3301. return false
  3302. end
  3303.  
  3304. local function ShouldBreakJoints(Part)
  3305. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3306. -- definitely some edge cases.
  3307.  
  3308. if NEVER_BREAK_JOINTS then
  3309. return false
  3310. end
  3311.  
  3312. if HasWheelJoint(Part) then
  3313. return false
  3314. end
  3315.  
  3316. local Connected = Part:GetConnectedParts()
  3317.  
  3318. if #Connected == 1 then
  3319. return false
  3320. end
  3321.  
  3322. for _, Item in pairs(Connected) do
  3323. if HasWheelJoint(Item) then
  3324. return false
  3325. elseif not Item:IsDescendantOf(script.Parent) then
  3326. return false
  3327. end
  3328. end
  3329.  
  3330. return true
  3331. end
  3332.  
  3333. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3334. --- Weld's 2 parts together
  3335. -- @param Part0 The first part
  3336. -- @param Part1 The second part (Dependent part most of the time).
  3337. -- @param [JointType] The type of joint. Defaults to weld.
  3338. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3339. -- @return The weld created.
  3340.  
  3341. JointType = JointType or "Weld"
  3342. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3343.  
  3344. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3345. Modify(NewWeld, {
  3346. Name = "qCFrameWeldThingy";
  3347. Part0 = Part0;
  3348. Part1 = Part1;
  3349. C0 = CFrame.new();--Part0.CFrame:inverse();
  3350. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3351. Parent = Part1;
  3352. })
  3353.  
  3354. if not RelativeValue then
  3355. RelativeValue = Make("CFrameValue", {
  3356. Parent = Part1;
  3357. Name = "qRelativeCFrameWeldValue";
  3358. Archivable = true;
  3359. Value = NewWeld.C1;
  3360. })
  3361. end
  3362.  
  3363. return NewWeld
  3364. end
  3365.  
  3366. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3367. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3368. -- @param MainPart The part to weld the model to (can be in the model).
  3369. -- @param [JointType] The type of joint. Defaults to weld.
  3370. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3371.  
  3372. for _, Part in pairs(Parts) do
  3373. if ShouldBreakJoints(Part) then
  3374. Part:BreakJoints()
  3375. end
  3376. end
  3377.  
  3378. for _, Part in pairs(Parts) do
  3379. if Part ~= MainPart then
  3380. WeldTogether(MainPart, Part, JointType, MainPart)
  3381. end
  3382. end
  3383.  
  3384. if not DoNotUnanchor then
  3385. for _, Part in pairs(Parts) do
  3386. Part.Anchored = false
  3387. end
  3388. MainPart.Anchored = false
  3389. end
  3390. end
  3391.  
  3392. local function PerfectionWeld()
  3393. local Tool = GetNearestParent(script, "Tool")
  3394.  
  3395. local Parts = GetBricks(script.Parent)
  3396. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  3397.  
  3398. if PrimaryPart then
  3399. WeldParts(Parts, PrimaryPart, "Weld", false)
  3400. else
  3401. warn("qWeld - Unable to weld part")
  3402. end
  3403.  
  3404. return Tool
  3405. end
  3406.  
  3407. local Tool = PerfectionWeld()
  3408.  
  3409.  
  3410. if Tool and script.ClassName == "Script" then
  3411. --- Don't bother with local scripts
  3412.  
  3413. script.Parent.AncestryChanged:connect(function()
  3414. PerfectionWeld()
  3415. end)
  3416. end
  3417.  
  3418. -- Created by Quenty (@Quenty, follow me on twitter).
  3419.  
  3420. end))
  3421. MeshPart169.Parent = Model167
  3422. MeshPart169.CFrame = CFrame.new(8.16751575, 13.186902, -53.8059731, 2.30000005e-05, 1, 0, 0, 0, -1, -1, 2.30000005e-05, 0)
  3423. MeshPart169.Orientation = Vector3.new(90, 90, 0)
  3424. MeshPart169.Position = Vector3.new(8.16751575, 13.186902, -53.8059731)
  3425. MeshPart169.Rotation = Vector3.new(90, 0, -90)
  3426. MeshPart169.Size = Vector3.new(5.82631254, 6.07807446, 1.8321557)
  3427. MeshPart169.Anchored = true
  3428. MeshPart169.CanCollide = false
  3429. MeshPart169.Material = Enum.Material.Concrete
  3430. MeshPart169.TextureID = "rbxassetid://753814487"
  3431. UnionOperation170.Parent = Model167
  3432. UnionOperation170.CFrame = CFrame.new(13.5536718, 13.4305601, -46.3177948, -0.580812931, -0.018743068, 0.813821197, -0.00187699974, 0.999763131, 0.0216858946, -0.814034879, 0.0110679064, -0.58071053)
  3433. UnionOperation170.Orientation = Vector3.new(-1.24000001, 125.510002, -0.109999999)
  3434. UnionOperation170.Position = Vector3.new(13.5536718, 13.4305601, -46.3177948)
  3435. UnionOperation170.Rotation = Vector3.new(-177.860001, 54.4700012, 178.149994)
  3436. UnionOperation170.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3437. UnionOperation170.Size = Vector3.new(14.4147911, 0.0683179647, 0.819819748)
  3438. UnionOperation170.Anchored = true
  3439. UnionOperation170.BrickColor = BrickColor.new("Gold")
  3440. UnionOperation170.CanCollide = false
  3441. UnionOperation170.Material = Enum.Material.Metal
  3442. UnionOperation170.brickColor = BrickColor.new("Gold")
  3443. UnionOperation171.Parent = Model167
  3444. UnionOperation171.CFrame = CFrame.new(-0.587390006, 13.2079782, -56.3086739, 0.957236469, -0.0187379979, -0.288699508, 0.0147420075, 0.999763131, -0.0160096418, 0.288931161, 0.0110690016, 0.957285881)
  3445. UnionOperation171.Orientation = Vector3.new(0.920000017, -16.7800007, 0.839999974)
  3446. UnionOperation171.Position = Vector3.new(-0.587390006, 13.2079782, -56.3086739)
  3447. UnionOperation171.Rotation = Vector3.new(0.959999979, -16.7800007, 1.12)
  3448. UnionOperation171.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3449. UnionOperation171.Size = Vector3.new(14.4147835, 0.0683190152, 0.819819748)
  3450. UnionOperation171.Anchored = true
  3451. UnionOperation171.BrickColor = BrickColor.new("Really black")
  3452. UnionOperation171.CanCollide = false
  3453. UnionOperation171.Material = Enum.Material.Metal
  3454. UnionOperation171.brickColor = BrickColor.new("Really black")
  3455. UnionOperation172.Parent = Model167
  3456. UnionOperation172.CFrame = CFrame.new(7.9359479, 13.4397736, -62.8178978, 0.0347620137, -0.0187520105, -0.999219656, -0.0104060043, 0.999763012, -0.0191242211, 0.999341488, 0.0110626798, 0.0345586389)
  3457. UnionOperation172.Orientation = Vector3.new(1.10000002, -88.0199966, -0.600000024)
  3458. UnionOperation172.Position = Vector3.new(7.9359479, 13.4397736, -62.8178978)
  3459. UnionOperation172.Rotation = Vector3.new(28.9599991, -87.7399979, 28.3400002)
  3460. UnionOperation172.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3461. UnionOperation172.Size = Vector3.new(14.4148083, 0.0683179647, 0.819802999)
  3462. UnionOperation172.Anchored = true
  3463. UnionOperation172.BrickColor = BrickColor.new("Gold")
  3464. UnionOperation172.CanCollide = false
  3465. UnionOperation172.Material = Enum.Material.Metal
  3466. UnionOperation172.brickColor = BrickColor.new("Gold")
  3467. UnionOperation173.Parent = Model167
  3468. UnionOperation173.CFrame = CFrame.new(2.89528394, 13.2310143, -46.337429, 0.591503978, -0.0187360533, 0.806084454, 0.0200030003, 0.99976337, 0.00855960511, -0.806053996, 0.0110610668, 0.591738701)
  3469. UnionOperation173.Orientation = Vector3.new(-0.49000001, 53.7200012, 1.14999998)
  3470. UnionOperation173.Position = Vector3.new(2.89528394, 13.2310143, -46.337429)
  3471. UnionOperation173.Rotation = Vector3.new(-0.829999983, 53.7200012, 1.80999994)
  3472. UnionOperation173.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3473. UnionOperation173.Size = Vector3.new(14.4147749, 0.0683190152, 0.819802999)
  3474. UnionOperation173.Anchored = true
  3475. UnionOperation173.BrickColor = BrickColor.new("Really black")
  3476. UnionOperation173.CanCollide = false
  3477. UnionOperation173.Material = Enum.Material.Metal
  3478. UnionOperation173.brickColor = BrickColor.new("Really black")
  3479. UnionOperation174.Parent = Model167
  3480. UnionOperation174.CFrame = CFrame.new(16.8343639, 13.5225916, -56.6540833, -0.945297658, -0.0187311713, -0.325670838, -0.0213159919, 0.99976325, 0.00437011989, 0.325511873, 0.0110730603, -0.945473194)
  3481. UnionOperation174.Orientation = Vector3.new(-0.25, -160.990005, -1.22000003)
  3482. UnionOperation174.Position = Vector3.new(16.8343639, 13.5225916, -56.6540833)
  3483. UnionOperation174.Rotation = Vector3.new(-179.740005, -19.0100002, 178.860001)
  3484. UnionOperation174.Color = Color3.new(0.937255, 0.721569, 0.219608)
  3485. UnionOperation174.Size = Vector3.new(14.4147749, 0.0683190152, 0.819828153)
  3486. UnionOperation174.Anchored = true
  3487. UnionOperation174.BrickColor = BrickColor.new("Gold")
  3488. UnionOperation174.CanCollide = false
  3489. UnionOperation174.Material = Enum.Material.Metal
  3490. UnionOperation174.brickColor = BrickColor.new("Gold")
  3491. Model175.Name = "Ignition"
  3492. Model175.Parent = Model6
  3493. Part176.Name = "Shutdown"
  3494. Part176.Parent = Model175
  3495. Part176.CFrame = CFrame.new(8.2024231, 9.41920757, -47.5142288, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  3496. Part176.Orientation = Vector3.new(90, 0, 0)
  3497. Part176.Position = Vector3.new(8.2024231, 9.41920757, -47.5142288)
  3498. Part176.Rotation = Vector3.new(90, 0, 0)
  3499. Part176.Color = Color3.new(1, 0, 0)
  3500. Part176.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  3501. Part176.BottomSurface = Enum.SurfaceType.Weld
  3502. Part176.BrickColor = BrickColor.new("Really red")
  3503. Part176.Material = Enum.Material.Neon
  3504. Part176.TopSurface = Enum.SurfaceType.Smooth
  3505. Part176.brickColor = BrickColor.new("Really red")
  3506. BlockMesh177.Parent = Part176
  3507. BlockMesh177.Scale = Vector3.new(1, 1, 0.5)
  3508. Sound178.Name = "BUTTON"
  3509. Sound178.Parent = Part176
  3510. Sound178.SoundId = "http://www.roblox.com/asset/?id=138081500"
  3511. Script179.Name = "CLICK"
  3512. Script179.Parent = Part176
  3513. table.insert(cors,sandbox(Script179,function()
  3514. function onClicked()
  3515. script.Parent.BUTTON:Play()
  3516. end
  3517.  
  3518. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3519. end))
  3520. ClickDetector180.Parent = Part176
  3521. ClickDetector180.MaxActivationDistance = 100
  3522. Script181.Parent = Part176
  3523. table.insert(cors,sandbox(Script181,function()
  3524. prop = script.Parent.Parent.Parent.Heli.Plane.Body.ROTOR2
  3525. function onClicked()
  3526. prop.TopSurfaceInput = "NoInput"
  3527. prop.STOP:Play()
  3528. prop.TopParamA = 0
  3529. prop.TopParamB = 0
  3530. end
  3531.  
  3532. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3533. end))
  3534. Script182.Parent = Part176
  3535. table.insert(cors,sandbox(Script182,function()
  3536. prop = script.Parent.Parent.Parent.Heli.Plane.Body.ROTOR
  3537.  
  3538. function onClicked()
  3539. prop.TopSurfaceInput = "NoInput"
  3540. prop.STOP:Play()
  3541. prop.TopParamA = 0
  3542. prop.TopParamB = 0
  3543. end
  3544.  
  3545. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3546. end))
  3547. Part183.Name = "Startup"
  3548. Part183.Parent = Model175
  3549. Part183.CFrame = CFrame.new(8.2024231, 9.21926975, -47.5142899, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  3550. Part183.Orientation = Vector3.new(90, 0, 0)
  3551. Part183.Position = Vector3.new(8.2024231, 9.21926975, -47.5142899)
  3552. Part183.Rotation = Vector3.new(90, 0, 0)
  3553. Part183.Color = Color3.new(0, 1, 0)
  3554. Part183.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  3555. Part183.BottomSurface = Enum.SurfaceType.Weld
  3556. Part183.BrickColor = BrickColor.new("Lime green")
  3557. Part183.Material = Enum.Material.Neon
  3558. Part183.TopSurface = Enum.SurfaceType.Smooth
  3559. Part183.brickColor = BrickColor.new("Lime green")
  3560. BlockMesh184.Parent = Part183
  3561. BlockMesh184.Scale = Vector3.new(1, 1, 0.5)
  3562. Sound185.Name = "BUTTON"
  3563. Sound185.Parent = Part183
  3564. Sound185.SoundId = "http://www.roblox.com/asset/?id=138081500"
  3565. Script186.Name = "CLICK"
  3566. Script186.Parent = Part183
  3567. table.insert(cors,sandbox(Script186,function()
  3568. function onClicked()
  3569. script.Parent.BUTTON:Play()
  3570. end
  3571.  
  3572. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3573. end))
  3574. ClickDetector187.Parent = Part183
  3575. ClickDetector187.MaxActivationDistance = 100
  3576. Script188.Parent = Part183
  3577. table.insert(cors,sandbox(Script188,function()
  3578. prop = script.Parent.Parent.Parent.Heli.Plane.Body.ROTOR
  3579.  
  3580. function onClicked()
  3581. prop.TopSurfaceInput = "Constant"
  3582. prop.START:Play()
  3583. for i = 0, 2, .004 do
  3584. prop.TopParamA = i
  3585. prop.TopParamB = i
  3586. wait(0.01)
  3587. end
  3588. end
  3589.  
  3590. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3591. end))
  3592. Script189.Parent = Part183
  3593. table.insert(cors,sandbox(Script189,function()
  3594. prop = script.Parent.Parent.Parent.Heli.Plane.Body.ROTOR2
  3595.  
  3596. function onClicked()
  3597. prop.TopSurfaceInput = "Constant"
  3598. prop.START:Play()
  3599. for i = 0, 2, .005 do
  3600. prop.TopParamA = i
  3601. prop.TopParamB = i
  3602. wait(0.01)
  3603. end
  3604. end
  3605.  
  3606. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  3607. end))
  3608. Camera190.Name = "ThumbnailCamera"
  3609. Camera190.Parent = Model0
  3610. Camera190.CFrame = CFrame.new(-86.7071228, 10.8974686, 57.1042633, 0.907782853, 0.0109846741, -0.419296652, -9.31322464e-10, 0.999657154, 0.0261888746, 0.419440448, -0.0237738118, 0.907471597)
  3611. Camera190.CoordinateFrame = CFrame.new(-86.7071228, 10.8974686, 57.1042633, 0.907782853, 0.0109846741, -0.419296652, -9.31322464e-10, 0.999657154, 0.0261888746, 0.419440448, -0.0237738118, 0.907471597)
  3612. Camera190.FieldOfView = 20
  3613. Camera190.Focus = CFrame.new(-85.8685303, 10.8450909, 55.2893219, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3614. Camera190.focus = CFrame.new(-85.8685303, 10.8450909, 55.2893219, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3615. for i,v in pairs(mas:GetChildren()) do
  3616. v.Parent = script
  3617. pcall(function() v:MakeJoints() end)
  3618. end
  3619. mas:Destroy()
  3620. for i,v in pairs(cors) do
  3621. spawn(function()
  3622. pcall(v)
  3623. end)
  3624. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement