Advertisement
kikot

dead3 test

Jun 9th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 258.26 KB | None | 0 0
  1. --[[ ]]
  2.  
  3.  
  4.  
  5.  
  6.  
  7. -- made by 1ndrew
  8. function sandbox(var,func)
  9. local env = getfenv(func)
  10. local newenv = setmetatable({},{
  11. __index = function(self,k)
  12. if k=="script" then
  13. return var
  14. else
  15. return env[k]
  16. end
  17. end,
  18. })
  19. setfenv(func,newenv)
  20. return func
  21. end
  22. cors = {}
  23. mas = Instance.new("Model",game:GetService("Lighting"))
  24. Tool0 = Instance.new("Tool")
  25. LocalScript1 = Instance.new("LocalScript")
  26. NumberValue2 = Instance.new("NumberValue")
  27. PointLight3 = Instance.new("PointLight")
  28. Smoke4 = Instance.new("Smoke")
  29. Smoke5 = Instance.new("Smoke")
  30. NumberValue6 = Instance.new("NumberValue")
  31. ScreenGui7 = Instance.new("ScreenGui")
  32. Frame8 = Instance.new("Frame")
  33. TextLabel9 = Instance.new("TextLabel")
  34. TextLabel10 = Instance.new("TextLabel")
  35. LocalScript11 = Instance.new("LocalScript")
  36. NumberValue12 = Instance.new("NumberValue")
  37. NumberValue13 = Instance.new("NumberValue")
  38. ScreenGui14 = Instance.new("ScreenGui")
  39. Frame15 = Instance.new("Frame")
  40. TextLabel16 = Instance.new("TextLabel")
  41. Smoke17 = Instance.new("Smoke")
  42. Smoke18 = Instance.new("Smoke")
  43. PointLight19 = Instance.new("PointLight")
  44. Part20 = Instance.new("Part")
  45. BlockMesh21 = Instance.new("BlockMesh")
  46. Part22 = Instance.new("Part")
  47. BlockMesh23 = Instance.new("BlockMesh")
  48. Part24 = Instance.new("Part")
  49. CylinderMesh25 = Instance.new("CylinderMesh")
  50. Part26 = Instance.new("Part")
  51. BlockMesh27 = Instance.new("BlockMesh")
  52. Part28 = Instance.new("Part")
  53. BlockMesh29 = Instance.new("BlockMesh")
  54. Part30 = Instance.new("Part")
  55. BlockMesh31 = Instance.new("BlockMesh")
  56. Part32 = Instance.new("Part")
  57. BlockMesh33 = Instance.new("BlockMesh")
  58. Sound34 = Instance.new("Sound")
  59. Sound35 = Instance.new("Sound")
  60. Sound36 = Instance.new("Sound")
  61. Sound37 = Instance.new("Sound")
  62. Sound38 = Instance.new("Sound")
  63. Sound39 = Instance.new("Sound")
  64. Part40 = Instance.new("Part")
  65. CylinderMesh41 = Instance.new("CylinderMesh")
  66. Part42 = Instance.new("Part")
  67. BlockMesh43 = Instance.new("BlockMesh")
  68. Part44 = Instance.new("Part")
  69. BlockMesh45 = Instance.new("BlockMesh")
  70. Part46 = Instance.new("Part")
  71. BlockMesh47 = Instance.new("BlockMesh")
  72. Part48 = Instance.new("Part")
  73. Decal49 = Instance.new("Decal")
  74. CylinderMesh50 = Instance.new("CylinderMesh")
  75. Part51 = Instance.new("Part")
  76. BlockMesh52 = Instance.new("BlockMesh")
  77. Part53 = Instance.new("Part")
  78. BlockMesh54 = Instance.new("BlockMesh")
  79. ManualWeld55 = Instance.new("ManualWeld")
  80. Part56 = Instance.new("Part")
  81. CylinderMesh57 = Instance.new("CylinderMesh")
  82. Part58 = Instance.new("Part")
  83. BlockMesh59 = Instance.new("BlockMesh")
  84. Part60 = Instance.new("Part")
  85. BlockMesh61 = Instance.new("BlockMesh")
  86. Part62 = Instance.new("Part")
  87. BlockMesh63 = Instance.new("BlockMesh")
  88. Part64 = Instance.new("Part")
  89. CylinderMesh65 = Instance.new("CylinderMesh")
  90. Part66 = Instance.new("Part")
  91. Decal67 = Instance.new("Decal")
  92. BlockMesh68 = Instance.new("BlockMesh")
  93. Part69 = Instance.new("Part")
  94. BlockMesh70 = Instance.new("BlockMesh")
  95. Part71 = Instance.new("Part")
  96. BlockMesh72 = Instance.new("BlockMesh")
  97. Part73 = Instance.new("Part")
  98. CylinderMesh74 = Instance.new("CylinderMesh")
  99. Part75 = Instance.new("Part")
  100. CylinderMesh76 = Instance.new("CylinderMesh")
  101. Part77 = Instance.new("Part")
  102. SpecialMesh78 = Instance.new("SpecialMesh")
  103. Part79 = Instance.new("Part")
  104. BlockMesh80 = Instance.new("BlockMesh")
  105. Part81 = Instance.new("Part")
  106. CylinderMesh82 = Instance.new("CylinderMesh")
  107. Part83 = Instance.new("Part")
  108. BlockMesh84 = Instance.new("BlockMesh")
  109. Part85 = Instance.new("Part")
  110. BlockMesh86 = Instance.new("BlockMesh")
  111. Part87 = Instance.new("Part")
  112. BlockMesh88 = Instance.new("BlockMesh")
  113. Part89 = Instance.new("Part")
  114. BlockMesh90 = Instance.new("BlockMesh")
  115. Part91 = Instance.new("Part")
  116. BlockMesh92 = Instance.new("BlockMesh")
  117. Part93 = Instance.new("Part")
  118. BlockMesh94 = Instance.new("BlockMesh")
  119. Part95 = Instance.new("Part")
  120. BlockMesh96 = Instance.new("BlockMesh")
  121. Part97 = Instance.new("Part")
  122. BlockMesh98 = Instance.new("BlockMesh")
  123. Part99 = Instance.new("Part")
  124. BlockMesh100 = Instance.new("BlockMesh")
  125. Part101 = Instance.new("Part")
  126. BlockMesh102 = Instance.new("BlockMesh")
  127. Part103 = Instance.new("Part")
  128. BlockMesh104 = Instance.new("BlockMesh")
  129. Part105 = Instance.new("Part")
  130. BlockMesh106 = Instance.new("BlockMesh")
  131. Part107 = Instance.new("Part")
  132. Decal108 = Instance.new("Decal")
  133. BlockMesh109 = Instance.new("BlockMesh")
  134. Part110 = Instance.new("Part")
  135. CylinderMesh111 = Instance.new("CylinderMesh")
  136. Part112 = Instance.new("Part")
  137. CylinderMesh113 = Instance.new("CylinderMesh")
  138. Part114 = Instance.new("Part")
  139. SpecialMesh115 = Instance.new("SpecialMesh")
  140. Part116 = Instance.new("Part")
  141. BlockMesh117 = Instance.new("BlockMesh")
  142. Part118 = Instance.new("Part")
  143. CylinderMesh119 = Instance.new("CylinderMesh")
  144. Part120 = Instance.new("Part")
  145. SpecialMesh121 = Instance.new("SpecialMesh")
  146. Part122 = Instance.new("Part")
  147. BlockMesh123 = Instance.new("BlockMesh")
  148. Part124 = Instance.new("Part")
  149. CylinderMesh125 = Instance.new("CylinderMesh")
  150. Part126 = Instance.new("Part")
  151. CylinderMesh127 = Instance.new("CylinderMesh")
  152. Part128 = Instance.new("Part")
  153. BlockMesh129 = Instance.new("BlockMesh")
  154. Part130 = Instance.new("Part")
  155. BlockMesh131 = Instance.new("BlockMesh")
  156. Part132 = Instance.new("Part")
  157. SpecialMesh133 = Instance.new("SpecialMesh")
  158. Part134 = Instance.new("Part")
  159. BlockMesh135 = Instance.new("BlockMesh")
  160. Part136 = Instance.new("Part")
  161. SpecialMesh137 = Instance.new("SpecialMesh")
  162. Part138 = Instance.new("Part")
  163. BlockMesh139 = Instance.new("BlockMesh")
  164. Part140 = Instance.new("Part")
  165. BlockMesh141 = Instance.new("BlockMesh")
  166. Part142 = Instance.new("Part")
  167. SpecialMesh143 = Instance.new("SpecialMesh")
  168. Part144 = Instance.new("Part")
  169. BlockMesh145 = Instance.new("BlockMesh")
  170. Part146 = Instance.new("Part")
  171. BlockMesh147 = Instance.new("BlockMesh")
  172. Part148 = Instance.new("Part")
  173. BlockMesh149 = Instance.new("BlockMesh")
  174. Part150 = Instance.new("Part")
  175. SpecialMesh151 = Instance.new("SpecialMesh")
  176. Part152 = Instance.new("Part")
  177. BlockMesh153 = Instance.new("BlockMesh")
  178. Part154 = Instance.new("Part")
  179. SpecialMesh155 = Instance.new("SpecialMesh")
  180. Part156 = Instance.new("Part")
  181. BlockMesh157 = Instance.new("BlockMesh")
  182. Part158 = Instance.new("Part")
  183. BlockMesh159 = Instance.new("BlockMesh")
  184. Part160 = Instance.new("Part")
  185. BlockMesh161 = Instance.new("BlockMesh")
  186. Part162 = Instance.new("Part")
  187. BlockMesh163 = Instance.new("BlockMesh")
  188. Part164 = Instance.new("Part")
  189. BlockMesh165 = Instance.new("BlockMesh")
  190. Part166 = Instance.new("Part")
  191. CylinderMesh167 = Instance.new("CylinderMesh")
  192. Part168 = Instance.new("Part")
  193. SpecialMesh169 = Instance.new("SpecialMesh")
  194. Part170 = Instance.new("Part")
  195. CylinderMesh171 = Instance.new("CylinderMesh")
  196. Part172 = Instance.new("Part")
  197. SpecialMesh173 = Instance.new("SpecialMesh")
  198. Part174 = Instance.new("Part")
  199. BlockMesh175 = Instance.new("BlockMesh")
  200. Part176 = Instance.new("Part")
  201. BlockMesh177 = Instance.new("BlockMesh")
  202. Part178 = Instance.new("Part")
  203. BlockMesh179 = Instance.new("BlockMesh")
  204. Part180 = Instance.new("Part")
  205. CylinderMesh181 = Instance.new("CylinderMesh")
  206. Part182 = Instance.new("Part")
  207. BlockMesh183 = Instance.new("BlockMesh")
  208. Part184 = Instance.new("Part")
  209. SpecialMesh185 = Instance.new("SpecialMesh")
  210. Part186 = Instance.new("Part")
  211. SpecialMesh187 = Instance.new("SpecialMesh")
  212. Part188 = Instance.new("Part")
  213. BlockMesh189 = Instance.new("BlockMesh")
  214. Part190 = Instance.new("Part")
  215. BlockMesh191 = Instance.new("BlockMesh")
  216. Part192 = Instance.new("Part")
  217. CylinderMesh193 = Instance.new("CylinderMesh")
  218. Part194 = Instance.new("Part")
  219. SpecialMesh195 = Instance.new("SpecialMesh")
  220. Part196 = Instance.new("Part")
  221. SpecialMesh197 = Instance.new("SpecialMesh")
  222. Part198 = Instance.new("Part")
  223. CylinderMesh199 = Instance.new("CylinderMesh")
  224. Part200 = Instance.new("Part")
  225. SpecialMesh201 = Instance.new("SpecialMesh")
  226. Part202 = Instance.new("Part")
  227. SpecialMesh203 = Instance.new("SpecialMesh")
  228. ManualWeld204 = Instance.new("ManualWeld")
  229. Part205 = Instance.new("Part")
  230. CylinderMesh206 = Instance.new("CylinderMesh")
  231. Part207 = Instance.new("Part")
  232. SpecialMesh208 = Instance.new("SpecialMesh")
  233. Part209 = Instance.new("Part")
  234. BlockMesh210 = Instance.new("BlockMesh")
  235. Part211 = Instance.new("Part")
  236. BlockMesh212 = Instance.new("BlockMesh")
  237. Part213 = Instance.new("Part")
  238. BlockMesh214 = Instance.new("BlockMesh")
  239. Part215 = Instance.new("Part")
  240. CylinderMesh216 = Instance.new("CylinderMesh")
  241. Part217 = Instance.new("Part")
  242. BlockMesh218 = Instance.new("BlockMesh")
  243. Part219 = Instance.new("Part")
  244. CylinderMesh220 = Instance.new("CylinderMesh")
  245. Part221 = Instance.new("Part")
  246. CylinderMesh222 = Instance.new("CylinderMesh")
  247. Part223 = Instance.new("Part")
  248. CylinderMesh224 = Instance.new("CylinderMesh")
  249. Part225 = Instance.new("Part")
  250. BlockMesh226 = Instance.new("BlockMesh")
  251. Part227 = Instance.new("Part")
  252. CylinderMesh228 = Instance.new("CylinderMesh")
  253. Part229 = Instance.new("Part")
  254. SpecialMesh230 = Instance.new("SpecialMesh")
  255. Part231 = Instance.new("Part")
  256. BlockMesh232 = Instance.new("BlockMesh")
  257. Part233 = Instance.new("Part")
  258. BlockMesh234 = Instance.new("BlockMesh")
  259. Part235 = Instance.new("Part")
  260. SpecialMesh236 = Instance.new("SpecialMesh")
  261. Part237 = Instance.new("Part")
  262. BlockMesh238 = Instance.new("BlockMesh")
  263. Tool0.Name = "AK-47"
  264. Tool0.Parent = mas
  265. Tool0.GripForward = Vector3.new(-0.286980897, 0, -0.957936287)
  266. Tool0.GripPos = Vector3.new(0, -0.300000012, 0.300000012)
  267. Tool0.GripRight = Vector3.new(0.957936287, 0, -0.286980897)
  268. LocalScript1.Name = "Gun_Script"
  269. LocalScript1.Parent = Tool0
  270. table.insert(cors,sandbox(LocalScript1,function()
  271. sp = script.Parent
  272.  
  273. Mesh = false -- If true will load BC 2.0 Arm meshes as well.
  274. Shirt = true -- If true will load the user's shirt to the arms as well
  275.  
  276. function onEquipped(mouse)
  277. local Player = game:GetService("Players").LocalPlayer
  278. local Cam = game.Workspace.CurrentCamera
  279.  
  280. local Arms = Instance.new("Model")
  281. Arms.Name = "Arms"
  282. Arms.Parent = Cam
  283.  
  284. if Shirt == true then
  285. local Humanoid = Instance.new("Humanoid")
  286. Humanoid.MaxHealth = 0
  287. Humanoid.Health = 0
  288. Humanoid.Name = ""
  289. Humanoid.Parent = Arms
  290. local newShirt = Player.Character:FindFirstChild("Shirt")
  291. if newShirt then
  292. newShirt = newShirt:clone()
  293. newShirt.Parent = Arms
  294. end
  295. else end
  296.  
  297. local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
  298. RightArm.Name = "Right Arm"
  299. RightArm.Transparency = 0
  300. RightArm.Size = Vector3.new(.6, 2, .6)
  301.  
  302. local w = Instance.new("Weld")
  303. w.Part0 = RightArm
  304. w.Part1 = Player.Character:FindFirstChild("Right Arm")
  305. w.C0 = CFrame.new()
  306. w.C1 = CFrame.new()
  307. w.Parent = RightArm
  308. RightArm.Parent = Arms
  309.  
  310. local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
  311. LeftArm.Name = "Left Arm"
  312. LeftArm.Transparency = 0
  313. LeftArm.Size = Vector3.new(.6, 2, .6)
  314.  
  315. local w = Instance.new("Weld")
  316. w.Part0 = LeftArm
  317. w.Part1 = Player.Character:FindFirstChild("Left Arm")
  318. w.C0 = CFrame.new()
  319. w.C1 = CFrame.new()
  320. w.Parent = LeftArm
  321. LeftArm.Parent = Arms
  322.  
  323. if Mesh ~= false then
  324. local LeftArmMesh = script:FindFirstChild("LeftArm")
  325. LeftArmMesh.Parent = LeftArm
  326. local RightArmMesh = script:FindFirstChild("RightArm")
  327. RightArmMesh.Parent = RightArm
  328. else end
  329.  
  330. end
  331.  
  332. function onUnequipped(mouse)
  333. local Player = game:GetService("Players").LocalPlayer
  334. local Cam = game.Workspace.CurrentCamera
  335. for _, Model in pairs(Cam:GetChildren()) do
  336. if Model.Name == "Arms" then
  337. Model:remove()
  338. else end
  339. end
  340. end
  341.  
  342. script.Parent.Equipped:connect(onEquipped)
  343. script.Parent.Unequipped:connect(onUnequipped)
  344.  
  345. wait(0.5)
  346. --Made by YouTubes--
  347. --Edit settings below--
  348. local Tool = script.Parent
  349. local Settings = {
  350. Range = 1000
  351. ,Spread = 10
  352. ,Damage = {25, 50}
  353. ,HeadShotDamage = {70, 120}
  354. ,Bullets = 1
  355. ,FireRate = 0.1
  356. ,Automatic = true
  357. ,AntiTK = false
  358. ,ImpactDuration = 3
  359. --Reload
  360. ,ReloadKey = "R"
  361. ,ReloadTime = 2.5
  362. ,Ammo = 30
  363. ,IncludeChamberedBullet = true
  364. --Gui
  365. ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
  366. --Arms
  367. ,OneHanded = false
  368. ,FakeArms = false
  369. ,FakeArmTransparency = 0.5
  370. ,RightPos = CFrame.new(-0.75, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), 0)
  371. ,LeftPos = CFrame.new(0.4, 0.65, 1.1) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.6, math.rad(-84))
  372. ,AimPart = script.Parent.AimPart
  373. ,AimPartOffset = CFrame.new()
  374. ,AimGripOffset = Vector3.new(0, 0, 0)
  375. ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  376. ,AimAnim = {
  377. Enabled = false
  378. ,Frames = 50
  379. ,Time = 0.1
  380. }
  381. ,ChangeFOV = {true, 60}
  382. ,SpreadReduction = 5
  383. --Weld
  384. ,Weld = true
  385. --Mouse
  386. ,Icons = {
  387. Idle = "rbxassetid://70288585"
  388. ,Fire1 = "rbxassetid://70288578"
  389. ,Fire2 = "rbxassetid://70288572"
  390. ,Fire3 = "rbxassetid://70288578"
  391. ,Reload = "rbxassetid://70288599"
  392. ,Aim = "rbxasset://textures/Blank.png"
  393. }
  394. ,FireMouseAnimTime = 0.15
  395. --Recoil
  396. ,Recoil = math.rad(1)
  397. --Smoke
  398. ,Smoke = true
  399. ,SmokePart = Tool.SmokePart
  400. ,Smokes = {{script.Smoke, 6, 0.1}, {script.Smoke1, 0.1}, {script.Smoke1, 0.1}, {script.Flash, 0.03}}
  401. --Sprint
  402. ,Sprint = true
  403. ,SprintSpeed = 25
  404. ,SprintKey = "0"
  405. ,SprintSpreadIncrease = 40
  406. ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  407. --Other
  408. ,DropHats = true
  409. }
  410.  
  411. --Do not edit below this lign--
  412.  
  413. local Orig_Spread = Settings.Spread
  414. local Orig_Grip = Tool.GripPos
  415.  
  416. local Player = game.Players.LocalPlayer
  417. local Character = Player.Character
  418.  
  419. local Camera = workspace.CurrentCamera
  420.  
  421. local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
  422.  
  423. local Gui, CanUpdateGui = nil, true
  424.  
  425. local Sprinting, Equipped
  426.  
  427. function Update_Gui()
  428. if Gui and CanUpdateGui then
  429. Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  430. end
  431. end
  432.  
  433. local Welded
  434. if Settings.Weld then
  435. Delay(0, function()
  436. local weldC0s = {}
  437. for i, v in pairs(Tool:GetChildren()) do
  438. if v:IsA("BasePart") and v ~= Tool.Handle then
  439. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  440. v.Anchored = false
  441. end
  442. end
  443. Tool.Handle.Anchored = false
  444. local welds = {}
  445. Tool.Equipped:connect(function()
  446. for i, v in ipairs(welds) do
  447. v.Part1 = nil
  448. v:Destroy()
  449. end
  450. for i, v in ipairs(weldC0s) do
  451. if v[1] and v[2] then
  452. local w = Instance.new("Weld", Tool.Handle)
  453. w.Part0 = Tool.Handle
  454. w.Part1 = v[1]
  455. w.C0 = v[2]
  456. table.insert(welds, w)
  457. end
  458. end
  459. end)
  460. wait()
  461. Welded = true
  462. end)
  463. end
  464.  
  465. local Left_Weld, Right_Weld
  466.  
  467. Ammo.Changed:connect(Update_Gui)
  468. StoredAmmo.Changed:connect(Update_Gui)
  469.  
  470. Settings.Range = math.min(Settings.Range, 999)
  471.  
  472. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  473. Ignore_Model.Name = "Ray_Ignore"
  474.  
  475. local Ray_Ignore = {Character, Ignore_Model, Camera}
  476.  
  477. Character.Humanoid.Died:connect(function()
  478. Tool.Parent = Player.Backpack
  479. end)
  480.  
  481. function Fire(Mouse)
  482. local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  483. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  484. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  485. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  486. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  487. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  488. return
  489. end
  490. local Humanoid = Hit.Parent.Humanoid
  491. local c = Instance.new("ObjectValue")
  492. c.Name = "creator"
  493. c.Value = Player
  494. game.Debris:AddItem(c, 3)
  495. c.Parent = Humanoid
  496. if Hit.Name == "Head" then
  497. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  498. else
  499. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  500. end
  501. elseif Hit then
  502. local Hit_Part = Instance.new("Part", Ignore_Model)
  503. Hit_Part.FormFactor = "Custom"
  504. Hit_Part.TopSurface = 0
  505. Hit_Part.BottomSurface = 0
  506. Hit_Part.Anchored = true
  507. Hit_Part.CanCollide = false
  508. Hit_Part.Size = Vector3.new()
  509. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  510. Hit_Part.BrickColor = BrickColor.new("Black")
  511. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  512. if not Hit.Anchored then
  513. local w = Instance.new("Weld", Hit_Part)
  514. w.Part0 = Hit
  515. w.Part1 = Hit_Part
  516. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  517. Hit_Part.Anchored = false
  518. end
  519. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  520. Hit.Parent.Parent = workspace
  521. game.Debris:AddItem(Hit, 3)
  522. end
  523. end
  524. end
  525.  
  526. local Can_Shoot = true
  527. local Reloading = false
  528.  
  529. local First_Person = false
  530.  
  531. local Mouse_Held
  532.  
  533. Tool.Equipped:connect(function(Mouse)
  534. Equipped = true
  535. if Settings.Weld and not Welded then
  536. wait()
  537. Tool.Parent = Player.Backpack
  538. end
  539. Character = Player.Character
  540. if Gui then
  541. return
  542. end
  543. Ray_Ignore = {Character, Ignore_Model, Camera}
  544. Mouse.Icon = Settings.Icons.Idle
  545. Gui = script.Gui:Clone()
  546. Gui.Parent = Player.PlayerGui
  547. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  548. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  549. CanUpdateGui = true
  550. Update_Gui()
  551. Mouse.Button1Down:connect(function()
  552. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  553. Mouse_Held = true
  554. while true do
  555. Can_Shoot = false
  556. Delay(0, function()
  557. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  558. if not Aiming then
  559. Mouse.Icon = Settings.Icons.Fire1
  560. end
  561. wait(t)
  562. if not Aiming then
  563. if Reloading then return end
  564. Mouse.Icon = Settings.Icons.Fire2
  565. end
  566. wait(t)
  567. if not Aiming then
  568. if Reloading then return end
  569. Mouse.Icon = Settings.Icons.Fire3
  570. end
  571. wait(t)
  572. if not Aiming then
  573. if Reloading then return end
  574. Mouse.Icon = Settings.Icons.Idle
  575. end
  576. end)
  577. if Settings.Smoke then
  578. for i, v in pairs(Settings.Smokes) do
  579. local s = v[1]:Clone()
  580. s.Parent = Settings.SmokePart
  581. s.Enabled = true
  582. game.Debris:AddItem(s, v[2])
  583. if v[3] then
  584. Delay(v[3], function()
  585. s.Enabled = false
  586. end)
  587. end
  588. end
  589. end
  590. for _ = 1, Settings.Bullets do
  591. pcall(function() Fire(Mouse) end)
  592. end
  593. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  594. if Tool.Handle:FindFirstChild("Shoot") then
  595. Tool.Handle.Shoot:Play()
  596. end
  597. Ammo.Value = Ammo.Value - 1
  598. wait(Settings.FireRate)
  599. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  600. break
  601. end
  602. end
  603. Can_Shoot = true
  604. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  605. Tool.Handle.Click:Play()
  606. end
  607. end)
  608. Mouse.Button1Up:connect(function()
  609. Mouse_Held = false
  610. end)
  611. Mouse.KeyDown:connect(function(Key)
  612. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  613. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  614. return
  615. end
  616. Can_Shoot = false
  617. Reloading = true
  618. local TextLabel = Gui.Frame.AmmoDisplay
  619. Delay(0, function()
  620. CanUpdateGui = false
  621. TextLabel.Text = "Reloading."
  622. wait(Settings.ReloadTime/3)
  623. if TextLabel then
  624. TextLabel.Text = "Reloading.."
  625. end
  626. wait(Settings.ReloadTime/3)
  627. if TextLabel then
  628. TextLabel.Text = "Reloading..."
  629. end
  630. end)
  631. Right_Weld.C1 = CFrame.new(-0.73, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-92), math.rad(-16), 0.21)
  632. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(286), 0.81, math.rad(-0))
  633. wait(.04)
  634. Right_Weld.C1 = CFrame.new(-0.71, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-87), math.rad(-16), 0.22)
  635. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(298), 0.92, math.rad(-0))
  636. wait(.04)
  637. Right_Weld.C1 = CFrame.new(-0.69, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-87), math.rad(-16), 0.23)
  638. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(298), 0.883, math.rad(-0))
  639. wait(.04)
  640. Right_Weld.C1 = CFrame.new(-0.705, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-87), math.rad(-16), 0.225)
  641. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(298), 0.864, math.rad(-0))
  642. wait(.07)
  643. Right_Weld.C1 = CFrame.new(-0.715, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-87), math.rad(-16), 0.215)
  644. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(298), 0.855, math.rad(-0))
  645. Tool.Handle.M1:play()
  646. Tool.Mag.Transparency = 1
  647. local mag = Tool.Mag:clone()
  648. mag.Parent = game.Workspace
  649. mag.CanCollide = false
  650. mag.Transparency = 0
  651. Tool.Mag2.Transparency = 1
  652. local mag = Tool.Mag2:clone()
  653. mag.Parent = game.Workspace
  654. mag.CanCollide = false
  655. mag.Transparency = 0
  656. Tool.Mag3.Transparency = 1
  657. local mag = Tool.Mag3:clone()
  658. mag.Parent = game.Workspace
  659. mag.CanCollide = false
  660. mag.Transparency = 0
  661. Tool.Mag4.Transparency = 1
  662. local mag = Tool.Mag4:clone()
  663. mag.Parent = game.Workspace
  664. mag.CanCollide = false
  665. mag.Transparency = 0
  666. wait(.04)
  667. Right_Weld.C1 = CFrame.new(-0.73, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-107), math.rad(-16), 0.21)
  668. Left_Weld.C1 = CFrame.new(0.9, 0.35, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(301), 0.85, math.rad(-0))
  669. wait(.04)
  670. Right_Weld.C1 = CFrame.new(-0.71, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-106.75), math.rad(-16), 0.22)
  671. Left_Weld.C1 = CFrame.new(0.9, 0.3, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(309), 0.8, math.rad(-0))
  672. wait(.04)
  673. Right_Weld.C1 = CFrame.new(-0.69, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-106.6), math.rad(-16), 0.23)
  674. Left_Weld.C1 = CFrame.new(0.9, 0.3, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(314), 0.76, math.rad(-0))
  675. wait(.04)
  676. Right_Weld.C1 = CFrame.new(-0.66, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-106.5), math.rad(-16), 0.24)
  677. Left_Weld.C1 = CFrame.new(0.9, 0.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(322), 0.72, math.rad(-0))
  678. wait(.04)
  679. Right_Weld.C1 = CFrame.new(-0.63, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-106.4), math.rad(-16), 0.25)
  680. Left_Weld.C1 = CFrame.new(0.9, 0.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(329), 0.68, math.rad(-0))
  681. wait(.04)
  682. Right_Weld.C1 = CFrame.new(-0.59, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-105.9), math.rad(-16), 0.26)
  683. Left_Weld.C1 = CFrame.new(0.9, 0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(332), 0.64, math.rad(-0))
  684. wait(.04)
  685. Right_Weld.C1 = CFrame.new(-0.55, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-104.4), math.rad(-16), 0.27)
  686. Left_Weld.C1 = CFrame.new(0.9, 0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(335), 0.61, math.rad(-0))
  687. wait(.05)
  688. Right_Weld.C1 = CFrame.new(-0.5, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-103), math.rad(-16), 0.28)
  689. Left_Weld.C1 = CFrame.new(0.95, 0.15, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(338), 0.58, math.rad(-0))
  690. wait(.05)
  691. Right_Weld.C1 = CFrame.new(-0.44, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-102.7), math.rad(-16), 0.29)
  692. Left_Weld.C1 = CFrame.new(0.95, 0.15, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(342), 0.55, math.rad(-0))
  693. wait(.05)
  694. Right_Weld.C1 = CFrame.new(-0.38, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-101.5), math.rad(-16), 0.3)
  695. Left_Weld.C1 = CFrame.new(1.025, 0.1, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(338), 0.54, math.rad(-0))
  696. wait(.05)
  697. Right_Weld.C1 = CFrame.new(-0.37, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-100.4), math.rad(-16), 0.3)
  698. Left_Weld.C1 = CFrame.new(1.1, 0.1, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(334), 0.57, math.rad(-0))
  699. wait(.05)
  700. Right_Weld.C1 = CFrame.new(-0.36, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-99.4), math.rad(-16), 0.3)
  701. Left_Weld.C1 = CFrame.new(1.12, 0.05, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(329), 0.6, math.rad(-0))
  702. wait(.05)
  703. Right_Weld.C1 = CFrame.new(-0.35, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-98.5), math.rad(-16), 0.3)
  704. Left_Weld.C1 = CFrame.new(1.14, 0.05, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(325), 0.64, math.rad(-0))
  705. wait(.08)
  706. Right_Weld.C1 = CFrame.new(-0.34, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-97.7), math.rad(-16), 0.3)
  707. Left_Weld.C1 = CFrame.new(1.16, 0, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(321), 0.68, math.rad(-0))
  708. Tool.Mag.Transparency = 0
  709. Tool.Mag2.Transparency = 0
  710. Tool.Mag3.Transparency = 0
  711. Tool.Mag4.Transparency = 0
  712. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.7, 0)
  713. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.675, 0.195)
  714. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.605, 0.365)
  715. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.49, 0.51)
  716. wait(.05)
  717. Right_Weld.C1 = CFrame.new(-0.33, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-97), math.rad(-16), 0.3)
  718. Left_Weld.C1 = CFrame.new(1.18, 0, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(315), 0.72, math.rad(-0))
  719. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.6, 0)
  720. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.578, 0.167)
  721. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.518, 0.312)
  722. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.42, 0.437)
  723. wait(.05)
  724. Right_Weld.C1 = CFrame.new(-0.32, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-96.4), math.rad(-16), 0.3)
  725. Left_Weld.C1 = CFrame.new(1.2, -0.05, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(309), 0.76, math.rad(-0))
  726. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.5, 0)
  727. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.482, 0.139)
  728. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.432, 0.26)
  729. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.35, 0.364)
  730. wait(.05)
  731. Right_Weld.C1 = CFrame.new(-0.3, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-95.9), math.rad(-16), 0.31)
  732. Left_Weld.C1 = CFrame.new(1.22, -0.05, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(303), 0.8, math.rad(-0))
  733. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.4, 0)
  734. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.385, 0.111)
  735. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.345, 0.208)
  736. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.28, 0.291)
  737. wait(.05)
  738. Right_Weld.C1 = CFrame.new(-0.28, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-95.5), math.rad(-16), 0.32)
  739. Left_Weld.C1 = CFrame.new(1.24, -0.1, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(297), 0.85, math.rad(-0))
  740. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.3, 0)
  741. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.289, 0.083)
  742. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.259, 0.156)
  743. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.21, 0.218)
  744. wait(.05)
  745. Right_Weld.C1 = CFrame.new(-0.26, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-95.2), math.rad(-16), 0.33)
  746. Left_Weld.C1 = CFrame.new(1.26, -0.1, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(291), 0.9, math.rad(-0))
  747. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.2, 0)
  748. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.192, 0.055)
  749. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.172, 0.104)
  750. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.14, 0.145)
  751. Tool.Handle.M2:play()
  752. wait(.05)
  753. Right_Weld.C1 = CFrame.new(-0.24, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-97.1), math.rad(-16), 0.34)
  754. Left_Weld.C1 = CFrame.new(1.28, -0.15, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(285), 0.95, math.rad(-0))
  755. Tool.Mag.Mesh.Offset = Vector3.new(0, -0.1, 0)
  756. Tool.Mag2.Mesh.Offset = Vector3.new(0, -0.096, 0.027)
  757. Tool.Mag3.Mesh.Offset = Vector3.new(0, -0.086, 0.052)
  758. Tool.Mag4.Mesh.Offset = Vector3.new(0, -0.07, 0.072)
  759. wait(.05)
  760. Right_Weld.C1 = CFrame.new(-0.22, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-97.8), math.rad(-16), 0.35)
  761. Left_Weld.C1 = CFrame.new(1.3, -0.15, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(279), 1, math.rad(-0))
  762. Tool.Mag.Mesh.Offset = Vector3.new(0, 0, 0)
  763. Tool.Mag2.Mesh.Offset = Vector3.new(0, 0, 0)
  764. Tool.Mag3.Mesh.Offset = Vector3.new(0, 0, 0)
  765. Tool.Mag4.Mesh.Offset = Vector3.new(0, 0, 0)
  766. wait(.1)
  767. Right_Weld.C1 = CFrame.new(-0.27, -0.6, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-97.8), math.rad(-16), 0.21)
  768. Left_Weld.C1 = CFrame.new(1.26, -0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(276), 0.995, math.rad(-0))
  769. wait(.09)
  770. Right_Weld.C1 = CFrame.new(-0.32, -0.6, 0.25) * CFrame.fromEulerAnglesXYZ(math.rad(-97.7), math.rad(-16), 0.08)
  771. Left_Weld.C1 = CFrame.new(1.23, -0.25, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(273), 0.99, math.rad(-0))
  772. wait(.09)
  773. Right_Weld.C1 = CFrame.new(-0.37, -0.6, 0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.6), math.rad(-16), -0.04)
  774. Left_Weld.C1 = CFrame.new(1.19, -0.3, 0.32) * CFrame.fromEulerAnglesXYZ(math.rad(270), 0.985, math.rad(-0))
  775. wait(.09)
  776. Right_Weld.C1 = CFrame.new(-0.42, -0.6, 0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-97.5), math.rad(-16), -0.18)
  777. Left_Weld.C1 = CFrame.new(1.16, -0.13, 0.48) * CFrame.fromEulerAnglesXYZ(math.rad(267), 0.98, math.rad(-0))
  778. wait(.09)
  779. Right_Weld.C1 = CFrame.new(-0.47, -0.6, -0.05) * CFrame.fromEulerAnglesXYZ(math.rad(-97.6), math.rad(-16), -0.31)
  780. Left_Weld.C1 = CFrame.new(1.13, 0.03, 0.64) * CFrame.fromEulerAnglesXYZ(math.rad(264), 0.975, math.rad(-0))
  781. wait(.1)
  782. Right_Weld.C1 = CFrame.new(-0.52, -0.6, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.7), math.rad(-16), -0.45)
  783. Left_Weld.C1 = CFrame.new(1.1, 0.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(261), 0.97, math.rad(-0))
  784. Tool.Handle.M3:play()
  785. wait(.05)
  786. Right_Weld.C1 = CFrame.new(-0.52, -0.61, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.8), math.rad(-16), -0.45)
  787. Left_Weld.C1 = CFrame.new(0.98, 0.06, 0.79) * CFrame.fromEulerAnglesXYZ(math.rad(260.3), 1, math.rad(-0))
  788. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0.18)
  789. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0.18)
  790. wait(.05)
  791. Right_Weld.C1 = CFrame.new(-0.52, -0.62, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.9), math.rad(-16), -0.45)
  792. Left_Weld.C1 = CFrame.new(0.86, -0.06, 0.78) * CFrame.fromEulerAnglesXYZ(math.rad(259.6), 1.03, math.rad(-0))
  793. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0.36)
  794. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0.36)
  795. wait(.05)
  796. Right_Weld.C1 = CFrame.new(-0.52, -0.63, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-16), -0.45)
  797. Left_Weld.C1 = CFrame.new(0.74, -0.2, 0.77) * CFrame.fromEulerAnglesXYZ(math.rad(259), 1.07, math.rad(-0))
  798. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0.55)
  799. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0.55)
  800. wait(.05)
  801. Right_Weld.C1 = CFrame.new(-0.52, -0.62, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-98), math.rad(-16), -0.45)
  802. Left_Weld.C1 = CFrame.new(0.86, -0.06, 0.78) * CFrame.fromEulerAnglesXYZ(math.rad(259.6), 1.03, math.rad(-0))
  803. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0.36)
  804. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0.36)
  805. wait(.05)
  806. Right_Weld.C1 = CFrame.new(-0.52, -0.61, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.9), math.rad(-16), -0.45)
  807. Left_Weld.C1 = CFrame.new(0.98, 0.06, 0.79) * CFrame.fromEulerAnglesXYZ(math.rad(260.3), 1, math.rad(-0))
  808. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0.18)
  809. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0.18)
  810. wait(.05)
  811. Right_Weld.C1 = CFrame.new(-0.52, -0.6, -0.15) * CFrame.fromEulerAnglesXYZ(math.rad(-97.8), math.rad(-16), -0.45)
  812. Left_Weld.C1 = CFrame.new(1.1, 0.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(261), 0.97, math.rad(-0))
  813. Tool.A1.Mesh.Offset = Vector3.new(0, 0, 0)
  814. Tool.A2.Mesh.Offset = Vector3.new(0, 0, 0)
  815. Tool.Handle.M4:Play()
  816. wait(.2)
  817. Right_Weld.C1 = CFrame.new(-0.55, -0.6, -0.06) * CFrame.fromEulerAnglesXYZ(math.rad(-96.6), math.rad(-16), -0.38)
  818. Left_Weld.C1 = CFrame.new(1, 0.26, 0.84) * CFrame.fromEulerAnglesXYZ(math.rad(269), 0.91, math.rad(-12))
  819. wait(.05)
  820. Right_Weld.C1 = CFrame.new(-0.58, -0.6, 0.02) * CFrame.fromEulerAnglesXYZ(math.rad(-95.5), math.rad(-16), -0.32)
  821. Left_Weld.C1 = CFrame.new(0.9, 0.32, 0.88) * CFrame.fromEulerAnglesXYZ(math.rad(277), 0.86, math.rad(-24))
  822. wait(.05)
  823. Right_Weld.C1 = CFrame.new(-0.61, -0.6, 0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-94.4), math.rad(-16), -0.25)
  824. Left_Weld.C1 = CFrame.new(0.8, 0.39, 0.92) * CFrame.fromEulerAnglesXYZ(math.rad(286), 0.81, math.rad(-36))
  825. wait(.05)
  826. Right_Weld.C1 = CFrame.new(-0.65, -0.6, 0.19) * CFrame.fromEulerAnglesXYZ(math.rad(-93.3), math.rad(-16), -0.19)
  827. Left_Weld.C1 = CFrame.new(0.7, 0.45, 0.97) * CFrame.fromEulerAnglesXYZ(math.rad(294), 0.75, math.rad(-48))
  828. wait(.05)
  829. Right_Weld.C1 = CFrame.new(-0.68, -0.6, 0.27) * CFrame.fromEulerAnglesXYZ(math.rad(-92.2), math.rad(-16), -0.12)
  830. Left_Weld.C1 = CFrame.new(0.6, 0.52, 1.01) * CFrame.fromEulerAnglesXYZ(math.rad(303), 0.7, math.rad(-60))
  831. wait(.05)
  832. Right_Weld.C1 = CFrame.new(-0.71, -0.6, 0.36) * CFrame.fromEulerAnglesXYZ(math.rad(-91.1), math.rad(-16), -0.06)
  833. Left_Weld.C1 = CFrame.new(0.5, 0.58, 1.05) * CFrame.fromEulerAnglesXYZ(math.rad(311), 0.65, math.rad(-72))
  834. wait(.05)
  835. Right_Weld.C1 = CFrame.new(-0.75, -0.6, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-16), 0)
  836. Left_Weld.C1 = CFrame.new(0.4, 0.65, 1.1) * CFrame.fromEulerAnglesXYZ(math.rad(320), 0.6, math.rad(-84))
  837. CanUpdateGui = true
  838. local m = Settings.Ammo
  839. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  840. m = m + 1
  841. end
  842. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  843. Ammo.Value = Ammo.Value + StoredAmmo.Value
  844. StoredAmmo.Value = 0
  845. else
  846. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  847. Ammo.Value = m
  848. end
  849. Can_Shoot = true
  850. Reloading = false
  851. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  852. Sprinting = true
  853. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  854. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  855. end
  856. end)
  857. Mouse.KeyUp:connect(function(Key)
  858. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  859. Sprinting = false
  860. Character.Humanoid.WalkSpeed = 16
  861. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  862. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  863. end
  864. end)
  865. Mouse.Button2Down:connect(function()
  866. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  867. Aiming = true
  868. Mouse.Icon = Settings.Icons.Aim
  869. Right_Weld.C1 = CFrame.new()
  870. Right_Weld.C0 = CFrame.new()
  871. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  872. Left_Weld.C1 = Settings.LeftAimPos
  873. if Settings.ChangeFOV[1] then
  874. Camera.FieldOfView = Settings.ChangeFOV[2]
  875. end
  876. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  877. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  878. end
  879. end)
  880. Mouse.Button2Up:connect(function()
  881. if Aiming then
  882. Mouse.Icon = Settings.Icons.Idle
  883. Tool.GripPos = Orig_Grip
  884. Right_Weld.C1 = Settings.RightPos
  885. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  886. Left_Weld.C1 = Settings.LeftPos
  887. if Settings.ChangeFOV[1] then
  888. Camera.FieldOfView = 70
  889. end
  890. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  891. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  892. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  893. wait(0.25)
  894. Aiming = false
  895. end
  896. end)
  897. wait()
  898. Camera.Changed:connect(function()
  899. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  900. Mouse.TargetFilter = workspace
  901. Character.Torso.Neck.C1 = CFrame.new()
  902. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  903. end
  904. end)
  905. Mouse.Idle:connect(function()
  906. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  907. Mouse.TargetFilter = workspace
  908. Character.Torso.Neck.C1 = CFrame.new()
  909. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  910. end
  911. end)
  912. while wait() and Equipped do
  913. if Sprinting then
  914. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  915. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  916. elseif not Aiming then
  917. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  918. end
  919. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  920. Mouse.TargetFilter = nil
  921. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  922. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  923. end
  924. end
  925. end)
  926.  
  927. local Arms_Made
  928. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  929.  
  930. Tool.Equipped:connect(function(Mouse)
  931. if Character and not Arms_Made then
  932. Arms_Made = true
  933. local Torso = Character.Torso
  934. Torso["Right Shoulder"].Part1 = nil
  935. Left_Weld = Instance.new("Weld", Torso)
  936. Left_Weld.Name = "Left_Weld"
  937. Left_Weld.Part0 = Character.Head
  938. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  939. if not Settings.OneHanded then
  940. Torso["Left Shoulder"].Part1 = nil
  941. Left_Weld.Part1 = Character["Left Arm"]
  942. end
  943. Right_Weld = Instance.new("Weld", Torso)
  944. Right_Weld.Name = "Right_Weld"
  945. Right_Weld.Part0 = Character.Head
  946. Right_Weld.Part1 = Character["Right Arm"]
  947. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  948. Left_Weld.C1 = Settings.LeftPos
  949. Right_Weld.C1 = Settings.RightPos
  950. end
  951. if Settings.FakeArms and not Fake_Arm_Right then
  952. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  953. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  954. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  955. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  956. for i = 1, 2 do
  957. local w = Instance.new("Weld", fakeArms[i])
  958. w.Part0 = Character[fakeArms[i].Name]
  959. w.Part1 = fakeArms[i]
  960. fakeArms[i].Transparency = Settings.FakeArmTransparency
  961. end
  962. Fake_Arm_Model = Instance.new("Model", Camera)
  963. Fake_Arm_Right.Parent = Fake_Arm_Model
  964. if not Settings.OneHanded then
  965. Fake_Arm_Left.Parent = Fake_Arm_Model
  966. end
  967. Fake_Arm_Model.Name = "FakeArms"
  968. if Settings.CharacterMeshes then
  969. for i, v in pairs(Character:GetChildren()) do
  970. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  971. v:Clone().Parent = Fake_Arm_Model
  972. end
  973. end
  974. end
  975. if Character:FindFirstChild("Shirt") then
  976. Instance.new("Humanoid", Fake_Arm_Model)
  977. Character.Shirt:Clone().Parent = Fake_Arm_Model
  978. else
  979. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  980. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  981. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  982. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  983. end
  984. end
  985. end)
  986.  
  987. Tool.Unequipped:connect(function()
  988. Equipped = false
  989. Tool.GripPos = Orig_Grip
  990. Aiming = false
  991. Settings.Spread = Orig_Spread
  992. if Settings.ChangeFOV[1] then
  993. Camera.FieldOfView = 70
  994. end
  995. if Gui then
  996. Gui:Destroy()
  997. Gui = nil
  998. end
  999. for i, v in pairs(Tool.Handle:GetChildren()) do
  1000. if v:IsA("Sound") then
  1001. v:Stop()
  1002. end
  1003. end
  1004. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  1005. Fake_Arm_Model:Destroy()
  1006. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  1007. end
  1008. if Character and Left_Weld and Right_Weld then
  1009. Arms_Made = false
  1010. local Torso = Character.Torso
  1011. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  1012. Left_Weld:Destroy()
  1013. Right_Weld:Destroy()
  1014. end
  1015. Sprinting = false
  1016. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1017. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1018. Character.Humanoid.WalkSpeed = 16
  1019. end)
  1020.  
  1021. end))
  1022. NumberValue2.Name = "Ammo"
  1023. NumberValue2.Parent = LocalScript1
  1024. NumberValue2.Value = 999999
  1025. PointLight3.Name = "Flash"
  1026. PointLight3.Parent = LocalScript1
  1027. PointLight3.Color = Color3.new(0.772549, 0.384314, 0)
  1028. PointLight3.Brightness = 10
  1029. PointLight3.Range = 10
  1030. PointLight3.Shadows = true
  1031. PointLight3.Color = Color3.new(0.772549, 0.384314, 0)
  1032. Smoke4.Parent = LocalScript1
  1033. Smoke4.Size = 0.25
  1034. Smoke4.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1035. Smoke4.Enabled = false
  1036. Smoke4.Opacity = 0.10000000149012
  1037. Smoke4.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1038. Smoke5.Name = "Smoke1"
  1039. Smoke5.Parent = LocalScript1
  1040. Smoke5.Size = 0.10000000149012
  1041. Smoke5.Color = Color3.new(1, 0.6, 0.2)
  1042. Smoke5.Enabled = false
  1043. Smoke5.Opacity = 0.40000000596046
  1044. Smoke5.Color = Color3.new(1, 0.6, 0.2)
  1045. NumberValue6.Name = "StoredAmmo"
  1046. NumberValue6.Parent = LocalScript1
  1047. NumberValue6.Value = inf
  1048. ScreenGui7.Name = "Gui"
  1049. ScreenGui7.Parent = LocalScript1
  1050. Frame8.Parent = ScreenGui7
  1051. Frame8.Transparency = 1
  1052. Frame8.Size = UDim2.new(0, 100, 0, 100)
  1053. Frame8.Position = UDim2.new(1, -200, 1, -100)
  1054. Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
  1055. Frame8.BackgroundTransparency = 1
  1056. Frame8.BorderSizePixel = 0
  1057. TextLabel9.Name = "AmmoDisplay"
  1058. TextLabel9.Parent = Frame8
  1059. TextLabel9.Transparency = 1
  1060. TextLabel9.Size = UDim2.new(1, 0, 1, 0)
  1061. TextLabel9.Text = ""
  1062. TextLabel9.BackgroundTransparency = 1
  1063. TextLabel9.FontSize = Enum.FontSize.Size24
  1064. TextLabel9.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  1065. TextLabel9.TextStrokeTransparency = 0.5
  1066. TextLabel9.TextXAlignment = Enum.TextXAlignment.Right
  1067. TextLabel10.Parent = Frame8
  1068. TextLabel10.Transparency = 50
  1069. TextLabel10.Size = UDim2.new(0, 200, 0, 50)
  1070. TextLabel10.Text = "Made by 1ndrew"
  1071. TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
  1072. TextLabel10.BackgroundTransparency = 50
  1073. TextLabel10.BorderColor3 = Color3.new(1, 1, 1)
  1074. TextLabel10.Font = Enum.Font.SourceSans
  1075. TextLabel10.FontSize = Enum.FontSize.Size14
  1076. TextLabel10.TextColor3 = Color3.new(0, 0, 1)
  1077. LocalScript11.Name = "Gun_Script"
  1078. LocalScript11.Parent = LocalScript1
  1079. table.insert(cors,sandbox(LocalScript11,function()
  1080. wait(0.5)
  1081. --Made by YouTubes--
  1082. --Edit settings below--
  1083. local Tool = script.Parent
  1084. local Settings = {
  1085. Range = 1000
  1086. ,Spread = 10
  1087. ,Damage = {25, 50}
  1088. ,HeadShotDamage = {70, 120}
  1089. ,Bullets = 1
  1090. ,FireRate = 0.1
  1091. ,Automatic = true
  1092. ,AntiTK = true
  1093. ,ImpactDuration = 3
  1094. --Reload
  1095. ,ReloadKey = "R"
  1096. ,ReloadTime = 2.5
  1097. ,Ammo = 30
  1098. ,IncludeChamberedBullet = true
  1099. --Gui
  1100. ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
  1101. --Arms
  1102. ,OneHanded = false
  1103. ,FakeArms = true
  1104. ,FakeArmTransparency = 0.5
  1105. ,RightPos = CFrame.new(-0.75, -0.25, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
  1106. ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  1107. ,AimPart = Tool.AimPart
  1108. ,AimPartOffset = CFrame.new()
  1109. ,AimGripOffset = Vector3.new(0, 0, 0)
  1110. ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  1111. ,AimAnim = {
  1112. Enabled = false
  1113. ,Frames = 50
  1114. ,Time = 0.1
  1115. }
  1116. ,ChangeFOV = {true, 60}
  1117. ,SpreadReduction = 5
  1118. --Weld
  1119. ,Weld = true
  1120. --Mouse
  1121. ,Icons = {
  1122. Idle = "rbxassetid://70288585"
  1123. ,Fire1 = "rbxassetid://70288578"
  1124. ,Fire2 = "rbxassetid://70288572"
  1125. ,Fire3 = "rbxassetid://70288578"
  1126. ,Reload = "rbxassetid://70288599"
  1127. ,Aim = "rbxasset://textures/Blank.png"
  1128. }
  1129. ,FireMouseAnimTime = 0.15
  1130. --Recoil
  1131. ,Recoil = math.rad(1)
  1132. --Smoke
  1133. ,Smoke = true
  1134. ,SmokePart = Tool.SmokePart
  1135. ,Smokes = {{script.Smoke, 6, 0.1}, {script.Smoke1, 0.1}, {script.Smoke1, 0.1}, {script.Flash, 0.03}}
  1136. --Sprint
  1137. ,Sprint = true
  1138. ,SprintSpeed = 25
  1139. ,SprintKey = "0"
  1140. ,SprintSpreadIncrease = 40
  1141. ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  1142. --Other
  1143. ,DropHats = true
  1144. }
  1145.  
  1146. --Do not edit below this lign--
  1147.  
  1148. local Orig_Spread = Settings.Spread
  1149. local Orig_Grip = Tool.GripPos
  1150.  
  1151. local Player = game.Players.LocalPlayer
  1152. local Character = Player.Character
  1153.  
  1154. local Camera = Workspace.CurrentCamera
  1155.  
  1156. local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
  1157.  
  1158. local Gui, CanUpdateGui = nil, true
  1159.  
  1160. local Sprinting, Equipped
  1161.  
  1162. function Update_Gui()
  1163. if Gui and CanUpdateGui then
  1164. Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  1165. end
  1166. end
  1167.  
  1168. local Welded
  1169. if Settings.Weld then
  1170. Delay(0, function()
  1171. local weldC0s = {}
  1172. for i, v in pairs(Tool:GetChildren()) do
  1173. if v:IsA("BasePart") and v ~= Tool.Handle then
  1174. table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  1175. v.Anchored = false
  1176. end
  1177. end
  1178. Tool.Handle.Anchored = false
  1179. local welds = {}
  1180. Tool.Equipped:connect(function()
  1181. for i, v in ipairs(welds) do
  1182. v.Part1 = nil
  1183. v:Destroy()
  1184. end
  1185. for i, v in ipairs(weldC0s) do
  1186. if v[1] and v[2] then
  1187. local w = Instance.new("Weld", Tool.Handle)
  1188. w.Part0 = Tool.Handle
  1189. w.Part1 = v[1]
  1190. w.C0 = v[2]
  1191. table.insert(welds, w)
  1192. end
  1193. end
  1194. end)
  1195. wait()
  1196. Welded = true
  1197. end)
  1198. end
  1199.  
  1200. local Left_Weld, Right_Weld
  1201.  
  1202. Ammo.Changed:connect(Update_Gui)
  1203. StoredAmmo.Changed:connect(Update_Gui)
  1204.  
  1205. Settings.Range = math.min(Settings.Range, 999)
  1206.  
  1207. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  1208. Ignore_Model.Name = "Ray_Ignore"
  1209.  
  1210. local Ray_Ignore = {Character, Ignore_Model, Camera}
  1211.  
  1212. Character.Humanoid.Died:connect(function()
  1213. Tool.Parent = Player.Backpack
  1214. end)
  1215.  
  1216. function Fire(Mouse)
  1217. local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  1218. local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  1219. local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  1220. if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  1221. local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  1222. if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  1223. return
  1224. end
  1225. local Humanoid = Hit.Parent.Humanoid
  1226. local c = Instance.new("ObjectValue")
  1227. c.Name = "creator"
  1228. c.Value = Player
  1229. game.Debris:AddItem(c, 3)
  1230. c.Parent = Humanoid
  1231. if Hit.Name == "Head" then
  1232. Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  1233. else
  1234. Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  1235. end
  1236. elseif Hit then
  1237. local Hit_Part = Instance.new("Part", Ignore_Model)
  1238. Hit_Part.FormFactor = "Custom"
  1239. Hit_Part.TopSurface = 0
  1240. Hit_Part.BottomSurface = 0
  1241. Hit_Part.Anchored = true
  1242. Hit_Part.CanCollide = false
  1243. Hit_Part.Size = Vector3.new()
  1244. Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1245. Hit_Part.BrickColor = BrickColor.new("Black")
  1246. game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  1247. if not Hit.Anchored then
  1248. local w = Instance.new("Weld", Hit_Part)
  1249. w.Part0 = Hit
  1250. w.Part1 = Hit_Part
  1251. w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  1252. Hit_Part.Anchored = false
  1253. end
  1254. if Hit.Parent:IsA("Hat") and Settings.DropHats then
  1255. Hit.Parent.Parent = workspace
  1256. game.Debris:AddItem(Hit, 3)
  1257. end
  1258. end
  1259. end
  1260.  
  1261. local Can_Shoot = true
  1262. local Reloading = false
  1263.  
  1264. local First_Person = false
  1265.  
  1266. local Mouse_Held
  1267.  
  1268. Tool.Equipped:connect(function(Mouse)
  1269. Equipped = true
  1270. if Settings.Weld and not Welded then
  1271. wait()
  1272. Tool.Parent = Player.Backpack
  1273. end
  1274. Character = Player.Character
  1275. if Gui then
  1276. return
  1277. end
  1278. Ray_Ignore = {Character, Ignore_Model, Camera}
  1279. Mouse.Icon = Settings.Icons.Idle
  1280. Gui = script.Gui:Clone()
  1281. Gui.Parent = Player.PlayerGui
  1282. Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  1283. Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  1284. CanUpdateGui = true
  1285. Update_Gui()
  1286. Mouse.Button1Down:connect(function()
  1287. if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  1288. Mouse_Held = true
  1289. while true do
  1290. Can_Shoot = false
  1291. Delay(0, function()
  1292. local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  1293. if not Aiming then
  1294. Mouse.Icon = Settings.Icons.Fire1
  1295. end
  1296. wait(t)
  1297. if not Aiming then
  1298. if Reloading then return end
  1299. Mouse.Icon = Settings.Icons.Fire2
  1300. end
  1301. wait(t)
  1302. if not Aiming then
  1303. if Reloading then return end
  1304. Mouse.Icon = Settings.Icons.Fire3
  1305. end
  1306. wait(t)
  1307. if not Aiming then
  1308. if Reloading then return end
  1309. Mouse.Icon = Settings.Icons.Idle
  1310. end
  1311. end)
  1312. if Settings.Smoke then
  1313. for i, v in pairs(Settings.Smokes) do
  1314. local s = v[1]:Clone()
  1315. s.Parent = Settings.SmokePart
  1316. s.Enabled = true
  1317. game.Debris:AddItem(s, v[2])
  1318. if v[3] then
  1319. Delay(v[3], function()
  1320. s.Enabled = false
  1321. end)
  1322. end
  1323. end
  1324. end
  1325. for _ = 1, Settings.Bullets do
  1326. pcall(function() Fire(Mouse) end)
  1327. end
  1328. Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  1329. if Tool.Handle:FindFirstChild("Shoot") then
  1330. Tool.Handle.Shoot:Play()
  1331. end
  1332. Ammo.Value = Ammo.Value - 1
  1333. wait(Settings.FireRate)
  1334. if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  1335. break
  1336. end
  1337. end
  1338. Can_Shoot = true
  1339. elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  1340. Tool.Handle.Click:Play()
  1341. end
  1342. end)
  1343. Mouse.Button1Up:connect(function()
  1344. Mouse_Held = false
  1345. end)
  1346. Mouse.KeyDown:connect(function(Key)
  1347. if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  1348. if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  1349. return
  1350. end
  1351. Can_Shoot = false
  1352. Reloading = true
  1353. local TextLabel = Gui.Frame.AmmoDisplay
  1354. Delay(0, function()
  1355. CanUpdateGui = false
  1356. TextLabel.Text = "Reloading."
  1357. wait(Settings.ReloadTime/3)
  1358. if TextLabel then
  1359. TextLabel.Text = "Reloading.."
  1360. end
  1361. wait(Settings.ReloadTime/3)
  1362. if TextLabel then
  1363. TextLabel.Text = "Reloading..."
  1364. end
  1365. end)
  1366. if Tool.Handle:FindFirstChild("Reload") then
  1367. Tool.Handle.Reload:Play()
  1368. end
  1369. Mouse.Icon = Settings.Icons.Reload
  1370. wait(Settings.ReloadTime)
  1371. Mouse.Icon = Settings.Icons.Idle
  1372. CanUpdateGui = true
  1373. local m = Settings.Ammo
  1374. if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  1375. m = m + 1
  1376. end
  1377. if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  1378. Ammo.Value = Ammo.Value + StoredAmmo.Value
  1379. StoredAmmo.Value = 0
  1380. else
  1381. StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  1382. Ammo.Value = m
  1383. end
  1384. Can_Shoot = true
  1385. Reloading = false
  1386. elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  1387. Sprinting = true
  1388. Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  1389. Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  1390. end
  1391. end)
  1392. Mouse.KeyUp:connect(function(Key)
  1393. if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  1394. Sprinting = false
  1395. Character.Humanoid.WalkSpeed = 16
  1396. Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  1397. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1398. end
  1399. end)
  1400. Mouse.Button2Down:connect(function()
  1401. if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  1402. Aiming = true
  1403. Mouse.Icon = Settings.Icons.Aim
  1404. Right_Weld.C1 = CFrame.new()
  1405. Right_Weld.C0 = CFrame.new()
  1406. Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  1407. Left_Weld.C1 = Settings.LeftAimPos
  1408. if Settings.ChangeFOV[1] then
  1409. Camera.FieldOfView = Settings.ChangeFOV[2]
  1410. end
  1411. Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  1412. Settings.Spread = Settings.Spread - Settings.SpreadReduction
  1413. end
  1414. end)
  1415. Mouse.Button2Up:connect(function()
  1416. if Aiming then
  1417. Mouse.Icon = Settings.Icons.Idle
  1418. Tool.GripPos = Orig_Grip
  1419. Right_Weld.C1 = Settings.RightPos
  1420. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1421. Left_Weld.C1 = Settings.LeftPos
  1422. if Settings.ChangeFOV[1] then
  1423. Camera.FieldOfView = 70
  1424. end
  1425. Settings.Spread = Settings.Spread + Settings.SpreadReduction
  1426. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1427. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1428. wait(0.25)
  1429. Aiming = false
  1430. end
  1431. end)
  1432. wait()
  1433. Camera.Changed:connect(function()
  1434. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1435. Mouse.TargetFilter = workspace
  1436. Character.Torso.Neck.C1 = CFrame.new()
  1437. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1438. end
  1439. end)
  1440. Mouse.Idle:connect(function()
  1441. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  1442. Mouse.TargetFilter = workspace
  1443. Character.Torso.Neck.C1 = CFrame.new()
  1444. Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  1445. end
  1446. end)
  1447. while wait() and Equipped do
  1448. if Sprinting then
  1449. Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1450. Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  1451. elseif not Aiming then
  1452. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1453. end
  1454. if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  1455. Mouse.TargetFilter = nil
  1456. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1457. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1458. end
  1459. end
  1460. end)
  1461.  
  1462. local Arms_Made
  1463. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  1464.  
  1465. Tool.Equipped:connect(function(Mouse)
  1466. if Character and not Arms_Made then
  1467. Arms_Made = true
  1468. local Torso = Character.Torso
  1469. Torso["Right Shoulder"].Part1 = nil
  1470. Left_Weld = Instance.new("Weld", Torso)
  1471. Left_Weld.Name = "Left_Weld"
  1472. Left_Weld.Part0 = Character.Head
  1473. Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  1474. if not Settings.OneHanded then
  1475. Torso["Left Shoulder"].Part1 = nil
  1476. Left_Weld.Part1 = Character["Left Arm"]
  1477. end
  1478. Right_Weld = Instance.new("Weld", Torso)
  1479. Right_Weld.Name = "Right_Weld"
  1480. Right_Weld.Part0 = Character.Head
  1481. Right_Weld.Part1 = Character["Right Arm"]
  1482. Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  1483. Left_Weld.C1 = Settings.LeftPos
  1484. Right_Weld.C1 = Settings.RightPos
  1485. end
  1486. if Settings.FakeArms and not Fake_Arm_Right then
  1487. Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  1488. Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  1489. Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  1490. local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  1491. for i = 1, 2 do
  1492. local w = Instance.new("Weld", fakeArms[i])
  1493. w.Part0 = Character[fakeArms[i].Name]
  1494. w.Part1 = fakeArms[i]
  1495. fakeArms[i].Transparency = Settings.FakeArmTransparency
  1496. end
  1497. Fake_Arm_Model = Instance.new("Model", Camera)
  1498. Fake_Arm_Right.Parent = Fake_Arm_Model
  1499. if not Settings.OneHanded then
  1500. Fake_Arm_Left.Parent = Fake_Arm_Model
  1501. end
  1502. Fake_Arm_Model.Name = "FakeArms"
  1503. if Settings.CharacterMeshes then
  1504. for i, v in pairs(Character:GetChildren()) do
  1505. if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  1506. v:Clone().Parent = Fake_Arm_Model
  1507. end
  1508. end
  1509. end
  1510. if Character:FindFirstChild("Shirt") then
  1511. Instance.new("Humanoid", Fake_Arm_Model)
  1512. Character.Shirt:Clone().Parent = Fake_Arm_Model
  1513. else
  1514. local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  1515. Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  1516. local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  1517. Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  1518. end
  1519. end
  1520. end)
  1521.  
  1522. Tool.Unequipped:connect(function()
  1523. Equipped = false
  1524. Tool.GripPos = Orig_Grip
  1525. Aiming = false
  1526. Settings.Spread = Orig_Spread
  1527. if Settings.ChangeFOV[1] then
  1528. Camera.FieldOfView = 70
  1529. end
  1530. if Gui then
  1531. Gui:Destroy()
  1532. Gui = nil
  1533. end
  1534. for i, v in pairs(Tool.Handle:GetChildren()) do
  1535. if v:IsA("Sound") then
  1536. v:Stop()
  1537. end
  1538. end
  1539. if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  1540. Fake_Arm_Model:Destroy()
  1541. Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  1542. end
  1543. if Character and Left_Weld and Right_Weld then
  1544. Arms_Made = false
  1545. local Torso = Character.Torso
  1546. Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  1547. Left_Weld:Destroy()
  1548. Right_Weld:Destroy()
  1549. end
  1550. Sprinting = false
  1551. Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1552. Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1553. Character.Humanoid.WalkSpeed = 16
  1554. end)
  1555.  
  1556. end))
  1557. NumberValue12.Name = "Ammo"
  1558. NumberValue12.Parent = LocalScript11
  1559. NumberValue12.Value = 31
  1560. NumberValue13.Name = "StoredAmmo"
  1561. NumberValue13.Parent = LocalScript11
  1562. NumberValue13.Value = inf
  1563. ScreenGui14.Name = "Gui"
  1564. ScreenGui14.Parent = LocalScript11
  1565. Frame15.Parent = ScreenGui14
  1566. Frame15.Transparency = 1
  1567. Frame15.Size = UDim2.new(0, 100, 0, 100)
  1568. Frame15.Position = UDim2.new(1, -200, 1, -100)
  1569. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  1570. Frame15.BackgroundTransparency = 1
  1571. Frame15.BorderSizePixel = 0
  1572. TextLabel16.Name = "AmmoDisplay"
  1573. TextLabel16.Parent = Frame15
  1574. TextLabel16.Transparency = 1
  1575. TextLabel16.Size = UDim2.new(1, 0, 1, 0)
  1576. TextLabel16.Text = ""
  1577. TextLabel16.BackgroundTransparency = 1
  1578. TextLabel16.FontSize = Enum.FontSize.Size24
  1579. TextLabel16.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  1580. TextLabel16.TextStrokeTransparency = 0.5
  1581. TextLabel16.TextXAlignment = Enum.TextXAlignment.Right
  1582. Smoke17.Parent = LocalScript11
  1583. Smoke17.Size = 0.25
  1584. Smoke17.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1585. Smoke17.Enabled = false
  1586. Smoke17.Opacity = 0.10000000149012
  1587. Smoke17.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1588. Smoke18.Name = "Smoke1"
  1589. Smoke18.Parent = LocalScript11
  1590. Smoke18.Size = 0.10000000149012
  1591. Smoke18.Color = Color3.new(1, 0.6, 0.2)
  1592. Smoke18.Enabled = false
  1593. Smoke18.Opacity = 0.40000000596046
  1594. Smoke18.Color = Color3.new(1, 0.6, 0.2)
  1595. PointLight19.Name = "Flash"
  1596. PointLight19.Parent = LocalScript11
  1597. PointLight19.Color = Color3.new(0.772549, 0.384314, 0)
  1598. PointLight19.Brightness = 10
  1599. PointLight19.Range = 10
  1600. PointLight19.Shadows = true
  1601. PointLight19.Color = Color3.new(0.772549, 0.384314, 0)
  1602. Part20.Name = "AimPart"
  1603. Part20.Parent = Tool0
  1604. Part20.BrickColor = BrickColor.new("Really red")
  1605. Part20.Transparency = 1
  1606. Part20.Anchored = true
  1607. Part20.FormFactor = Enum.FormFactor.Custom
  1608. Part20.Size = Vector3.new(0.277777731, 0.222222224, 0.222222224)
  1609. Part20.CFrame = CFrame.new(16.8380165, 2.34158659, -288.340729, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1610. Part20.BottomSurface = Enum.SurfaceType.Smooth
  1611. Part20.TopSurface = Enum.SurfaceType.Smooth
  1612. Part20.Color = Color3.new(1, 0, 0)
  1613. Part20.Position = Vector3.new(16.8380165, 2.34158659, -288.340729)
  1614. Part20.Color = Color3.new(1, 0, 0)
  1615. BlockMesh21.Parent = Part20
  1616. Part22.Parent = Tool0
  1617. Part22.BrickColor = BrickColor.new("Black")
  1618. Part22.Rotation = Vector3.new(-1.89999998, 0, -180)
  1619. Part22.Anchored = true
  1620. Part22.CanCollide = false
  1621. Part22.FormFactor = Enum.FormFactor.Custom
  1622. Part22.Size = Vector3.new(0.200000003, 0.200000003, 0.275000006)
  1623. Part22.CFrame = CFrame.new(16.8364105, 2.31557727, -290.044708, -1, 0, 0, 0, -0.999451458, 0.0331151746, 0, 0.0331151746, 0.999451458)
  1624. Part22.BottomSurface = Enum.SurfaceType.Smooth
  1625. Part22.TopSurface = Enum.SurfaceType.Smooth
  1626. Part22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1627. Part22.Position = Vector3.new(16.8364105, 2.31557727, -290.044708)
  1628. Part22.Orientation = Vector3.new(-1.89999998, 0, 180)
  1629. Part22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1630. BlockMesh23.Parent = Part22
  1631. BlockMesh23.Scale = Vector3.new(0.425000101, 0.049999997, 1)
  1632. BlockMesh23.Scale = Vector3.new(0.425000101, 0.049999997, 1)
  1633. Part24.Name = "SmokePart"
  1634. Part24.Parent = Tool0
  1635. Part24.BrickColor = BrickColor.new("Black")
  1636. Part24.Transparency = 1
  1637. Part24.Rotation = Vector3.new(-90, 0, 0)
  1638. Part24.Anchored = true
  1639. Part24.FormFactor = Enum.FormFactor.Custom
  1640. Part24.Size = Vector3.new(0.200000003, 0.388888896, 0.200000003)
  1641. Part24.CFrame = CFrame.new(16.8349438, 2.24659419, -290.819763, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  1642. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1643. Part24.TopSurface = Enum.SurfaceType.Smooth
  1644. Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1645. Part24.Position = Vector3.new(16.8349438, 2.24659419, -290.819763)
  1646. Part24.Orientation = Vector3.new(-90, 0, 0)
  1647. Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1648. CylinderMesh25.Parent = Part24
  1649. CylinderMesh25.Scale = Vector3.new(0.944444478, 1, 0.944444478)
  1650. CylinderMesh25.Scale = Vector3.new(0.944444478, 1, 0.944444478)
  1651. Part26.Name = "A1"
  1652. Part26.Parent = Tool0
  1653. Part26.BrickColor = BrickColor.new("Black")
  1654. Part26.Rotation = Vector3.new(0, 0, -180)
  1655. Part26.Anchored = true
  1656. Part26.CanCollide = false
  1657. Part26.FormFactor = Enum.FormFactor.Custom
  1658. Part26.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1659. Part26.CFrame = CFrame.new(16.976408, 2.17557716, -289.88269, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1660. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1661. Part26.TopSurface = Enum.SurfaceType.Smooth
  1662. Part26.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1663. Part26.Position = Vector3.new(16.976408, 2.17557716, -289.88269)
  1664. Part26.Orientation = Vector3.new(0, 0, 180)
  1665. Part26.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1666. BlockMesh27.Parent = Part26
  1667. BlockMesh27.Scale = Vector3.new(0.875, 0.24999994, 0.175000012)
  1668. BlockMesh27.Scale = Vector3.new(0.875, 0.24999994, 0.175000012)
  1669. Part28.Name = "A2"
  1670. Part28.Parent = Tool0
  1671. Part28.BrickColor = BrickColor.new("Black")
  1672. Part28.Rotation = Vector3.new(0, 0, -180)
  1673. Part28.Anchored = true
  1674. Part28.CanCollide = false
  1675. Part28.FormFactor = Enum.FormFactor.Custom
  1676. Part28.Size = Vector3.new(0.200000003, 0.200000003, 0.449999988)
  1677. Part28.CFrame = CFrame.new(16.8764095, 2.20057726, -289.674713, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1678. Part28.BottomSurface = Enum.SurfaceType.Smooth
  1679. Part28.TopSurface = Enum.SurfaceType.Smooth
  1680. Part28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1681. Part28.Position = Vector3.new(16.8764095, 2.20057726, -289.674713)
  1682. Part28.Orientation = Vector3.new(0, 0, 180)
  1683. Part28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1684. BlockMesh29.Parent = Part28
  1685. BlockMesh29.Scale = Vector3.new(0.150000006, 0.49999994, 1)
  1686. BlockMesh29.Scale = Vector3.new(0.150000006, 0.49999994, 1)
  1687. Part30.Parent = Tool0
  1688. Part30.BrickColor = BrickColor.new("CGA brown")
  1689. Part30.Rotation = Vector3.new(0, 0, -180)
  1690. Part30.Anchored = true
  1691. Part30.CanCollide = false
  1692. Part30.FormFactor = Enum.FormFactor.Custom
  1693. Part30.Size = Vector3.new(0.200000003, 0.200000003, 0.275000006)
  1694. Part30.CFrame = CFrame.new(16.8364105, 1.77557695, -288.737701, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1695. Part30.BottomSurface = Enum.SurfaceType.Smooth
  1696. Part30.TopSurface = Enum.SurfaceType.Smooth
  1697. Part30.Color = Color3.new(0.666667, 0.333333, 0)
  1698. Part30.Position = Vector3.new(16.8364105, 1.77557695, -288.737701)
  1699. Part30.Orientation = Vector3.new(0, 0, 180)
  1700. Part30.Color = Color3.new(0.666667, 0.333333, 0)
  1701. BlockMesh31.Parent = Part30
  1702. BlockMesh31.Scale = Vector3.new(0.825000048, 0.75, 1)
  1703. BlockMesh31.Scale = Vector3.new(0.825000048, 0.75, 1)
  1704. Part32.Name = "Handle"
  1705. Part32.Parent = Tool0
  1706. Part32.BrickColor = BrickColor.new("Black")
  1707. Part32.Rotation = Vector3.new(0, 0.00999999978, 0)
  1708. Part32.Anchored = true
  1709. Part32.CanCollide = false
  1710. Part32.FormFactor = Enum.FormFactor.Custom
  1711. Part32.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1712. Part32.CFrame = CFrame.new(16.8364105, 1.91257691, -289.077698, 1.00000024, 0, 0.000125974417, 7.93443178e-09, 1.00000012, -6.29723218e-05, -0.000125989318, 6.29723072e-05, 1.00000036)
  1713. Part32.BottomSurface = Enum.SurfaceType.Smooth
  1714. Part32.TopSurface = Enum.SurfaceType.Smooth
  1715. Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1716. Part32.Position = Vector3.new(16.8364105, 1.91257691, -289.077698)
  1717. Part32.Orientation = Vector3.new(0, 0.00999999978, 0)
  1718. Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1719. BlockMesh33.Parent = Part32
  1720. BlockMesh33.Scale = Vector3.new(0.175000012, 0.625, 0.125)
  1721. BlockMesh33.Scale = Vector3.new(0.175000012, 0.625, 0.125)
  1722. Sound34.Name = "Empty"
  1723. Sound34.Parent = Part32
  1724. Sound34.SoundId = "rbxasset://sounds//clickfast.wav"
  1725. Sound34.Volume = 1
  1726. Sound35.Name = "M1"
  1727. Sound35.Parent = Part32
  1728. Sound35.Pitch = 0.75
  1729. Sound35.SoundId = "rbxassetid://306684229"
  1730. Sound35.Volume = 1
  1731. Sound36.Name = "M2"
  1732. Sound36.Parent = Part32
  1733. Sound36.SoundId = "rbxassetid://233931547"
  1734. Sound36.Volume = 1
  1735. Sound37.Name = "M3"
  1736. Sound37.Parent = Part32
  1737. Sound37.Pitch = 1.2000000476837
  1738. Sound37.SoundId = "rbxassetid://515216492"
  1739. Sound37.Volume = 1
  1740. Sound38.Name = "Shoot"
  1741. Sound38.Parent = Part32
  1742. Sound38.SoundId = "rbxassetid://132258172"
  1743. Sound39.Name = "M4"
  1744. Sound39.Parent = Part32
  1745. Sound39.Pitch = 1.2000000476837
  1746. Sound39.SoundId = "rbxassetid://515216512"
  1747. Sound39.Volume = 1
  1748. Part40.Parent = Tool0
  1749. Part40.BrickColor = BrickColor.new("CGA brown")
  1750. Part40.Rotation = Vector3.new(-90, 0, 0)
  1751. Part40.Anchored = true
  1752. Part40.CanCollide = false
  1753. Part40.FormFactor = Enum.FormFactor.Custom
  1754. Part40.Size = Vector3.new(0.200000003, 0.570000052, 0.200000003)
  1755. Part40.CFrame = CFrame.new(16.7964096, 2.2375772, -290.565704, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  1756. Part40.BottomSurface = Enum.SurfaceType.Smooth
  1757. Part40.TopSurface = Enum.SurfaceType.Smooth
  1758. Part40.Color = Color3.new(0.666667, 0.333333, 0)
  1759. Part40.Position = Vector3.new(16.7964096, 2.2375772, -290.565704)
  1760. Part40.Orientation = Vector3.new(-90, 0, 0)
  1761. Part40.Color = Color3.new(0.666667, 0.333333, 0)
  1762. CylinderMesh41.Parent = Part40
  1763. CylinderMesh41.Scale = Vector3.new(0.37499997, 1, 0.374999851)
  1764. CylinderMesh41.Scale = Vector3.new(0.37499997, 1, 0.374999851)
  1765. Part42.Name = "Mag2"
  1766. Part42.Parent = Tool0
  1767. Part42.BrickColor = BrickColor.new("Black")
  1768. Part42.Rotation = Vector3.new(23, 0, 0)
  1769. Part42.Anchored = true
  1770. Part42.CanCollide = false
  1771. Part42.FormFactor = Enum.FormFactor.Custom
  1772. Part42.Size = Vector3.new(0.200000003, 0.300000012, 0.375)
  1773. Part42.CFrame = CFrame.new(16.8364105, 1.64257693, -289.622711, 1, 0, 0, 0, 0.920504868, -0.390731156, 0, 0.390731156, 0.920504868)
  1774. Part42.BottomSurface = Enum.SurfaceType.Smooth
  1775. Part42.TopSurface = Enum.SurfaceType.Smooth
  1776. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1777. Part42.Position = Vector3.new(16.8364105, 1.64257693, -289.622711)
  1778. Part42.Orientation = Vector3.new(23, 0, 0)
  1779. Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1780. BlockMesh43.Parent = Part42
  1781. BlockMesh43.Scale = Vector3.new(0.699999988, 1, 1)
  1782. BlockMesh43.Scale = Vector3.new(0.699999988, 1, 1)
  1783. Part44.Name = "Mag3"
  1784. Part44.Parent = Tool0
  1785. Part44.BrickColor = BrickColor.new("Black")
  1786. Part44.Rotation = Vector3.new(38, 0, 0)
  1787. Part44.Anchored = true
  1788. Part44.CanCollide = false
  1789. Part44.FormFactor = Enum.FormFactor.Custom
  1790. Part44.Size = Vector3.new(0.200000003, 0.300000012, 0.375)
  1791. Part44.CFrame = CFrame.new(16.8364105, 1.42957699, -289.748688, 1, -1.28487216e-07, -5.65306237e-08, 6.64456934e-08, 0.788011432, -0.615661383, 1.23651333e-07, 0.615661383, 0.788011432)
  1792. Part44.BottomSurface = Enum.SurfaceType.Smooth
  1793. Part44.TopSurface = Enum.SurfaceType.Smooth
  1794. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1795. Part44.Position = Vector3.new(16.8364105, 1.42957699, -289.748688)
  1796. Part44.Orientation = Vector3.new(38, 0, 0)
  1797. Part44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1798. BlockMesh45.Parent = Part44
  1799. BlockMesh45.Scale = Vector3.new(0.699999988, 1, 1)
  1800. BlockMesh45.Scale = Vector3.new(0.699999988, 1, 1)
  1801. Part46.Name = "Mag4"
  1802. Part46.Parent = Tool0
  1803. Part46.BrickColor = BrickColor.new("Black")
  1804. Part46.Rotation = Vector3.new(53, 0, 0)
  1805. Part46.Anchored = true
  1806. Part46.CanCollide = false
  1807. Part46.FormFactor = Enum.FormFactor.Custom
  1808. Part46.Size = Vector3.new(0.200000003, 0.324999988, 0.375)
  1809. Part46.CFrame = CFrame.new(16.8364105, 1.24757695, -289.935699, 1, -8.42117487e-08, -4.51465922e-08, 1.46242813e-08, 0.601815701, -0.798635483, 9.44243794e-08, 0.798635483, 0.601815701)
  1810. Part46.BottomSurface = Enum.SurfaceType.Smooth
  1811. Part46.TopSurface = Enum.SurfaceType.Smooth
  1812. Part46.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1813. Part46.Position = Vector3.new(16.8364105, 1.24757695, -289.935699)
  1814. Part46.Orientation = Vector3.new(53, 0, 0)
  1815. Part46.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1816. BlockMesh47.Parent = Part46
  1817. BlockMesh47.Scale = Vector3.new(0.699999988, 1, 1)
  1818. BlockMesh47.Scale = Vector3.new(0.699999988, 1, 1)
  1819. Part48.Parent = Tool0
  1820. Part48.BrickColor = BrickColor.new("Black")
  1821. Part48.Rotation = Vector3.new(-90, 0, 0)
  1822. Part48.Anchored = true
  1823. Part48.CanCollide = false
  1824. Part48.FormFactor = Enum.FormFactor.Custom
  1825. Part48.Size = Vector3.new(0.200000003, 1.39999986, 0.200000003)
  1826. Part48.CFrame = CFrame.new(16.8364105, 2.08557701, -291.654694, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  1827. Part48.BottomSurface = Enum.SurfaceType.Smooth
  1828. Part48.TopSurface = Enum.SurfaceType.Smooth
  1829. Part48.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1830. Part48.Position = Vector3.new(16.8364105, 2.08557701, -291.654694)
  1831. Part48.Orientation = Vector3.new(-90, 0, 0)
  1832. Part48.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1833. Decal49.Parent = Part48
  1834. Decal49.Texture = "http://www.roblox.com/asset/?id=47760372"
  1835. Decal49.Face = Enum.NormalId.Top
  1836. CylinderMesh50.Parent = Part48
  1837. CylinderMesh50.Scale = Vector3.new(0.3125, 1, 0.3125)
  1838. CylinderMesh50.Scale = Vector3.new(0.3125, 1, 0.3125)
  1839. Part51.Parent = Tool0
  1840. Part51.BrickColor = BrickColor.new("CGA brown")
  1841. Part51.Rotation = Vector3.new(0, 0, -180)
  1842. Part51.Anchored = true
  1843. Part51.CanCollide = false
  1844. Part51.FormFactor = Enum.FormFactor.Custom
  1845. Part51.Size = Vector3.new(0.200000003, 0.215000004, 0.254999965)
  1846. Part51.CFrame = CFrame.new(16.8364105, 2.08257699, -290.15271, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1847. Part51.BottomSurface = Enum.SurfaceType.Smooth
  1848. Part51.TopSurface = Enum.SurfaceType.Smooth
  1849. Part51.Color = Color3.new(0.666667, 0.333333, 0)
  1850. Part51.Position = Vector3.new(16.8364105, 2.08257699, -290.15271)
  1851. Part51.Orientation = Vector3.new(0, 0, 180)
  1852. Part51.Color = Color3.new(0.666667, 0.333333, 0)
  1853. BlockMesh52.Parent = Part51
  1854. BlockMesh52.Scale = Vector3.new(0.78275001, 1, 1)
  1855. BlockMesh52.Scale = Vector3.new(0.78275001, 1, 1)
  1856. Part53.Parent = Tool0
  1857. Part53.BrickColor = BrickColor.new("CGA brown")
  1858. Part53.Rotation = Vector3.new(0, 0, 180)
  1859. Part53.Anchored = true
  1860. Part53.CanCollide = false
  1861. Part53.FormFactor = Enum.FormFactor.Custom
  1862. Part53.Size = Vector3.new(0.200000003, 0.200000003, 0.625)
  1863. Part53.CFrame = CFrame.new(16.8364105, 2.04557705, -290.537689, -1, -4.4408921e-16, 4.4408921e-16, 0, -1, 2.98023224e-08, 0, 2.98023224e-08, 1)
  1864. Part53.BottomSurface = Enum.SurfaceType.Smooth
  1865. Part53.TopSurface = Enum.SurfaceType.Smooth
  1866. Part53.Color = Color3.new(0.666667, 0.333333, 0)
  1867. Part53.Position = Vector3.new(16.8364105, 2.04557705, -290.537689)
  1868. Part53.Orientation = Vector3.new(0, 0, 180)
  1869. Part53.Color = Color3.new(0.666667, 0.333333, 0)
  1870. BlockMesh54.Parent = Part53
  1871. BlockMesh54.Scale = Vector3.new(0.78275001, 0.700000048, 1)
  1872. BlockMesh54.Scale = Vector3.new(0.78275001, 0.700000048, 1)
  1873. ManualWeld55.Name = "Part-to-SmokePart Strong Joint"
  1874. ManualWeld55.Parent = Part53
  1875. ManualWeld55.C0 = CFrame.new(0.100000001, -0.100000001, 0.3125, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1876. ManualWeld55.C1 = CFrame.new(-0.0985336304, -0.594573975, -0.101017118, -1, 4.4408921e-16, 4.4408921e-16, 0, -1, 2.98023224e-08, 0, 2.98023224e-08, 1)
  1877. ManualWeld55.Part0 = Part53
  1878. ManualWeld55.Part1 = Part24
  1879. Part56.Parent = Tool0
  1880. Part56.BrickColor = BrickColor.new("Mid gray")
  1881. Part56.Rotation = Vector3.new(90, 0, 0)
  1882. Part56.Anchored = true
  1883. Part56.CanCollide = false
  1884. Part56.FormFactor = Enum.FormFactor.Custom
  1885. Part56.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1886. Part56.CFrame = CFrame.new(16.8364105, 2.34657717, -292.220703, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1887. Part56.BottomSurface = Enum.SurfaceType.Smooth
  1888. Part56.TopSurface = Enum.SurfaceType.Smooth
  1889. Part56.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1890. Part56.Position = Vector3.new(16.8364105, 2.34657717, -292.220703)
  1891. Part56.Orientation = Vector3.new(90, 0, 0)
  1892. Part56.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1893. CylinderMesh57.Parent = Part56
  1894. CylinderMesh57.Scale = Vector3.new(0.049999997, 0.256249994, 0.049999997)
  1895. CylinderMesh57.Scale = Vector3.new(0.049999997, 0.256249994, 0.049999997)
  1896. Part58.Parent = Tool0
  1897. Part58.BrickColor = BrickColor.new("Black")
  1898. Part58.Anchored = true
  1899. Part58.CanCollide = false
  1900. Part58.FormFactor = Enum.FormFactor.Custom
  1901. Part58.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1902. Part58.CFrame = CFrame.new(16.8364105, 2.03857708, -291.465698, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1903. Part58.BottomSurface = Enum.SurfaceType.Smooth
  1904. Part58.TopSurface = Enum.SurfaceType.Smooth
  1905. Part58.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1906. Part58.Position = Vector3.new(16.8364105, 2.03857708, -291.465698)
  1907. Part58.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1908. BlockMesh59.Parent = Part58
  1909. BlockMesh59.Scale = Vector3.new(0.125, 0.150000006, 0.5)
  1910. BlockMesh59.Scale = Vector3.new(0.125, 0.150000006, 0.5)
  1911. Part60.Parent = Tool0
  1912. Part60.BrickColor = BrickColor.new("Black")
  1913. Part60.Rotation = Vector3.new(0, 0, -90)
  1914. Part60.Anchored = true
  1915. Part60.CanCollide = false
  1916. Part60.FormFactor = Enum.FormFactor.Custom
  1917. Part60.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1918. Part60.CFrame = CFrame.new(16.7904091, 2.34757733, -292.220703, -6.30170107e-05, 1.0000006, 0, -1.0000006, -6.30170107e-05, 0, 0, 0, 1)
  1919. Part60.BottomSurface = Enum.SurfaceType.Smooth
  1920. Part60.TopSurface = Enum.SurfaceType.Smooth
  1921. Part60.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1922. Part60.Position = Vector3.new(16.7904091, 2.34757733, -292.220703)
  1923. Part60.Orientation = Vector3.new(0, 0, -90)
  1924. Part60.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1925. BlockMesh61.Parent = Part60
  1926. BlockMesh61.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1927. BlockMesh61.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1928. Part62.Parent = Tool0
  1929. Part62.BrickColor = BrickColor.new("Black")
  1930. Part62.Rotation = Vector3.new(0, 0, 135)
  1931. Part62.Anchored = true
  1932. Part62.CanCollide = false
  1933. Part62.FormFactor = Enum.FormFactor.Custom
  1934. Part62.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1935. Part62.CFrame = CFrame.new(16.8014088, 2.32057714, -292.220703, -0.707129121, -0.707084537, 0, 0.707084537, -0.707129121, 0, 0, 0, 1)
  1936. Part62.BottomSurface = Enum.SurfaceType.Smooth
  1937. Part62.TopSurface = Enum.SurfaceType.Smooth
  1938. Part62.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1939. Part62.Position = Vector3.new(16.8014088, 2.32057714, -292.220703)
  1940. Part62.Orientation = Vector3.new(0, 0, 135)
  1941. Part62.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1942. BlockMesh63.Parent = Part62
  1943. BlockMesh63.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1944. BlockMesh63.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1945. Part64.Parent = Tool0
  1946. Part64.BrickColor = BrickColor.new("Black")
  1947. Part64.Rotation = Vector3.new(88.0999985, 0, 90)
  1948. Part64.Anchored = true
  1949. Part64.CanCollide = false
  1950. Part64.FormFactor = Enum.FormFactor.Custom
  1951. Part64.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1952. Part64.CFrame = CFrame.new(16.88941, 2.3165772, -290.091705, 0, -1, 0, 0.0331151746, 0, -0.999451458, 0.999451458, 0, 0.0331151746)
  1953. Part64.BottomSurface = Enum.SurfaceType.Smooth
  1954. Part64.TopSurface = Enum.SurfaceType.Smooth
  1955. Part64.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1956. Part64.Position = Vector3.new(16.88941, 2.3165772, -290.091705)
  1957. Part64.Orientation = Vector3.new(88.0999985, 0, 90)
  1958. Part64.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1959. CylinderMesh65.Parent = Part64
  1960. CylinderMesh65.Scale = Vector3.new(0.250000119, 0.325000018, 0.225000024)
  1961. CylinderMesh65.Scale = Vector3.new(0.250000119, 0.325000018, 0.225000024)
  1962. Part66.Parent = Tool0
  1963. Part66.BrickColor = BrickColor.new("Black")
  1964. Part66.Rotation = Vector3.new(-1.89999998, 0, -180)
  1965. Part66.Anchored = true
  1966. Part66.CanCollide = false
  1967. Part66.FormFactor = Enum.FormFactor.Custom
  1968. Part66.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1969. Part66.CFrame = CFrame.new(16.88941, 2.33557725, -289.899689, -1, 0, 0, 0, -0.999451458, 0.0331151746, 0, 0.0331151746, 0.999451458)
  1970. Part66.BottomSurface = Enum.SurfaceType.Smooth
  1971. Part66.TopSurface = Enum.SurfaceType.Smooth
  1972. Part66.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1973. Part66.Position = Vector3.new(16.88941, 2.33557725, -289.899689)
  1974. Part66.Orientation = Vector3.new(-1.89999998, 0, 180)
  1975. Part66.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1976. Decal67.Parent = Part66
  1977. Decal67.Texture = "http://www.roblox.com/asset/?id=61019872"
  1978. Decal67.Face = Enum.NormalId.Back
  1979. BlockMesh68.Parent = Part66
  1980. BlockMesh68.Scale = Vector3.new(0.300000101, 0.300000012, 0.075000003)
  1981. BlockMesh68.Scale = Vector3.new(0.300000101, 0.300000012, 0.075000003)
  1982. Part69.Parent = Tool0
  1983. Part69.BrickColor = BrickColor.new("Black")
  1984. Part69.Rotation = Vector3.new(0, 0, 45)
  1985. Part69.Anchored = true
  1986. Part69.CanCollide = false
  1987. Part69.FormFactor = Enum.FormFactor.Custom
  1988. Part69.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1989. Part69.CFrame = CFrame.new(16.8014088, 2.37557721, -292.220703, 0.707084537, -0.70712918, 0, 0.70712918, 0.707084537, 0, 0, 0, 0.999999881)
  1990. Part69.BottomSurface = Enum.SurfaceType.Smooth
  1991. Part69.TopSurface = Enum.SurfaceType.Smooth
  1992. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1993. Part69.Position = Vector3.new(16.8014088, 2.37557721, -292.220703)
  1994. Part69.Orientation = Vector3.new(0, 0, 45)
  1995. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1996. BlockMesh70.Parent = Part69
  1997. BlockMesh70.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1998. BlockMesh70.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  1999. Part71.Parent = Tool0
  2000. Part71.BrickColor = BrickColor.new("Black")
  2001. Part71.Rotation = Vector3.new(90, 0, -180)
  2002. Part71.Anchored = true
  2003. Part71.CanCollide = false
  2004. Part71.FormFactor = Enum.FormFactor.Custom
  2005. Part71.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2006. Part71.CFrame = CFrame.new(16.8364105, 2.20157719, -292.262695, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  2007. Part71.BottomSurface = Enum.SurfaceType.Smooth
  2008. Part71.TopSurface = Enum.SurfaceType.Smooth
  2009. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2010. Part71.Position = Vector3.new(16.8364105, 2.20157719, -292.262695)
  2011. Part71.Orientation = Vector3.new(90, 180, 0)
  2012. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2013. BlockMesh72.Parent = Part71
  2014. BlockMesh72.Scale = Vector3.new(0.300000072, 0.124999993, 0.500000119)
  2015. BlockMesh72.Scale = Vector3.new(0.300000072, 0.124999993, 0.500000119)
  2016. Part73.Parent = Tool0
  2017. Part73.BrickColor = BrickColor.new("Black")
  2018. Part73.Rotation = Vector3.new(90, 0, 90)
  2019. Part73.Anchored = true
  2020. Part73.CanCollide = false
  2021. Part73.FormFactor = Enum.FormFactor.Custom
  2022. Part73.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2023. Part73.CFrame = CFrame.new(16.7864094, 2.2835772, -288.750702, 0, -1, 0, -3.7252903e-09, 0, -0.999999881, 0.999999881, 0, -3.7252903e-09)
  2024. Part73.BottomSurface = Enum.SurfaceType.Smooth
  2025. Part73.TopSurface = Enum.SurfaceType.Smooth
  2026. Part73.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2027. Part73.Position = Vector3.new(16.7864094, 2.2835772, -288.750702)
  2028. Part73.Orientation = Vector3.new(89.9700012, 180, -90)
  2029. Part73.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2030. CylinderMesh74.Parent = Part73
  2031. CylinderMesh74.Scale = Vector3.new(0.750000119, 0.0749999806, 0.725000024)
  2032. CylinderMesh74.Scale = Vector3.new(0.750000119, 0.0749999806, 0.725000024)
  2033. Part75.Parent = Tool0
  2034. Part75.BrickColor = BrickColor.new("Black")
  2035. Part75.Rotation = Vector3.new(88.0999985, 0, 90)
  2036. Part75.Anchored = true
  2037. Part75.CanCollide = false
  2038. Part75.FormFactor = Enum.FormFactor.Custom
  2039. Part75.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2040. Part75.CFrame = CFrame.new(16.7844105, 2.3165772, -290.091705, 0, -1, 1.02140518e-13, 0.0331144109, -1.02082649e-13, -0.999451458, 0.999451458, 3.43788036e-15, 0.0331144109)
  2041. Part75.BottomSurface = Enum.SurfaceType.Smooth
  2042. Part75.TopSurface = Enum.SurfaceType.Smooth
  2043. Part75.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2044. Part75.Position = Vector3.new(16.7844105, 2.3165772, -290.091705)
  2045. Part75.Orientation = Vector3.new(88.0999985, 0, 90)
  2046. Part75.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2047. CylinderMesh76.Parent = Part75
  2048. CylinderMesh76.Scale = Vector3.new(0.250000119, 0.325000018, 0.225000024)
  2049. CylinderMesh76.Scale = Vector3.new(0.250000119, 0.325000018, 0.225000024)
  2050. Part77.Parent = Tool0
  2051. Part77.BrickColor = BrickColor.new("Black")
  2052. Part77.Rotation = Vector3.new(-94.5699997, -90, 0)
  2053. Part77.Anchored = true
  2054. Part77.CanCollide = false
  2055. Part77.FormFactor = Enum.FormFactor.Custom
  2056. Part77.Size = Vector3.new(0.200000003, 0.450000346, 0.200000003)
  2057. Part77.CFrame = CFrame.new(16.8914089, 2.04557705, -289.20871, -0, 0, -1, 0.996814251, -0.079757154, 0, -0.079757154, -0.996814251, 0)
  2058. Part77.BottomSurface = Enum.SurfaceType.Smooth
  2059. Part77.TopSurface = Enum.SurfaceType.Smooth
  2060. Part77.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2061. Part77.Position = Vector3.new(16.8914089, 2.04557705, -289.20871)
  2062. Part77.Orientation = Vector3.new(0, -90, 94.5699997)
  2063. Part77.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2064. SpecialMesh78.Parent = Part77
  2065. SpecialMesh78.Scale = Vector3.new(0.574999988, 1, 0.32500428)
  2066. SpecialMesh78.MeshType = Enum.MeshType.Torso
  2067. SpecialMesh78.Scale = Vector3.new(0.574999988, 1, 0.32500428)
  2068. Part79.Parent = Tool0
  2069. Part79.BrickColor = BrickColor.new("CGA brown")
  2070. Part79.Rotation = Vector3.new(0, 0, -180)
  2071. Part79.Anchored = true
  2072. Part79.CanCollide = false
  2073. Part79.FormFactor = Enum.FormFactor.Custom
  2074. Part79.Size = Vector3.new(0.200000003, 0.200000003, 0.570000052)
  2075. Part79.CFrame = CFrame.new(16.8364105, 2.25757718, -290.565704, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2076. Part79.BottomSurface = Enum.SurfaceType.Smooth
  2077. Part79.TopSurface = Enum.SurfaceType.Smooth
  2078. Part79.Color = Color3.new(0.666667, 0.333333, 0)
  2079. Part79.Position = Vector3.new(16.8364105, 2.25757718, -290.565704)
  2080. Part79.Orientation = Vector3.new(0, 0, 180)
  2081. Part79.Color = Color3.new(0.666667, 0.333333, 0)
  2082. BlockMesh80.Parent = Part79
  2083. BlockMesh80.Scale = Vector3.new(0.425000042, 0.174999893, 1)
  2084. BlockMesh80.Scale = Vector3.new(0.425000042, 0.174999893, 1)
  2085. Part81.Parent = Tool0
  2086. Part81.BrickColor = BrickColor.new("Black")
  2087. Part81.Rotation = Vector3.new(90, 0, 90)
  2088. Part81.Anchored = true
  2089. Part81.CanCollide = false
  2090. Part81.FormFactor = Enum.FormFactor.Custom
  2091. Part81.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2092. Part81.CFrame = CFrame.new(16.8564091, 2.2835772, -288.750702, 0, -1, 0, -3.7252903e-09, 0, -0.999999881, 0.999999881, 0, -3.7252903e-09)
  2093. Part81.BottomSurface = Enum.SurfaceType.Smooth
  2094. Part81.TopSurface = Enum.SurfaceType.Smooth
  2095. Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2096. Part81.Position = Vector3.new(16.8564091, 2.2835772, -288.750702)
  2097. Part81.Orientation = Vector3.new(89.9700012, 180, -90)
  2098. Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2099. CylinderMesh82.Parent = Part81
  2100. CylinderMesh82.Scale = Vector3.new(0.212500006, 0.824999928, 0.212500006)
  2101. CylinderMesh82.Scale = Vector3.new(0.212500006, 0.824999928, 0.212500006)
  2102. Part83.Parent = Tool0
  2103. Part83.BrickColor = BrickColor.new("CGA brown")
  2104. Part83.Rotation = Vector3.new(0, 0, -180)
  2105. Part83.Anchored = true
  2106. Part83.CanCollide = false
  2107. Part83.FormFactor = Enum.FormFactor.Custom
  2108. Part83.Size = Vector3.new(0.200000003, 0.200000003, 0.569999933)
  2109. Part83.CFrame = CFrame.new(16.8364105, 2.197577, -290.565704, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2110. Part83.BottomSurface = Enum.SurfaceType.Smooth
  2111. Part83.TopSurface = Enum.SurfaceType.Smooth
  2112. Part83.Color = Color3.new(0.666667, 0.333333, 0)
  2113. Part83.Position = Vector3.new(16.8364105, 2.197577, -290.565704)
  2114. Part83.Orientation = Vector3.new(0, 0, 180)
  2115. Part83.Color = Color3.new(0.666667, 0.333333, 0)
  2116. BlockMesh84.Parent = Part83
  2117. BlockMesh84.Scale = Vector3.new(0.774999857, 0.424999893, 1)
  2118. BlockMesh84.Scale = Vector3.new(0.774999857, 0.424999893, 1)
  2119. Part85.Parent = Tool0
  2120. Part85.BrickColor = BrickColor.new("Black")
  2121. Part85.Rotation = Vector3.new(0, 0, -180)
  2122. Part85.Anchored = true
  2123. Part85.CanCollide = false
  2124. Part85.FormFactor = Enum.FormFactor.Custom
  2125. Part85.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2126. Part85.CFrame = CFrame.new(16.8364105, 2.21557713, -290.252686, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2127. Part85.BottomSurface = Enum.SurfaceType.Smooth
  2128. Part85.TopSurface = Enum.SurfaceType.Smooth
  2129. Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2130. Part85.Position = Vector3.new(16.8364105, 2.21557713, -290.252686)
  2131. Part85.Orientation = Vector3.new(0, 0, 180)
  2132. Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2133. BlockMesh86.Parent = Part85
  2134. BlockMesh86.Scale = Vector3.new(0.774999857, 0.249999851, 0.274999917)
  2135. BlockMesh86.Scale = Vector3.new(0.774999857, 0.249999851, 0.274999917)
  2136. Part87.Parent = Tool0
  2137. Part87.BrickColor = BrickColor.new("Black")
  2138. Part87.Rotation = Vector3.new(0, 0, -180)
  2139. Part87.Anchored = true
  2140. Part87.CanCollide = false
  2141. Part87.FormFactor = Enum.FormFactor.Custom
  2142. Part87.Size = Vector3.new(0.200000003, 0.200000003, 0.435000241)
  2143. Part87.CFrame = CFrame.new(16.8344097, 2.18257713, -288.857697, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2144. Part87.BottomSurface = Enum.SurfaceType.Smooth
  2145. Part87.TopSurface = Enum.SurfaceType.Smooth
  2146. Part87.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2147. Part87.Position = Vector3.new(16.8344097, 2.18257713, -288.857697)
  2148. Part87.Orientation = Vector3.new(0, 0, 180)
  2149. Part87.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2150. BlockMesh88.Parent = Part87
  2151. BlockMesh88.Scale = Vector3.new(0.749999702, 0.324999899, 1)
  2152. BlockMesh88.Scale = Vector3.new(0.749999702, 0.324999899, 1)
  2153. Part89.Parent = Tool0
  2154. Part89.BrickColor = BrickColor.new("Black")
  2155. Part89.Rotation = Vector3.new(0, 0, -180)
  2156. Part89.Anchored = true
  2157. Part89.CanCollide = false
  2158. Part89.FormFactor = Enum.FormFactor.Custom
  2159. Part89.Size = Vector3.new(0.200000003, 0.200000003, 0.825000286)
  2160. Part89.CFrame = CFrame.new(16.76441, 2.18257713, -289.487701, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2161. Part89.BottomSurface = Enum.SurfaceType.Smooth
  2162. Part89.TopSurface = Enum.SurfaceType.Smooth
  2163. Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2164. Part89.Position = Vector3.new(16.76441, 2.18257713, -289.487701)
  2165. Part89.Orientation = Vector3.new(0, 0, 180)
  2166. Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2167. BlockMesh90.Parent = Part89
  2168. BlockMesh90.Scale = Vector3.new(0.049999997, 0.324999899, 1)
  2169. BlockMesh90.Scale = Vector3.new(0.049999997, 0.324999899, 1)
  2170. Part91.Parent = Tool0
  2171. Part91.BrickColor = BrickColor.new("Black")
  2172. Part91.Rotation = Vector3.new(-6.83999968, 0, -180)
  2173. Part91.Anchored = true
  2174. Part91.CanCollide = false
  2175. Part91.FormFactor = Enum.FormFactor.Custom
  2176. Part91.Size = Vector3.new(0.200000003, 0.200000003, 0.349999994)
  2177. Part91.CFrame = CFrame.new(16.9194088, 2.10857725, -289.264709, -1, 0, 0, 0, -0.992889583, 0.119038537, 0, 0.119038537, 0.992889583)
  2178. Part91.BottomSurface = Enum.SurfaceType.Smooth
  2179. Part91.TopSurface = Enum.SurfaceType.Smooth
  2180. Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2181. Part91.Position = Vector3.new(16.9194088, 2.10857725, -289.264709)
  2182. Part91.Orientation = Vector3.new(-6.83999968, 0, 180)
  2183. Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2184. BlockMesh92.Parent = Part91
  2185. BlockMesh92.Scale = Vector3.new(0.0500000045, 0.300000131, 1)
  2186. BlockMesh92.Scale = Vector3.new(0.0500000045, 0.300000131, 1)
  2187. Part93.Parent = Tool0
  2188. Part93.BrickColor = BrickColor.new("Black")
  2189. Part93.Rotation = Vector3.new(0, 0, -180)
  2190. Part93.Anchored = true
  2191. Part93.CanCollide = false
  2192. Part93.FormFactor = Enum.FormFactor.Custom
  2193. Part93.Size = Vector3.new(0.200000003, 0.264999926, 0.200000003)
  2194. Part93.CFrame = CFrame.new(16.8364105, 2.10857725, -290.877686, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2195. Part93.BottomSurface = Enum.SurfaceType.Smooth
  2196. Part93.TopSurface = Enum.SurfaceType.Smooth
  2197. Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2198. Part93.Position = Vector3.new(16.8364105, 2.10857725, -290.877686)
  2199. Part93.Orientation = Vector3.new(0, 0, 180)
  2200. Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2201. BlockMesh94.Parent = Part93
  2202. BlockMesh94.Scale = Vector3.new(0.774999857, 1, 0.274999917)
  2203. BlockMesh94.Scale = Vector3.new(0.774999857, 1, 0.274999917)
  2204. Part95.Parent = Tool0
  2205. Part95.BrickColor = BrickColor.new("Black")
  2206. Part95.Rotation = Vector3.new(0, 0, -180)
  2207. Part95.Anchored = true
  2208. Part95.CanCollide = false
  2209. Part95.FormFactor = Enum.FormFactor.Custom
  2210. Part95.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2211. Part95.CFrame = CFrame.new(16.8364105, 2.25757718, -290.252686, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2212. Part95.BottomSurface = Enum.SurfaceType.Smooth
  2213. Part95.TopSurface = Enum.SurfaceType.Smooth
  2214. Part95.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2215. Part95.Position = Vector3.new(16.8364105, 2.25757718, -290.252686)
  2216. Part95.Orientation = Vector3.new(0, 0, 180)
  2217. Part95.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2218. BlockMesh96.Parent = Part95
  2219. BlockMesh96.Scale = Vector3.new(0.425000042, 0.174999893, 0.274999917)
  2220. BlockMesh96.Scale = Vector3.new(0.425000042, 0.174999893, 0.274999917)
  2221. Part97.Parent = Tool0
  2222. Part97.BrickColor = BrickColor.new("Black")
  2223. Part97.Rotation = Vector3.new(0, 0, -180)
  2224. Part97.Anchored = true
  2225. Part97.CanCollide = false
  2226. Part97.FormFactor = Enum.FormFactor.Custom
  2227. Part97.Size = Vector3.new(0.200000003, 0.200000003, 1.12500024)
  2228. Part97.CFrame = CFrame.new(16.8364105, 2.29257727, -289.337708, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2229. Part97.BottomSurface = Enum.SurfaceType.Smooth
  2230. Part97.TopSurface = Enum.SurfaceType.Smooth
  2231. Part97.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2232. Part97.Position = Vector3.new(16.8364105, 2.29257727, -289.337708)
  2233. Part97.Orientation = Vector3.new(0, 0, 180)
  2234. Part97.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2235. BlockMesh98.Parent = Part97
  2236. BlockMesh98.Scale = Vector3.new(0.375000089, 0.174999982, 1)
  2237. BlockMesh98.Scale = Vector3.new(0.375000089, 0.174999982, 1)
  2238. Part99.Parent = Tool0
  2239. Part99.BrickColor = BrickColor.new("Black")
  2240. Part99.Rotation = Vector3.new(0, 0, 120)
  2241. Part99.Anchored = true
  2242. Part99.CanCollide = false
  2243. Part99.FormFactor = Enum.FormFactor.Custom
  2244. Part99.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2245. Part99.CFrame = CFrame.new(16.8744106, 2.37557721, -292.220703, -0.500036836, -0.866004944, 0, 0.866004944, -0.500036836, 0, 0, 0, 1)
  2246. Part99.BottomSurface = Enum.SurfaceType.Smooth
  2247. Part99.TopSurface = Enum.SurfaceType.Smooth
  2248. Part99.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2249. Part99.Position = Vector3.new(16.8744106, 2.37557721, -292.220703)
  2250. Part99.Orientation = Vector3.new(0, 0, 120)
  2251. Part99.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2252. BlockMesh100.Parent = Part99
  2253. BlockMesh100.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2254. BlockMesh100.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2255. Part101.Parent = Tool0
  2256. Part101.BrickColor = BrickColor.new("Black")
  2257. Part101.Rotation = Vector3.new(0, 0, -135)
  2258. Part101.Anchored = true
  2259. Part101.CanCollide = false
  2260. Part101.FormFactor = Enum.FormFactor.Custom
  2261. Part101.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2262. Part101.CFrame = CFrame.new(16.8714104, 2.32057714, -292.220703, -0.70712924, 0.707084715, 0, -0.707084715, -0.70712924, 0, 0, 0, 1)
  2263. Part101.BottomSurface = Enum.SurfaceType.Smooth
  2264. Part101.TopSurface = Enum.SurfaceType.Smooth
  2265. Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2266. Part101.Position = Vector3.new(16.8714104, 2.32057714, -292.220703)
  2267. Part101.Orientation = Vector3.new(0, 0, -135)
  2268. Part101.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2269. BlockMesh102.Parent = Part101
  2270. BlockMesh102.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2271. BlockMesh102.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2272. Part103.Parent = Tool0
  2273. Part103.BrickColor = BrickColor.new("Black")
  2274. Part103.Rotation = Vector3.new(0, 0, -180)
  2275. Part103.Anchored = true
  2276. Part103.CanCollide = false
  2277. Part103.FormFactor = Enum.FormFactor.Custom
  2278. Part103.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2279. Part103.CFrame = CFrame.new(16.8364105, 2.32957721, -292.220703, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2280. Part103.BottomSurface = Enum.SurfaceType.Smooth
  2281. Part103.TopSurface = Enum.SurfaceType.Smooth
  2282. Part103.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2283. Part103.Position = Vector3.new(16.8364105, 2.32957721, -292.220703)
  2284. Part103.Orientation = Vector3.new(0, 0, 180)
  2285. Part103.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2286. BlockMesh104.Parent = Part103
  2287. BlockMesh104.Scale = Vector3.new(0.0500000715, 0.175000012, 0.25000006)
  2288. BlockMesh104.Scale = Vector3.new(0.0500000715, 0.175000012, 0.25000006)
  2289. Part105.Parent = Tool0
  2290. Part105.BrickColor = BrickColor.new("Black")
  2291. Part105.Rotation = Vector3.new(0, 0, -90)
  2292. Part105.Anchored = true
  2293. Part105.CanCollide = false
  2294. Part105.FormFactor = Enum.FormFactor.Custom
  2295. Part105.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2296. Part105.CFrame = CFrame.new(16.88241, 2.34757733, -292.220703, -6.30170107e-05, 1.0000006, 0, -1.0000006, -6.30170107e-05, 0, 0, 0, 1)
  2297. Part105.BottomSurface = Enum.SurfaceType.Smooth
  2298. Part105.TopSurface = Enum.SurfaceType.Smooth
  2299. Part105.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2300. Part105.Position = Vector3.new(16.88241, 2.34757733, -292.220703)
  2301. Part105.Orientation = Vector3.new(0, 0, -90)
  2302. Part105.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2303. BlockMesh106.Parent = Part105
  2304. BlockMesh106.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2305. BlockMesh106.Scale = Vector3.new(0.175000042, 0.049999997, 0.55000031)
  2306. Part107.Parent = Tool0
  2307. Part107.BrickColor = BrickColor.new("Black")
  2308. Part107.Rotation = Vector3.new(-1.89999998, 0, -180)
  2309. Part107.Anchored = true
  2310. Part107.CanCollide = false
  2311. Part107.FormFactor = Enum.FormFactor.Custom
  2312. Part107.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2313. Part107.CFrame = CFrame.new(16.7844105, 2.33557725, -289.899689, -1, 0, 0, 0, -0.999451458, 0.0331151746, 0, 0.0331151746, 0.999451458)
  2314. Part107.BottomSurface = Enum.SurfaceType.Smooth
  2315. Part107.TopSurface = Enum.SurfaceType.Smooth
  2316. Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2317. Part107.Position = Vector3.new(16.7844105, 2.33557725, -289.899689)
  2318. Part107.Orientation = Vector3.new(-1.89999998, 0, 180)
  2319. Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2320. Decal108.Parent = Part107
  2321. Decal108.Texture = "http://www.roblox.com/asset/?id=61019872"
  2322. Decal108.Face = Enum.NormalId.Back
  2323. BlockMesh109.Parent = Part107
  2324. BlockMesh109.Scale = Vector3.new(0.300000101, 0.300000012, 0.075000003)
  2325. BlockMesh109.Scale = Vector3.new(0.300000101, 0.300000012, 0.075000003)
  2326. Part110.Parent = Tool0
  2327. Part110.BrickColor = BrickColor.new("Black")
  2328. Part110.Rotation = Vector3.new(-90, 0, 0)
  2329. Part110.Anchored = true
  2330. Part110.CanCollide = false
  2331. Part110.FormFactor = Enum.FormFactor.Custom
  2332. Part110.Size = Vector3.new(0.200000003, 1.32499981, 0.200000003)
  2333. Part110.CFrame = CFrame.new(16.8364105, 2.02057695, -291.567688, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2334. Part110.BottomSurface = Enum.SurfaceType.Smooth
  2335. Part110.TopSurface = Enum.SurfaceType.Smooth
  2336. Part110.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2337. Part110.Position = Vector3.new(16.8364105, 2.02057695, -291.567688)
  2338. Part110.Orientation = Vector3.new(-90, 0, 0)
  2339. Part110.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2340. CylinderMesh111.Parent = Part110
  2341. CylinderMesh111.Scale = Vector3.new(0.125, 1, 0.125)
  2342. CylinderMesh111.Scale = Vector3.new(0.125, 1, 0.125)
  2343. Part112.Parent = Tool0
  2344. Part112.BrickColor = BrickColor.new("Black")
  2345. Part112.Rotation = Vector3.new(-90, 0, 0)
  2346. Part112.Anchored = true
  2347. Part112.CanCollide = false
  2348. Part112.FormFactor = Enum.FormFactor.Custom
  2349. Part112.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2350. Part112.CFrame = CFrame.new(16.7964096, 2.2375772, -290.252686, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  2351. Part112.BottomSurface = Enum.SurfaceType.Smooth
  2352. Part112.TopSurface = Enum.SurfaceType.Smooth
  2353. Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2354. Part112.Position = Vector3.new(16.7964096, 2.2375772, -290.252686)
  2355. Part112.Orientation = Vector3.new(-90, 0, 0)
  2356. Part112.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2357. CylinderMesh113.Parent = Part112
  2358. CylinderMesh113.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  2359. CylinderMesh113.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  2360. Part114.Parent = Tool0
  2361. Part114.BrickColor = BrickColor.new("Black")
  2362. Part114.Rotation = Vector3.new(-90, 0, -180)
  2363. Part114.Anchored = true
  2364. Part114.CanCollide = false
  2365. Part114.FormFactor = Enum.FormFactor.Custom
  2366. Part114.Size = Vector3.new(0.200000003, 0.200000003, 0.224999994)
  2367. Part114.CFrame = CFrame.new(16.8364105, 2.02557707, -288.562683, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2368. Part114.BottomSurface = Enum.SurfaceType.Smooth
  2369. Part114.TopSurface = Enum.SurfaceType.Smooth
  2370. Part114.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2371. Part114.Position = Vector3.new(16.8364105, 2.02557707, -288.562683)
  2372. Part114.Orientation = Vector3.new(-90, -180, 0)
  2373. Part114.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2374. SpecialMesh115.Parent = Part114
  2375. SpecialMesh115.Scale = Vector3.new(0.774999797, 0.375, 1)
  2376. SpecialMesh115.MeshType = Enum.MeshType.Wedge
  2377. SpecialMesh115.Scale = Vector3.new(0.774999797, 0.375, 1)
  2378. Part116.Parent = Tool0
  2379. Part116.BrickColor = BrickColor.new("Black")
  2380. Part116.Rotation = Vector3.new(0, 0, -180)
  2381. Part116.Anchored = true
  2382. Part116.CanCollide = false
  2383. Part116.FormFactor = Enum.FormFactor.Custom
  2384. Part116.Size = Vector3.new(0.200000003, 0.200000003, 0.324999988)
  2385. Part116.CFrame = CFrame.new(16.8364105, 2.22557712, -290.062683, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2386. Part116.BottomSurface = Enum.SurfaceType.Smooth
  2387. Part116.TopSurface = Enum.SurfaceType.Smooth
  2388. Part116.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2389. Part116.Position = Vector3.new(16.8364105, 2.22557712, -290.062683)
  2390. Part116.Orientation = Vector3.new(0, 0, 180)
  2391. Part116.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2392. BlockMesh117.Parent = Part116
  2393. BlockMesh117.Scale = Vector3.new(0.774999917, 0.75, 1)
  2394. BlockMesh117.Scale = Vector3.new(0.774999917, 0.75, 1)
  2395. Part118.Parent = Tool0
  2396. Part118.BrickColor = BrickColor.new("Black")
  2397. Part118.Rotation = Vector3.new(-90, 0, 0)
  2398. Part118.Anchored = true
  2399. Part118.CanCollide = false
  2400. Part118.FormFactor = Enum.FormFactor.Custom
  2401. Part118.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2402. Part118.CFrame = CFrame.new(16.8364105, 2.02057695, -292.239685, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2403. Part118.BottomSurface = Enum.SurfaceType.Smooth
  2404. Part118.TopSurface = Enum.SurfaceType.Smooth
  2405. Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2406. Part118.Position = Vector3.new(16.8364105, 2.02057695, -292.239685)
  2407. Part118.Orientation = Vector3.new(-90, 0, 0)
  2408. Part118.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2409. CylinderMesh119.Parent = Part118
  2410. CylinderMesh119.Scale = Vector3.new(0.230000019, 0.499999791, 0.201250017)
  2411. CylinderMesh119.Scale = Vector3.new(0.230000019, 0.499999791, 0.201250017)
  2412. Part120.Parent = Tool0
  2413. Part120.BrickColor = BrickColor.new("Black")
  2414. Part120.Anchored = true
  2415. Part120.CanCollide = false
  2416. Part120.FormFactor = Enum.FormFactor.Custom
  2417. Part120.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2418. Part120.CFrame = CFrame.new(16.8364105, 2.1355772, -291.567688, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2419. Part120.BottomSurface = Enum.SurfaceType.Smooth
  2420. Part120.TopSurface = Enum.SurfaceType.Smooth
  2421. Part120.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2422. Part120.Position = Vector3.new(16.8364105, 2.1355772, -291.567688)
  2423. Part120.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2424. SpecialMesh121.Parent = Part120
  2425. SpecialMesh121.Scale = Vector3.new(0.250000149, 0.25, 0.625)
  2426. SpecialMesh121.MeshType = Enum.MeshType.Wedge
  2427. SpecialMesh121.Scale = Vector3.new(0.250000149, 0.25, 0.625)
  2428. Part122.Parent = Tool0
  2429. Part122.BrickColor = BrickColor.new("CGA brown")
  2430. Part122.Rotation = Vector3.new(0, 0, -180)
  2431. Part122.Anchored = true
  2432. Part122.CanCollide = false
  2433. Part122.FormFactor = Enum.FormFactor.Custom
  2434. Part122.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2435. Part122.CFrame = CFrame.new(16.8364105, 2.1355772, -290.819702, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2436. Part122.BottomSurface = Enum.SurfaceType.Smooth
  2437. Part122.TopSurface = Enum.SurfaceType.Smooth
  2438. Part122.Color = Color3.new(0.666667, 0.333333, 0)
  2439. Part122.Position = Vector3.new(16.8364105, 2.1355772, -290.819702)
  2440. Part122.Orientation = Vector3.new(0, 0, 180)
  2441. Part122.Color = Color3.new(0.666667, 0.333333, 0)
  2442. BlockMesh123.Parent = Part122
  2443. BlockMesh123.Scale = Vector3.new(0.774999857, 0.199999988, 0.299999595)
  2444. BlockMesh123.Scale = Vector3.new(0.774999857, 0.199999988, 0.299999595)
  2445. Part124.Parent = Tool0
  2446. Part124.BrickColor = BrickColor.new("Black")
  2447. Part124.Rotation = Vector3.new(-90, 0, 0)
  2448. Part124.Anchored = true
  2449. Part124.CanCollide = false
  2450. Part124.FormFactor = Enum.FormFactor.Custom
  2451. Part124.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2452. Part124.CFrame = CFrame.new(16.8364105, 2.08557701, -290.929688, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2453. Part124.BottomSurface = Enum.SurfaceType.Smooth
  2454. Part124.TopSurface = Enum.SurfaceType.Smooth
  2455. Part124.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2456. Part124.Position = Vector3.new(16.8364105, 2.08557701, -290.929688)
  2457. Part124.Orientation = Vector3.new(-90, 0, 0)
  2458. Part124.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2459. CylinderMesh125.Parent = Part124
  2460. CylinderMesh125.Scale = Vector3.new(0.5, 0.25, 0.5)
  2461. CylinderMesh125.Scale = Vector3.new(0.5, 0.25, 0.5)
  2462. Part126.Parent = Tool0
  2463. Part126.BrickColor = BrickColor.new("Black")
  2464. Part126.Rotation = Vector3.new(-90, 0, 0)
  2465. Part126.Anchored = true
  2466. Part126.CanCollide = false
  2467. Part126.FormFactor = Enum.FormFactor.Custom
  2468. Part126.Size = Vector3.new(0.200000003, 0.524999976, 0.200000003)
  2469. Part126.CFrame = CFrame.new(16.8364105, 2.20557714, -291.167694, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2470. Part126.BottomSurface = Enum.SurfaceType.Smooth
  2471. Part126.TopSurface = Enum.SurfaceType.Smooth
  2472. Part126.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2473. Part126.Position = Vector3.new(16.8364105, 2.20557714, -291.167694)
  2474. Part126.Orientation = Vector3.new(-90, 0, 0)
  2475. Part126.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2476. CylinderMesh127.Parent = Part126
  2477. CylinderMesh127.Scale = Vector3.new(0.25, 1, 0.25)
  2478. CylinderMesh127.Scale = Vector3.new(0.25, 1, 0.25)
  2479. Part128.Parent = Tool0
  2480. Part128.BrickColor = BrickColor.new("CGA brown")
  2481. Part128.Rotation = Vector3.new(0, 0, -180)
  2482. Part128.Anchored = true
  2483. Part128.CanCollide = false
  2484. Part128.FormFactor = Enum.FormFactor.Custom
  2485. Part128.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2486. Part128.CFrame = CFrame.new(16.8364105, 2.1355772, -290.307709, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2487. Part128.BottomSurface = Enum.SurfaceType.Smooth
  2488. Part128.TopSurface = Enum.SurfaceType.Smooth
  2489. Part128.Color = Color3.new(0.666667, 0.333333, 0)
  2490. Part128.Position = Vector3.new(16.8364105, 2.1355772, -290.307709)
  2491. Part128.Orientation = Vector3.new(0, 0, 180)
  2492. Part128.Color = Color3.new(0.666667, 0.333333, 0)
  2493. BlockMesh129.Parent = Part128
  2494. BlockMesh129.Scale = Vector3.new(0.774999857, 0.199999869, 0.274999648)
  2495. BlockMesh129.Scale = Vector3.new(0.774999857, 0.199999869, 0.274999648)
  2496. Part130.Parent = Tool0
  2497. Part130.BrickColor = BrickColor.new("CGA brown")
  2498. Part130.Rotation = Vector3.new(0, 0, -180)
  2499. Part130.Anchored = true
  2500. Part130.CanCollide = false
  2501. Part130.FormFactor = Enum.FormFactor.Custom
  2502. Part130.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2503. Part130.CFrame = CFrame.new(16.8364105, 2.1355772, -290.562683, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2504. Part130.BottomSurface = Enum.SurfaceType.Smooth
  2505. Part130.TopSurface = Enum.SurfaceType.Smooth
  2506. Part130.Color = Color3.new(0.666667, 0.333333, 0)
  2507. Part130.Position = Vector3.new(16.8364105, 2.1355772, -290.562683)
  2508. Part130.Orientation = Vector3.new(0, 0, 180)
  2509. Part130.Color = Color3.new(0.666667, 0.333333, 0)
  2510. BlockMesh131.Parent = Part130
  2511. BlockMesh131.Scale = Vector3.new(0.774999857, 0.199999988, 0.474999666)
  2512. BlockMesh131.Scale = Vector3.new(0.774999857, 0.199999988, 0.474999666)
  2513. Part132.Parent = Tool0
  2514. Part132.BrickColor = BrickColor.new("CGA brown")
  2515. Part132.Rotation = Vector3.new(-90, 0, -180)
  2516. Part132.Anchored = true
  2517. Part132.CanCollide = false
  2518. Part132.FormFactor = Enum.FormFactor.Custom
  2519. Part132.Size = Vector3.new(0.200000003, 0.200000003, 0.575000107)
  2520. Part132.CFrame = CFrame.new(16.8364105, 1.73857701, -287.375702, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2521. Part132.BottomSurface = Enum.SurfaceType.Smooth
  2522. Part132.TopSurface = Enum.SurfaceType.Smooth
  2523. Part132.Color = Color3.new(0.666667, 0.333333, 0)
  2524. Part132.Position = Vector3.new(16.8364105, 1.73857701, -287.375702)
  2525. Part132.Orientation = Vector3.new(-90, -180, 0)
  2526. Part132.Color = Color3.new(0.666667, 0.333333, 0)
  2527. SpecialMesh133.Parent = Part132
  2528. SpecialMesh133.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2529. SpecialMesh133.MeshType = Enum.MeshType.Wedge
  2530. SpecialMesh133.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2531. Part134.Parent = Tool0
  2532. Part134.BrickColor = BrickColor.new("Black")
  2533. Part134.Rotation = Vector3.new(175, 0, 180)
  2534. Part134.Anchored = true
  2535. Part134.CanCollide = false
  2536. Part134.FormFactor = Enum.FormFactor.Custom
  2537. Part134.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2538. Part134.CFrame = CFrame.new(16.8364105, 1.74257696, -289.332703, -1, -0, 0, 0, 0.99619472, -0.087155737, 0, -0.087155737, -0.99619472)
  2539. Part134.BottomSurface = Enum.SurfaceType.Smooth
  2540. Part134.TopSurface = Enum.SurfaceType.Smooth
  2541. Part134.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2542. Part134.Position = Vector3.new(16.8364105, 1.74257696, -289.332703)
  2543. Part134.Orientation = Vector3.new(5, 180, 0)
  2544. Part134.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2545. BlockMesh135.Parent = Part134
  2546. BlockMesh135.Scale = Vector3.new(0.675000191, 0.524999976, 0.149999976)
  2547. BlockMesh135.Scale = Vector3.new(0.675000191, 0.524999976, 0.149999976)
  2548. Part136.Parent = Tool0
  2549. Part136.BrickColor = BrickColor.new("CGA brown")
  2550. Part136.Rotation = Vector3.new(0, 0, -180)
  2551. Part136.Anchored = true
  2552. Part136.CanCollide = false
  2553. Part136.FormFactor = Enum.FormFactor.Custom
  2554. Part136.Size = Vector3.new(0.200000003, 0.449999988, 1.125)
  2555. Part136.CFrame = CFrame.new(16.8364105, 1.67557693, -287.962708, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2556. Part136.BottomSurface = Enum.SurfaceType.Smooth
  2557. Part136.TopSurface = Enum.SurfaceType.Smooth
  2558. Part136.Color = Color3.new(0.666667, 0.333333, 0)
  2559. Part136.Position = Vector3.new(16.8364105, 1.67557693, -287.962708)
  2560. Part136.Orientation = Vector3.new(0, 0, 180)
  2561. Part136.Color = Color3.new(0.666667, 0.333333, 0)
  2562. SpecialMesh137.Parent = Part136
  2563. SpecialMesh137.Scale = Vector3.new(0.725000143, 1, 1)
  2564. SpecialMesh137.MeshType = Enum.MeshType.Wedge
  2565. SpecialMesh137.Scale = Vector3.new(0.725000143, 1, 1)
  2566. Part138.Parent = Tool0
  2567. Part138.BrickColor = BrickColor.new("Black")
  2568. Part138.Rotation = Vector3.new(135, 0, 0)
  2569. Part138.Anchored = true
  2570. Part138.CanCollide = false
  2571. Part138.FormFactor = Enum.FormFactor.Custom
  2572. Part138.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2573. Part138.CFrame = CFrame.new(16.8364105, 1.76057696, -289.24469, 1, 0, 0, 0, -0.707129121, -0.707084537, 0, 0.707084537, -0.707129121)
  2574. Part138.BottomSurface = Enum.SurfaceType.Smooth
  2575. Part138.TopSurface = Enum.SurfaceType.Smooth
  2576. Part138.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2577. Part138.Position = Vector3.new(16.8364105, 1.76057696, -289.24469)
  2578. Part138.Orientation = Vector3.new(45, 180, 180)
  2579. Part138.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2580. BlockMesh139.Parent = Part138
  2581. BlockMesh139.Scale = Vector3.new(0.775000095, 0.625, 0.125)
  2582. BlockMesh139.Scale = Vector3.new(0.775000095, 0.625, 0.125)
  2583. Part140.Parent = Tool0
  2584. Part140.BrickColor = BrickColor.new("CGA brown")
  2585. Part140.Rotation = Vector3.new(-15, 0, -180)
  2586. Part140.Anchored = true
  2587. Part140.CanCollide = false
  2588. Part140.FormFactor = Enum.FormFactor.Custom
  2589. Part140.Size = Vector3.new(0.200000003, 0.524999976, 0.25)
  2590. Part140.CFrame = CFrame.new(16.8364105, 1.567577, -288.692688, -1, 0, 0, 0, -0.965928555, 0.258808911, 0, 0.258808911, 0.965928555)
  2591. Part140.BottomSurface = Enum.SurfaceType.Smooth
  2592. Part140.TopSurface = Enum.SurfaceType.Smooth
  2593. Part140.Color = Color3.new(0.666667, 0.333333, 0)
  2594. Part140.Position = Vector3.new(16.8364105, 1.567577, -288.692688)
  2595. Part140.Orientation = Vector3.new(-15, 0, 180)
  2596. Part140.Color = Color3.new(0.666667, 0.333333, 0)
  2597. BlockMesh141.Parent = Part140
  2598. BlockMesh141.Scale = Vector3.new(0.825000048, 1, 1)
  2599. BlockMesh141.Scale = Vector3.new(0.825000048, 1, 1)
  2600. Part142.Parent = Tool0
  2601. Part142.BrickColor = BrickColor.new("CGA brown")
  2602. Part142.Rotation = Vector3.new(0, 0, -180)
  2603. Part142.Anchored = true
  2604. Part142.CanCollide = false
  2605. Part142.FormFactor = Enum.FormFactor.Custom
  2606. Part142.Size = Vector3.new(0.200000003, 0.200000003, 0.200000018)
  2607. Part142.CFrame = CFrame.new(16.8364105, 1.947577, -290.209686, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2608. Part142.BottomSurface = Enum.SurfaceType.Smooth
  2609. Part142.TopSurface = Enum.SurfaceType.Smooth
  2610. Part142.Color = Color3.new(0.666667, 0.333333, 0)
  2611. Part142.Position = Vector3.new(16.8364105, 1.947577, -290.209686)
  2612. Part142.Orientation = Vector3.new(0, 0, 180)
  2613. Part142.Color = Color3.new(0.666667, 0.333333, 0)
  2614. SpecialMesh143.Parent = Part142
  2615. SpecialMesh143.Scale = Vector3.new(0.774999976, 0.274999976, 1)
  2616. SpecialMesh143.MeshType = Enum.MeshType.Wedge
  2617. SpecialMesh143.Scale = Vector3.new(0.774999976, 0.274999976, 1)
  2618. Part144.Parent = Tool0
  2619. Part144.BrickColor = BrickColor.new("CGA brown")
  2620. Part144.Rotation = Vector3.new(0, 0, -180)
  2621. Part144.Anchored = true
  2622. Part144.CanCollide = false
  2623. Part144.FormFactor = Enum.FormFactor.Custom
  2624. Part144.Size = Vector3.new(0.200000003, 0.200000003, 1.125)
  2625. Part144.CFrame = CFrame.new(16.8364105, 1.96357703, -287.962708, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2626. Part144.BottomSurface = Enum.SurfaceType.Smooth
  2627. Part144.TopSurface = Enum.SurfaceType.Smooth
  2628. Part144.Color = Color3.new(0.666667, 0.333333, 0)
  2629. Part144.Position = Vector3.new(16.8364105, 1.96357703, -287.962708)
  2630. Part144.Orientation = Vector3.new(0, 0, 180)
  2631. Part144.Color = Color3.new(0.666667, 0.333333, 0)
  2632. BlockMesh145.Parent = Part144
  2633. BlockMesh145.Scale = Vector3.new(0.725000143, 0.625, 1)
  2634. BlockMesh145.Scale = Vector3.new(0.725000143, 0.625, 1)
  2635. Part146.Parent = Tool0
  2636. Part146.BrickColor = BrickColor.new("Black")
  2637. Part146.Rotation = Vector3.new(30, 0, -180)
  2638. Part146.Anchored = true
  2639. Part146.CanCollide = false
  2640. Part146.FormFactor = Enum.FormFactor.Custom
  2641. Part146.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2642. Part146.CFrame = CFrame.new(16.8364105, 1.78757703, -289.002686, -1, 0, 0, 0, -0.866035938, -0.499981821, 0, -0.499981821, 0.866035938)
  2643. Part146.BottomSurface = Enum.SurfaceType.Smooth
  2644. Part146.TopSurface = Enum.SurfaceType.Smooth
  2645. Part146.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2646. Part146.Position = Vector3.new(16.8364105, 1.78757703, -289.002686)
  2647. Part146.Orientation = Vector3.new(30, 0, 180)
  2648. Part146.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2649. BlockMesh147.Parent = Part146
  2650. BlockMesh147.Scale = Vector3.new(0.775000095, 0.875, 0.125)
  2651. BlockMesh147.Scale = Vector3.new(0.775000095, 0.875, 0.125)
  2652. Part148.Parent = Tool0
  2653. Part148.BrickColor = BrickColor.new("CGA brown")
  2654. Part148.Rotation = Vector3.new(0, 0, -180)
  2655. Part148.Anchored = true
  2656. Part148.CanCollide = false
  2657. Part148.FormFactor = Enum.FormFactor.Custom
  2658. Part148.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2659. Part148.CFrame = CFrame.new(16.8364105, 1.81257701, -288.924713, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2660. Part148.BottomSurface = Enum.SurfaceType.Smooth
  2661. Part148.TopSurface = Enum.SurfaceType.Smooth
  2662. Part148.Color = Color3.new(0.666667, 0.333333, 0)
  2663. Part148.Position = Vector3.new(16.8364105, 1.81257701, -288.924713)
  2664. Part148.Orientation = Vector3.new(0, 0, 180)
  2665. Part148.Color = Color3.new(0.666667, 0.333333, 0)
  2666. BlockMesh149.Parent = Part148
  2667. BlockMesh149.Scale = Vector3.new(0.825000048, 0.375, 0.5)
  2668. BlockMesh149.Scale = Vector3.new(0.825000048, 0.375, 0.5)
  2669. Part150.Parent = Tool0
  2670. Part150.BrickColor = BrickColor.new("CGA brown")
  2671. Part150.Rotation = Vector3.new(-105, 0, 0)
  2672. Part150.Anchored = true
  2673. Part150.CanCollide = false
  2674. Part150.FormFactor = Enum.FormFactor.Custom
  2675. Part150.Size = Vector3.new(0.200000003, 0.200000003, 0.324999988)
  2676. Part150.CFrame = CFrame.new(16.8364105, 1.62557697, -288.862701, 1, 0, -0, 0, -0.258808911, 0.965928555, 0, -0.965928555, -0.258808911)
  2677. Part150.BottomSurface = Enum.SurfaceType.Smooth
  2678. Part150.TopSurface = Enum.SurfaceType.Smooth
  2679. Part150.Color = Color3.new(0.666667, 0.333333, 0)
  2680. Part150.Position = Vector3.new(16.8364105, 1.62557697, -288.862701)
  2681. Part150.Orientation = Vector3.new(-75, -180, 180)
  2682. Part150.Color = Color3.new(0.666667, 0.333333, 0)
  2683. SpecialMesh151.Parent = Part150
  2684. SpecialMesh151.Scale = Vector3.new(0.824999928, 0.25, 1)
  2685. SpecialMesh151.MeshType = Enum.MeshType.Wedge
  2686. SpecialMesh151.Scale = Vector3.new(0.824999928, 0.25, 1)
  2687. Part152.Parent = Tool0
  2688. Part152.BrickColor = BrickColor.new("Black")
  2689. Part152.Rotation = Vector3.new(0, 0, -180)
  2690. Part152.Anchored = true
  2691. Part152.CanCollide = false
  2692. Part152.FormFactor = Enum.FormFactor.Custom
  2693. Part152.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2694. Part152.CFrame = CFrame.new(16.8364105, 1.88557696, -289.307709, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2695. Part152.BottomSurface = Enum.SurfaceType.Smooth
  2696. Part152.TopSurface = Enum.SurfaceType.Smooth
  2697. Part152.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2698. Part152.Position = Vector3.new(16.8364105, 1.88557696, -289.307709)
  2699. Part152.Orientation = Vector3.new(0, 0, 180)
  2700. Part152.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2701. BlockMesh153.Parent = Part152
  2702. BlockMesh153.Scale = Vector3.new(0.775000095, 0.899999976, 0.450000018)
  2703. BlockMesh153.Scale = Vector3.new(0.775000095, 0.899999976, 0.450000018)
  2704. Part154.Parent = Tool0
  2705. Part154.BrickColor = BrickColor.new("CGA brown")
  2706. Part154.Rotation = Vector3.new(-180, 0, -180)
  2707. Part154.Anchored = true
  2708. Part154.CanCollide = false
  2709. Part154.FormFactor = Enum.FormFactor.Custom
  2710. Part154.Size = Vector3.new(0.200000003, 0.200000003, 0.800000072)
  2711. Part154.CFrame = CFrame.new(16.8364105, 2.07557702, -287.749695, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2712. Part154.BottomSurface = Enum.SurfaceType.Smooth
  2713. Part154.TopSurface = Enum.SurfaceType.Smooth
  2714. Part154.Color = Color3.new(0.666667, 0.333333, 0)
  2715. Part154.Position = Vector3.new(16.8364105, 2.07557702, -287.749695)
  2716. Part154.Orientation = Vector3.new(0, 180, 0)
  2717. Part154.Color = Color3.new(0.666667, 0.333333, 0)
  2718. SpecialMesh155.Parent = Part154
  2719. SpecialMesh155.Scale = Vector3.new(0.724999964, 0.49999997, 1)
  2720. SpecialMesh155.MeshType = Enum.MeshType.Wedge
  2721. SpecialMesh155.Scale = Vector3.new(0.724999964, 0.49999997, 1)
  2722. Part156.Parent = Tool0
  2723. Part156.BrickColor = BrickColor.new("Black")
  2724. Part156.Rotation = Vector3.new(-90, 0, -180)
  2725. Part156.Anchored = true
  2726. Part156.CanCollide = false
  2727. Part156.FormFactor = Enum.FormFactor.Custom
  2728. Part156.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2729. Part156.CFrame = CFrame.new(16.8364105, 1.71757698, -289.122711, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2730. Part156.BottomSurface = Enum.SurfaceType.Smooth
  2731. Part156.TopSurface = Enum.SurfaceType.Smooth
  2732. Part156.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2733. Part156.Position = Vector3.new(16.8364105, 1.71757698, -289.122711)
  2734. Part156.Orientation = Vector3.new(-90, -180, 0)
  2735. Part156.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2736. BlockMesh157.Parent = Part156
  2737. BlockMesh157.Scale = Vector3.new(0.775000095, 0.875, 0.125)
  2738. BlockMesh157.Scale = Vector3.new(0.775000095, 0.875, 0.125)
  2739. Part158.Parent = Tool0
  2740. Part158.BrickColor = BrickColor.new("Black")
  2741. Part158.Rotation = Vector3.new(94.4000015, 0, 180)
  2742. Part158.Anchored = true
  2743. Part158.CanCollide = false
  2744. Part158.FormFactor = Enum.FormFactor.Custom
  2745. Part158.Size = Vector3.new(0.200000003, 0.200000003, 0.574999928)
  2746. Part158.CFrame = CFrame.new(16.8364105, 1.73857701, -287.363708, -1, -0, 0, 0, 0.0766965002, -0.997054458, 0, -0.997054458, -0.0766965002)
  2747. Part158.BottomSurface = Enum.SurfaceType.Smooth
  2748. Part158.TopSurface = Enum.SurfaceType.Smooth
  2749. Part158.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2750. Part158.Position = Vector3.new(16.8364105, 1.73857701, -287.363708)
  2751. Part158.Orientation = Vector3.new(85.5999985, 180, 0)
  2752. Part158.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2753. BlockMesh159.Parent = Part158
  2754. BlockMesh159.Scale = Vector3.new(0.725000024, 0.125, 1)
  2755. BlockMesh159.Scale = Vector3.new(0.725000024, 0.125, 1)
  2756. Part160.Parent = Tool0
  2757. Part160.BrickColor = BrickColor.new("CGA brown")
  2758. Part160.Rotation = Vector3.new(0, 0, -180)
  2759. Part160.Anchored = true
  2760. Part160.CanCollide = false
  2761. Part160.FormFactor = Enum.FormFactor.Custom
  2762. Part160.Size = Vector3.new(0.200000003, 0.200000003, 0.37500003)
  2763. Part160.CFrame = CFrame.new(16.8364105, 2.05057693, -288.337708, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2764. Part160.BottomSurface = Enum.SurfaceType.Smooth
  2765. Part160.TopSurface = Enum.SurfaceType.Smooth
  2766. Part160.Color = Color3.new(0.666667, 0.333333, 0)
  2767. Part160.Position = Vector3.new(16.8364105, 2.05057693, -288.337708)
  2768. Part160.Orientation = Vector3.new(0, 0, 180)
  2769. Part160.Color = Color3.new(0.666667, 0.333333, 0)
  2770. BlockMesh161.Parent = Part160
  2771. BlockMesh161.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2772. BlockMesh161.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2773. Part162.Parent = Tool0
  2774. Part162.BrickColor = BrickColor.new("Black")
  2775. Part162.Rotation = Vector3.new(0, 0, -180)
  2776. Part162.Anchored = true
  2777. Part162.CanCollide = false
  2778. Part162.FormFactor = Enum.FormFactor.Custom
  2779. Part162.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2780. Part162.CFrame = CFrame.new(16.8364105, 2.30257726, -288.727692, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2781. Part162.BottomSurface = Enum.SurfaceType.Smooth
  2782. Part162.TopSurface = Enum.SurfaceType.Smooth
  2783. Part162.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2784. Part162.Position = Vector3.new(16.8364105, 2.30257726, -288.727692)
  2785. Part162.Orientation = Vector3.new(0, 0, 180)
  2786. Part162.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2787. BlockMesh163.Parent = Part162
  2788. BlockMesh163.Scale = Vector3.new(0.225000039, 0.249999911, 0.474999905)
  2789. BlockMesh163.Scale = Vector3.new(0.225000039, 0.249999911, 0.474999905)
  2790. Part164.Parent = Tool0
  2791. Part164.BrickColor = BrickColor.new("Black")
  2792. Part164.Rotation = Vector3.new(0, 0, -180)
  2793. Part164.Anchored = true
  2794. Part164.CanCollide = false
  2795. Part164.FormFactor = Enum.FormFactor.Custom
  2796. Part164.Size = Vector3.new(0.200000003, 0.200000003, 0.774999976)
  2797. Part164.CFrame = CFrame.new(16.8914089, 2.2375772, -289.062683, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2798. Part164.BottomSurface = Enum.SurfaceType.Smooth
  2799. Part164.TopSurface = Enum.SurfaceType.Smooth
  2800. Part164.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2801. Part164.Position = Vector3.new(16.8914089, 2.2375772, -289.062683)
  2802. Part164.Orientation = Vector3.new(0, 0, 180)
  2803. Part164.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2804. BlockMesh165.Parent = Part164
  2805. BlockMesh165.Scale = Vector3.new(0.0249999985, 0.37499994, 1)
  2806. BlockMesh165.Scale = Vector3.new(0.0249999985, 0.37499994, 1)
  2807. Part166.Parent = Tool0
  2808. Part166.BrickColor = BrickColor.new("Black")
  2809. Part166.Rotation = Vector3.new(-90, 0, 0)
  2810. Part166.Anchored = true
  2811. Part166.CanCollide = false
  2812. Part166.FormFactor = Enum.FormFactor.Custom
  2813. Part166.Size = Vector3.new(0.200000003, 0.300000012, 0.200000003)
  2814. Part166.CFrame = CFrame.new(16.8364105, 2.08557701, -292.155701, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2815. Part166.BottomSurface = Enum.SurfaceType.Smooth
  2816. Part166.TopSurface = Enum.SurfaceType.Smooth
  2817. Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2818. Part166.Position = Vector3.new(16.8364105, 2.08557701, -292.155701)
  2819. Part166.Orientation = Vector3.new(-90, 0, 0)
  2820. Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2821. CylinderMesh167.Parent = Part166
  2822. CylinderMesh167.Scale = Vector3.new(0.375, 1, 0.375)
  2823. CylinderMesh167.Scale = Vector3.new(0.375, 1, 0.375)
  2824. Part168.Parent = Tool0
  2825. Part168.BrickColor = BrickColor.new("Black")
  2826. Part168.Rotation = Vector3.new(-180, 0, -180)
  2827. Part168.Anchored = true
  2828. Part168.CanCollide = false
  2829. Part168.FormFactor = Enum.FormFactor.Custom
  2830. Part168.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2831. Part168.CFrame = CFrame.new(16.8344097, 2.18257713, -288.619659, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2832. Part168.BottomSurface = Enum.SurfaceType.Smooth
  2833. Part168.TopSurface = Enum.SurfaceType.Smooth
  2834. Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2835. Part168.Position = Vector3.new(16.8344097, 2.18257713, -288.619659)
  2836. Part168.Orientation = Vector3.new(0, 180, 0)
  2837. Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2838. SpecialMesh169.Parent = Part168
  2839. SpecialMesh169.Scale = Vector3.new(0.74999994, 0.324999988, 0.199999958)
  2840. SpecialMesh169.MeshType = Enum.MeshType.Wedge
  2841. SpecialMesh169.Scale = Vector3.new(0.74999994, 0.324999988, 0.199999958)
  2842. Part170.Parent = Tool0
  2843. Part170.BrickColor = BrickColor.new("Black")
  2844. Part170.Rotation = Vector3.new(90, 0, 90)
  2845. Part170.Anchored = true
  2846. Part170.CanCollide = false
  2847. Part170.FormFactor = Enum.FormFactor.Custom
  2848. Part170.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2849. Part170.CFrame = CFrame.new(16.9044094, 2.2835772, -288.750702, 0, -1, 0, -3.7252903e-09, 0, -0.999999881, 0.999999881, 0, -3.7252903e-09)
  2850. Part170.BottomSurface = Enum.SurfaceType.Smooth
  2851. Part170.TopSurface = Enum.SurfaceType.Smooth
  2852. Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2853. Part170.Position = Vector3.new(16.9044094, 2.2835772, -288.750702)
  2854. Part170.Orientation = Vector3.new(89.9700012, 180, -90)
  2855. Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2856. CylinderMesh171.Parent = Part170
  2857. CylinderMesh171.Scale = Vector3.new(0.550000012, 0.099999994, 0.550000012)
  2858. CylinderMesh171.Scale = Vector3.new(0.550000012, 0.099999994, 0.550000012)
  2859. Part172.Parent = Tool0
  2860. Part172.BrickColor = BrickColor.new("CGA brown")
  2861. Part172.Rotation = Vector3.new(-180, 0, -180)
  2862. Part172.Anchored = true
  2863. Part172.CanCollide = false
  2864. Part172.FormFactor = Enum.FormFactor.Custom
  2865. Part172.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
  2866. Part172.CFrame = CFrame.new(16.8364105, 2.10057688, -288.375702, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2867. Part172.BottomSurface = Enum.SurfaceType.Smooth
  2868. Part172.TopSurface = Enum.SurfaceType.Smooth
  2869. Part172.Color = Color3.new(0.666667, 0.333333, 0)
  2870. Part172.Position = Vector3.new(16.8364105, 2.10057688, -288.375702)
  2871. Part172.Orientation = Vector3.new(0, 180, 0)
  2872. Part172.Color = Color3.new(0.666667, 0.333333, 0)
  2873. SpecialMesh173.Parent = Part172
  2874. SpecialMesh173.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2875. SpecialMesh173.MeshType = Enum.MeshType.Wedge
  2876. SpecialMesh173.Scale = Vector3.new(0.725000143, 0.25000003, 1)
  2877. Part174.Parent = Tool0
  2878. Part174.BrickColor = BrickColor.new("Black")
  2879. Part174.Rotation = Vector3.new(60, 0, -180)
  2880. Part174.Anchored = true
  2881. Part174.CanCollide = false
  2882. Part174.FormFactor = Enum.FormFactor.Custom
  2883. Part174.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2884. Part174.CFrame = CFrame.new(16.8364105, 2.2065773, -292.120697, -1, 0, 0, 0, -0.500036895, -0.866004944, 0, -0.866004944, 0.500036895)
  2885. Part174.BottomSurface = Enum.SurfaceType.Smooth
  2886. Part174.TopSurface = Enum.SurfaceType.Smooth
  2887. Part174.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2888. Part174.Position = Vector3.new(16.8364105, 2.2065773, -292.120697)
  2889. Part174.Orientation = Vector3.new(60, 0, 180)
  2890. Part174.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2891. BlockMesh175.Parent = Part174
  2892. BlockMesh175.Scale = Vector3.new(0.300000072, 0.124999993, 0.700000226)
  2893. BlockMesh175.Scale = Vector3.new(0.300000072, 0.124999993, 0.700000226)
  2894. Part176.Parent = Tool0
  2895. Part176.BrickColor = BrickColor.new("Black")
  2896. Part176.Anchored = true
  2897. Part176.CanCollide = false
  2898. Part176.FormFactor = Enum.FormFactor.Custom
  2899. Part176.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2900. Part176.CFrame = CFrame.new(16.8364105, 2.04257703, -292.239685, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2901. Part176.BottomSurface = Enum.SurfaceType.Smooth
  2902. Part176.TopSurface = Enum.SurfaceType.Smooth
  2903. Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2904. Part176.Position = Vector3.new(16.8364105, 2.04257703, -292.239685)
  2905. Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2906. BlockMesh177.Parent = Part176
  2907. BlockMesh177.Scale = Vector3.new(0.200000137, 0.200000018, 0.5)
  2908. BlockMesh177.Scale = Vector3.new(0.200000137, 0.200000018, 0.5)
  2909. Part178.Parent = Tool0
  2910. Part178.BrickColor = BrickColor.new("Black")
  2911. Part178.Rotation = Vector3.new(0, 0, -180)
  2912. Part178.Anchored = true
  2913. Part178.CanCollide = false
  2914. Part178.FormFactor = Enum.FormFactor.Custom
  2915. Part178.Size = Vector3.new(0.200000003, 0.200000003, 0.25000003)
  2916. Part178.CFrame = CFrame.new(16.8364105, 2.12157726, -292.179688, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2917. Part178.BottomSurface = Enum.SurfaceType.Smooth
  2918. Part178.TopSurface = Enum.SurfaceType.Smooth
  2919. Part178.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2920. Part178.Position = Vector3.new(16.8364105, 2.12157726, -292.179688)
  2921. Part178.Orientation = Vector3.new(0, 0, 180)
  2922. Part178.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2923. BlockMesh179.Parent = Part178
  2924. BlockMesh179.Scale = Vector3.new(0.300000072, 0.300000012, 1)
  2925. BlockMesh179.Scale = Vector3.new(0.300000072, 0.300000012, 1)
  2926. Part180.Parent = Tool0
  2927. Part180.BrickColor = BrickColor.new("Black")
  2928. Part180.Rotation = Vector3.new(-90, 0, 90)
  2929. Part180.Anchored = true
  2930. Part180.CanCollide = false
  2931. Part180.FormFactor = Enum.FormFactor.Custom
  2932. Part180.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2933. Part180.CFrame = CFrame.new(16.8364105, 2.30257726, -290.202698, 0, -1, -2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, -1, 1.77635684e-15, -2.98023224e-08)
  2934. Part180.BottomSurface = Enum.SurfaceType.Smooth
  2935. Part180.TopSurface = Enum.SurfaceType.Smooth
  2936. Part180.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2937. Part180.Position = Vector3.new(16.8364105, 2.30257726, -290.202698)
  2938. Part180.Orientation = Vector3.new(-90, 90, 0)
  2939. Part180.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2940. CylinderMesh181.Parent = Part180
  2941. CylinderMesh181.Scale = Vector3.new(0.224999994, 0.762499988, 0.224999994)
  2942. CylinderMesh181.Scale = Vector3.new(0.224999994, 0.762499988, 0.224999994)
  2943. Part182.Parent = Tool0
  2944. Part182.BrickColor = BrickColor.new("Really black")
  2945. Part182.Rotation = Vector3.new(0, 0, -180)
  2946. Part182.Anchored = true
  2947. Part182.CanCollide = false
  2948. Part182.FormFactor = Enum.FormFactor.Custom
  2949. Part182.Size = Vector3.new(0.200000003, 0.200000003, 0.825000286)
  2950. Part182.CFrame = CFrame.new(16.8764095, 2.20057726, -289.487701, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2951. Part182.BottomSurface = Enum.SurfaceType.Smooth
  2952. Part182.TopSurface = Enum.SurfaceType.Smooth
  2953. Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2954. Part182.Position = Vector3.new(16.8764095, 2.20057726, -289.487701)
  2955. Part182.Orientation = Vector3.new(0, 0, 180)
  2956. Part182.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  2957. BlockMesh183.Parent = Part182
  2958. BlockMesh183.Scale = Vector3.new(0.137500003, 0.49999997, 1)
  2959. BlockMesh183.Scale = Vector3.new(0.137500003, 0.49999997, 1)
  2960. Part184.Parent = Tool0
  2961. Part184.BrickColor = BrickColor.new("Black")
  2962. Part184.Rotation = Vector3.new(0, 0, -180)
  2963. Part184.Anchored = true
  2964. Part184.CanCollide = false
  2965. Part184.FormFactor = Enum.FormFactor.Custom
  2966. Part184.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2967. Part184.CFrame = CFrame.new(16.8914089, 2.2375772, -289.474701, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  2968. Part184.BottomSurface = Enum.SurfaceType.Smooth
  2969. Part184.TopSurface = Enum.SurfaceType.Smooth
  2970. Part184.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2971. Part184.Position = Vector3.new(16.8914089, 2.2375772, -289.474701)
  2972. Part184.Orientation = Vector3.new(0, 0, 180)
  2973. Part184.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2974. SpecialMesh185.Parent = Part184
  2975. SpecialMesh185.Scale = Vector3.new(0.025000006, 0.375, 0.25)
  2976. SpecialMesh185.MeshType = Enum.MeshType.Wedge
  2977. SpecialMesh185.Scale = Vector3.new(0.025000006, 0.375, 0.25)
  2978. Part186.Parent = Tool0
  2979. Part186.BrickColor = BrickColor.new("Black")
  2980. Part186.Rotation = Vector3.new(-180, 0, -180)
  2981. Part186.Anchored = true
  2982. Part186.CanCollide = false
  2983. Part186.FormFactor = Enum.FormFactor.Custom
  2984. Part186.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2985. Part186.CFrame = CFrame.new(16.8364105, 2.28157711, -292.147705, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2986. Part186.BottomSurface = Enum.SurfaceType.Smooth
  2987. Part186.TopSurface = Enum.SurfaceType.Smooth
  2988. Part186.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2989. Part186.Position = Vector3.new(16.8364105, 2.28157711, -292.147705)
  2990. Part186.Orientation = Vector3.new(0, 180, 0)
  2991. Part186.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2992. SpecialMesh187.Parent = Part186
  2993. SpecialMesh187.Scale = Vector3.new(0.300000161, 0.299999982, 0.174999937)
  2994. SpecialMesh187.MeshType = Enum.MeshType.Wedge
  2995. SpecialMesh187.Scale = Vector3.new(0.300000161, 0.299999982, 0.174999937)
  2996. Part188.Parent = Tool0
  2997. Part188.BrickColor = BrickColor.new("Black")
  2998. Part188.Rotation = Vector3.new(0, 0, -180)
  2999. Part188.Anchored = true
  3000. Part188.CanCollide = false
  3001. Part188.FormFactor = Enum.FormFactor.Custom
  3002. Part188.Size = Vector3.new(0.200000003, 0.224999994, 0.200000003)
  3003. Part188.CFrame = CFrame.new(16.8364105, 2.02557707, -288.562683, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3004. Part188.BottomSurface = Enum.SurfaceType.Smooth
  3005. Part188.TopSurface = Enum.SurfaceType.Smooth
  3006. Part188.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3007. Part188.Position = Vector3.new(16.8364105, 2.02557707, -288.562683)
  3008. Part188.Orientation = Vector3.new(0, 0, 180)
  3009. Part188.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3010. BlockMesh189.Parent = Part188
  3011. BlockMesh189.Scale = Vector3.new(0.664999902, 1, 0.375)
  3012. BlockMesh189.Scale = Vector3.new(0.664999902, 1, 0.375)
  3013. Part190.Parent = Tool0
  3014. Part190.BrickColor = BrickColor.new("Black")
  3015. Part190.Rotation = Vector3.new(-170.539993, 0, 0)
  3016. Part190.Anchored = true
  3017. Part190.CanCollide = false
  3018. Part190.FormFactor = Enum.FormFactor.Custom
  3019. Part190.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012)
  3020. Part190.CFrame = CFrame.new(16.8364105, 2.10857725, -288.407684, 1, 0, -0, 0, -0.986393929, 0.164399043, 0, -0.164399043, -0.986393929)
  3021. Part190.BottomSurface = Enum.SurfaceType.Smooth
  3022. Part190.TopSurface = Enum.SurfaceType.Smooth
  3023. Part190.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3024. Part190.Position = Vector3.new(16.8364105, 2.10857725, -288.407684)
  3025. Part190.Orientation = Vector3.new(-9.46000004, -180, 180)
  3026. Part190.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3027. BlockMesh191.Parent = Part190
  3028. BlockMesh191.Scale = Vector3.new(0.475000113, 0.0249999985, 1)
  3029. BlockMesh191.Scale = Vector3.new(0.475000113, 0.0249999985, 1)
  3030. Part192.Parent = Tool0
  3031. Part192.BrickColor = BrickColor.new("CGA brown")
  3032. Part192.Rotation = Vector3.new(-90, 0, -90)
  3033. Part192.Anchored = true
  3034. Part192.CanCollide = false
  3035. Part192.FormFactor = Enum.FormFactor.Custom
  3036. Part192.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3037. Part192.CFrame = CFrame.new(16.8364105, 1.9785769, -290.087708, 0, 1, 0, 0, 0, 1, 1, 0, 0)
  3038. Part192.BottomSurface = Enum.SurfaceType.Smooth
  3039. Part192.TopSurface = Enum.SurfaceType.Smooth
  3040. Part192.Color = Color3.new(0.666667, 0.333333, 0)
  3041. Part192.Position = Vector3.new(16.8364105, 1.9785769, -290.087708)
  3042. Part192.Orientation = Vector3.new(-90, -90, 0)
  3043. Part192.Color = Color3.new(0.666667, 0.333333, 0)
  3044. CylinderMesh193.Parent = Part192
  3045. CylinderMesh193.Scale = Vector3.new(0.625000119, 0.774999797, 0.625)
  3046. CylinderMesh193.Scale = Vector3.new(0.625000119, 0.774999797, 0.625)
  3047. Part194.Parent = Tool0
  3048. Part194.BrickColor = BrickColor.new("Black")
  3049. Part194.Anchored = true
  3050. Part194.CanCollide = false
  3051. Part194.FormFactor = Enum.FormFactor.Custom
  3052. Part194.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3053. Part194.CFrame = CFrame.new(16.8364105, 2.18857718, -291.455688, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3054. Part194.BottomSurface = Enum.SurfaceType.Smooth
  3055. Part194.TopSurface = Enum.SurfaceType.Smooth
  3056. Part194.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3057. Part194.Position = Vector3.new(16.8364105, 2.18857718, -291.455688)
  3058. Part194.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3059. SpecialMesh195.Parent = Part194
  3060. SpecialMesh195.Scale = Vector3.new(0.250000149, 0.274999976, 0.5)
  3061. SpecialMesh195.MeshType = Enum.MeshType.Wedge
  3062. SpecialMesh195.Scale = Vector3.new(0.250000149, 0.274999976, 0.5)
  3063. Part196.Parent = Tool0
  3064. Part196.BrickColor = BrickColor.new("CGA brown")
  3065. Part196.Anchored = true
  3066. Part196.CanCollide = false
  3067. Part196.FormFactor = Enum.FormFactor.Custom
  3068. Part196.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3069. Part196.CFrame = CFrame.new(16.8364105, 2.10057688, -288.187683, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3070. Part196.BottomSurface = Enum.SurfaceType.Smooth
  3071. Part196.TopSurface = Enum.SurfaceType.Smooth
  3072. Part196.Color = Color3.new(0.666667, 0.333333, 0)
  3073. Part196.Position = Vector3.new(16.8364105, 2.10057688, -288.187683)
  3074. Part196.Color = Color3.new(0.666667, 0.333333, 0)
  3075. SpecialMesh197.Parent = Part196
  3076. SpecialMesh197.Scale = Vector3.new(0.724999905, 0.25, 0.375)
  3077. SpecialMesh197.MeshType = Enum.MeshType.Wedge
  3078. SpecialMesh197.Scale = Vector3.new(0.724999905, 0.25, 0.375)
  3079. Part198.Parent = Tool0
  3080. Part198.BrickColor = BrickColor.new("Black")
  3081. Part198.Rotation = Vector3.new(-90, 0, 0)
  3082. Part198.Anchored = true
  3083. Part198.CanCollide = false
  3084. Part198.FormFactor = Enum.FormFactor.Custom
  3085. Part198.Size = Vector3.new(0.200000003, 0.25, 0.200000003)
  3086. Part198.CFrame = CFrame.new(16.8364105, 2.08557701, -291.529694, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  3087. Part198.BottomSurface = Enum.SurfaceType.Smooth
  3088. Part198.TopSurface = Enum.SurfaceType.Smooth
  3089. Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3090. Part198.Position = Vector3.new(16.8364105, 2.08557701, -291.529694)
  3091. Part198.Orientation = Vector3.new(-90, 0, 0)
  3092. Part198.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3093. CylinderMesh199.Parent = Part198
  3094. CylinderMesh199.Scale = Vector3.new(0.375, 1, 0.375)
  3095. CylinderMesh199.Scale = Vector3.new(0.375, 1, 0.375)
  3096. Part200.Parent = Tool0
  3097. Part200.BrickColor = BrickColor.new("Black")
  3098. Part200.Anchored = true
  3099. Part200.CanCollide = false
  3100. Part200.FormFactor = Enum.FormFactor.Custom
  3101. Part200.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3102. Part200.CFrame = CFrame.new(16.8364105, 2.34657717, -288.697693, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3103. Part200.BottomSurface = Enum.SurfaceType.Smooth
  3104. Part200.TopSurface = Enum.SurfaceType.Smooth
  3105. Part200.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3106. Part200.Position = Vector3.new(16.8364105, 2.34657717, -288.697693)
  3107. Part200.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3108. SpecialMesh201.Parent = Part200
  3109. SpecialMesh201.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3110. SpecialMesh201.Scale = Vector3.new(0.0399999991, 0.0399999991, 0.075000003)
  3111. SpecialMesh201.MeshType = Enum.MeshType.FileMesh
  3112. SpecialMesh201.Scale = Vector3.new(0.0399999991, 0.0399999991, 0.075000003)
  3113. Part202.Parent = Tool0
  3114. Part202.BrickColor = BrickColor.new("Black")
  3115. Part202.Rotation = Vector3.new(-180, 0, -180)
  3116. Part202.Anchored = true
  3117. Part202.CanCollide = false
  3118. Part202.FormFactor = Enum.FormFactor.Custom
  3119. Part202.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3120. Part202.CFrame = CFrame.new(16.8364105, 2.13757706, -288.562683, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3121. Part202.BottomSurface = Enum.SurfaceType.Smooth
  3122. Part202.TopSurface = Enum.SurfaceType.Smooth
  3123. Part202.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3124. Part202.Position = Vector3.new(16.8364105, 2.13757706, -288.562683)
  3125. Part202.Orientation = Vector3.new(0, 180, 0)
  3126. Part202.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3127. SpecialMesh203.Parent = Part202
  3128. SpecialMesh203.Scale = Vector3.new(0.775000095, 0.125, 0.375)
  3129. SpecialMesh203.MeshType = Enum.MeshType.Wedge
  3130. SpecialMesh203.Scale = Vector3.new(0.775000095, 0.125, 0.375)
  3131. ManualWeld204.Name = "Part-to-AimPart Strong Joint"
  3132. ManualWeld204.Parent = Part202
  3133. ManualWeld204.C0 = CFrame.new(0.100000001, -0.100000001, -0.100000001, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3134. ManualWeld204.C1 = CFrame.new(-0.101606369, -0.304009438, -0.121948242, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3135. ManualWeld204.Part0 = Part202
  3136. ManualWeld204.Part1 = Part20
  3137. Part205.Parent = Tool0
  3138. Part205.BrickColor = BrickColor.new("Black")
  3139. Part205.Rotation = Vector3.new(-90, 0, 0)
  3140. Part205.Anchored = true
  3141. Part205.CanCollide = false
  3142. Part205.FormFactor = Enum.FormFactor.Custom
  3143. Part205.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3144. Part205.CFrame = CFrame.new(16.8764095, 2.2375772, -290.252686, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  3145. Part205.BottomSurface = Enum.SurfaceType.Smooth
  3146. Part205.TopSurface = Enum.SurfaceType.Smooth
  3147. Part205.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3148. Part205.Position = Vector3.new(16.8764095, 2.2375772, -290.252686)
  3149. Part205.Orientation = Vector3.new(-90, 0, 0)
  3150. Part205.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3151. CylinderMesh206.Parent = Part205
  3152. CylinderMesh206.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3153. CylinderMesh206.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3154. Part207.Parent = Tool0
  3155. Part207.BrickColor = BrickColor.new("Black")
  3156. Part207.Rotation = Vector3.new(-180, 0, -180)
  3157. Part207.Anchored = true
  3158. Part207.CanCollide = false
  3159. Part207.FormFactor = Enum.FormFactor.Custom
  3160. Part207.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3161. Part207.CFrame = CFrame.new(16.8364105, 2.2125771, -288.637695, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3162. Part207.BottomSurface = Enum.SurfaceType.Smooth
  3163. Part207.TopSurface = Enum.SurfaceType.Smooth
  3164. Part207.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3165. Part207.Position = Vector3.new(16.8364105, 2.2125771, -288.637695)
  3166. Part207.Orientation = Vector3.new(0, 180, 0)
  3167. Part207.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3168. SpecialMesh208.Parent = Part207
  3169. SpecialMesh208.Scale = Vector3.new(0.574999928, 0.625, 0.375)
  3170. SpecialMesh208.MeshType = Enum.MeshType.Wedge
  3171. SpecialMesh208.Scale = Vector3.new(0.574999928, 0.625, 0.375)
  3172. Part209.Parent = Tool0
  3173. Part209.BrickColor = BrickColor.new("Black")
  3174. Part209.Rotation = Vector3.new(0, 0, -180)
  3175. Part209.Anchored = true
  3176. Part209.CanCollide = false
  3177. Part209.FormFactor = Enum.FormFactor.Custom
  3178. Part209.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3179. Part209.CFrame = CFrame.new(16.8364105, 2.28157711, -292.220703, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3180. Part209.BottomSurface = Enum.SurfaceType.Smooth
  3181. Part209.TopSurface = Enum.SurfaceType.Smooth
  3182. Part209.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3183. Part209.Position = Vector3.new(16.8364105, 2.28157711, -292.220703)
  3184. Part209.Orientation = Vector3.new(0, 0, 180)
  3185. Part209.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3186. BlockMesh210.Parent = Part209
  3187. BlockMesh210.Scale = Vector3.new(0.300000072, 0.300000012, 0.550000072)
  3188. BlockMesh210.Scale = Vector3.new(0.300000072, 0.300000012, 0.550000072)
  3189. Part211.Parent = Tool0
  3190. Part211.BrickColor = BrickColor.new("Black")
  3191. Part211.Rotation = Vector3.new(0, 0, -180)
  3192. Part211.Anchored = true
  3193. Part211.CanCollide = false
  3194. Part211.FormFactor = Enum.FormFactor.Custom
  3195. Part211.Size = Vector3.new(0.200000003, 0.200000003, 1.625)
  3196. Part211.CFrame = CFrame.new(16.8364105, 2.06357694, -289.412689, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3197. Part211.BottomSurface = Enum.SurfaceType.Smooth
  3198. Part211.TopSurface = Enum.SurfaceType.Smooth
  3199. Part211.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3200. Part211.Position = Vector3.new(16.8364105, 2.06357694, -289.412689)
  3201. Part211.Orientation = Vector3.new(0, 0, 180)
  3202. Part211.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3203. BlockMesh212.Parent = Part211
  3204. BlockMesh212.Scale = Vector3.new(0.774999976, 0.874999821, 1)
  3205. BlockMesh212.Scale = Vector3.new(0.774999976, 0.874999821, 1)
  3206. Part213.Parent = Tool0
  3207. Part213.BrickColor = BrickColor.new("Black")
  3208. Part213.Rotation = Vector3.new(0, 0, -180)
  3209. Part213.Anchored = true
  3210. Part213.CanCollide = false
  3211. Part213.FormFactor = Enum.FormFactor.Custom
  3212. Part213.Size = Vector3.new(0.200000003, 0.200000003, 1.54999995)
  3213. Part213.CFrame = CFrame.new(16.8344097, 2.2125771, -289.449677, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3214. Part213.BottomSurface = Enum.SurfaceType.Smooth
  3215. Part213.TopSurface = Enum.SurfaceType.Smooth
  3216. Part213.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3217. Part213.Position = Vector3.new(16.8344097, 2.2125771, -289.449677)
  3218. Part213.Orientation = Vector3.new(0, 0, 180)
  3219. Part213.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3220. BlockMesh214.Parent = Part213
  3221. BlockMesh214.Scale = Vector3.new(0.550000072, 0.62499994, 1)
  3222. BlockMesh214.Scale = Vector3.new(0.550000072, 0.62499994, 1)
  3223. Part215.Parent = Tool0
  3224. Part215.BrickColor = BrickColor.new("Black")
  3225. Part215.Rotation = Vector3.new(-94.5699997, 0, 90)
  3226. Part215.Anchored = true
  3227. Part215.CanCollide = false
  3228. Part215.FormFactor = Enum.FormFactor.Custom
  3229. Part215.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3230. Part215.CFrame = CFrame.new(16.9194088, 2.06457686, -288.981689, 0, -1, -2.98023224e-08, -0.0797571838, -2.97073797e-08, 0.996814251, -0.996814251, 2.37695019e-09, -0.0797571838)
  3231. Part215.BottomSurface = Enum.SurfaceType.Smooth
  3232. Part215.TopSurface = Enum.SurfaceType.Smooth
  3233. Part215.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3234. Part215.Position = Vector3.new(16.9194088, 2.06457686, -288.981689)
  3235. Part215.Orientation = Vector3.new(-85.4300003, -180, -90)
  3236. Part215.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3237. CylinderMesh216.Parent = Part215
  3238. CylinderMesh216.Scale = Vector3.new(0.574999928, 0.0500000045, 0.574999988)
  3239. CylinderMesh216.Scale = Vector3.new(0.574999928, 0.0500000045, 0.574999988)
  3240. Part217.Parent = Tool0
  3241. Part217.BrickColor = BrickColor.new("Black")
  3242. Part217.Anchored = true
  3243. Part217.CanCollide = false
  3244. Part217.FormFactor = Enum.FormFactor.Custom
  3245. Part217.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3246. Part217.CFrame = CFrame.new(16.8364105, 2.1355772, -291.455688, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3247. Part217.BottomSurface = Enum.SurfaceType.Smooth
  3248. Part217.TopSurface = Enum.SurfaceType.Smooth
  3249. Part217.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3250. Part217.Position = Vector3.new(16.8364105, 2.1355772, -291.455688)
  3251. Part217.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3252. BlockMesh218.Parent = Part217
  3253. BlockMesh218.Scale = Vector3.new(0.250000149, 0.25, 0.5)
  3254. BlockMesh218.Scale = Vector3.new(0.250000149, 0.25, 0.5)
  3255. Part219.Parent = Tool0
  3256. Part219.BrickColor = BrickColor.new("CGA brown")
  3257. Part219.Rotation = Vector3.new(-90, 0, 0)
  3258. Part219.Anchored = true
  3259. Part219.CanCollide = false
  3260. Part219.FormFactor = Enum.FormFactor.Custom
  3261. Part219.Size = Vector3.new(0.200000003, 0.570000052, 0.200000003)
  3262. Part219.CFrame = CFrame.new(16.8764095, 2.2375772, -290.565704, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  3263. Part219.BottomSurface = Enum.SurfaceType.Smooth
  3264. Part219.TopSurface = Enum.SurfaceType.Smooth
  3265. Part219.Color = Color3.new(0.666667, 0.333333, 0)
  3266. Part219.Position = Vector3.new(16.8764095, 2.2375772, -290.565704)
  3267. Part219.Orientation = Vector3.new(-90, 0, 0)
  3268. Part219.Color = Color3.new(0.666667, 0.333333, 0)
  3269. CylinderMesh220.Parent = Part219
  3270. CylinderMesh220.Scale = Vector3.new(0.37499997, 1, 0.374999851)
  3271. CylinderMesh220.Scale = Vector3.new(0.37499997, 1, 0.374999851)
  3272. Part221.Parent = Tool0
  3273. Part221.BrickColor = BrickColor.new("Black")
  3274. Part221.Rotation = Vector3.new(-90, 0, 0)
  3275. Part221.Anchored = true
  3276. Part221.CanCollide = false
  3277. Part221.FormFactor = Enum.FormFactor.Custom
  3278. Part221.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3279. Part221.CFrame = CFrame.new(16.7964096, 2.2375772, -290.877686, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  3280. Part221.BottomSurface = Enum.SurfaceType.Smooth
  3281. Part221.TopSurface = Enum.SurfaceType.Smooth
  3282. Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3283. Part221.Position = Vector3.new(16.7964096, 2.2375772, -290.877686)
  3284. Part221.Orientation = Vector3.new(-90, 0, 0)
  3285. Part221.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3286. CylinderMesh222.Parent = Part221
  3287. CylinderMesh222.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3288. CylinderMesh222.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3289. Part223.Parent = Tool0
  3290. Part223.BrickColor = BrickColor.new("Black")
  3291. Part223.Rotation = Vector3.new(-90, 0, 0)
  3292. Part223.Anchored = true
  3293. Part223.CanCollide = false
  3294. Part223.FormFactor = Enum.FormFactor.Custom
  3295. Part223.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3296. Part223.CFrame = CFrame.new(16.8764095, 2.2375772, -290.877686, 1, 0, 2.98023224e-08, -2.98023224e-08, -2.98023224e-08, 1, 0, -1, -2.98023224e-08)
  3297. Part223.BottomSurface = Enum.SurfaceType.Smooth
  3298. Part223.TopSurface = Enum.SurfaceType.Smooth
  3299. Part223.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3300. Part223.Position = Vector3.new(16.8764095, 2.2375772, -290.877686)
  3301. Part223.Orientation = Vector3.new(-90, 0, 0)
  3302. Part223.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3303. CylinderMesh224.Parent = Part223
  3304. CylinderMesh224.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3305. CylinderMesh224.Scale = Vector3.new(0.37499997, 0.274999797, 0.374999851)
  3306. Part225.Parent = Tool0
  3307. Part225.BrickColor = BrickColor.new("Black")
  3308. Part225.Rotation = Vector3.new(0, 0, -180)
  3309. Part225.Anchored = true
  3310. Part225.CanCollide = false
  3311. Part225.FormFactor = Enum.FormFactor.Custom
  3312. Part225.Size = Vector3.new(0.200000003, 0.200000003, 0.375)
  3313. Part225.CFrame = CFrame.new(16.8364105, 1.91257691, -288.787689, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3314. Part225.BottomSurface = Enum.SurfaceType.Smooth
  3315. Part225.TopSurface = Enum.SurfaceType.Smooth
  3316. Part225.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3317. Part225.Position = Vector3.new(16.8364105, 1.91257691, -288.787689)
  3318. Part225.Orientation = Vector3.new(0, 0, 180)
  3319. Part225.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3320. BlockMesh226.Parent = Part225
  3321. BlockMesh226.Scale = Vector3.new(0.775000095, 0.62499994, 1)
  3322. BlockMesh226.Scale = Vector3.new(0.775000095, 0.62499994, 1)
  3323. Part227.Parent = Tool0
  3324. Part227.BrickColor = BrickColor.new("Black")
  3325. Part227.Rotation = Vector3.new(90, 0, 90)
  3326. Part227.Anchored = true
  3327. Part227.CanCollide = false
  3328. Part227.FormFactor = Enum.FormFactor.Custom
  3329. Part227.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3330. Part227.CFrame = CFrame.new(16.8864098, 2.2835772, -288.749695, 0, -1, 0, -3.7252903e-09, 0, -0.999999881, 0.999999881, 0, -3.7252903e-09)
  3331. Part227.BottomSurface = Enum.SurfaceType.Smooth
  3332. Part227.TopSurface = Enum.SurfaceType.Smooth
  3333. Part227.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3334. Part227.Position = Vector3.new(16.8864098, 2.2835772, -288.749695)
  3335. Part227.Orientation = Vector3.new(89.9700012, 180, -90)
  3336. Part227.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3337. CylinderMesh228.Parent = Part227
  3338. CylinderMesh228.Scale = Vector3.new(0.750000119, 0.0749999806, 0.725000024)
  3339. CylinderMesh228.Scale = Vector3.new(0.750000119, 0.0749999806, 0.725000024)
  3340. Part229.Parent = Tool0
  3341. Part229.BrickColor = BrickColor.new("Black")
  3342. Part229.Rotation = Vector3.new(-45, 0, 0)
  3343. Part229.Anchored = true
  3344. Part229.CanCollide = false
  3345. Part229.FormFactor = Enum.FormFactor.Custom
  3346. Part229.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3347. Part229.CFrame = CFrame.new(16.8364105, 1.83257699, -289.104706, 0.99999994, -0, 0, 0, 0.707129002, 0.707084537, 0, -0.707084537, 0.707129002)
  3348. Part229.BottomSurface = Enum.SurfaceType.Smooth
  3349. Part229.TopSurface = Enum.SurfaceType.Smooth
  3350. Part229.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3351. Part229.Position = Vector3.new(16.8364105, 1.83257699, -289.104706)
  3352. Part229.Orientation = Vector3.new(-45, 0, 0)
  3353. Part229.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3354. SpecialMesh230.Parent = Part229
  3355. SpecialMesh230.Scale = Vector3.new(0.175000161, 0.162499994, 0.412500024)
  3356. SpecialMesh230.MeshType = Enum.MeshType.Wedge
  3357. SpecialMesh230.Scale = Vector3.new(0.175000161, 0.162499994, 0.412500024)
  3358. Part231.Parent = Tool0
  3359. Part231.BrickColor = BrickColor.new("Black")
  3360. Part231.Rotation = Vector3.new(0, 0, -180)
  3361. Part231.Anchored = true
  3362. Part231.CanCollide = false
  3363. Part231.FormFactor = Enum.FormFactor.Custom
  3364. Part231.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3365. Part231.CFrame = CFrame.new(16.8364105, 2.25757718, -290.877686, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3366. Part231.BottomSurface = Enum.SurfaceType.Smooth
  3367. Part231.TopSurface = Enum.SurfaceType.Smooth
  3368. Part231.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3369. Part231.Position = Vector3.new(16.8364105, 2.25757718, -290.877686)
  3370. Part231.Orientation = Vector3.new(0, 0, 180)
  3371. Part231.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3372. BlockMesh232.Parent = Part231
  3373. BlockMesh232.Scale = Vector3.new(0.425000042, 0.174999893, 0.274999917)
  3374. BlockMesh232.Scale = Vector3.new(0.425000042, 0.174999893, 0.274999917)
  3375. Part233.Parent = Tool0
  3376. Part233.BrickColor = BrickColor.new("Black")
  3377. Part233.Rotation = Vector3.new(0, 0, -180)
  3378. Part233.Anchored = true
  3379. Part233.CanCollide = false
  3380. Part233.FormFactor = Enum.FormFactor.Custom
  3381. Part233.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  3382. Part233.CFrame = CFrame.new(16.8364105, 2.29557729, -290.195709, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3383. Part233.BottomSurface = Enum.SurfaceType.Smooth
  3384. Part233.TopSurface = Enum.SurfaceType.Smooth
  3385. Part233.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3386. Part233.Position = Vector3.new(16.8364105, 2.29557729, -290.195709)
  3387. Part233.Orientation = Vector3.new(0, 0, 180)
  3388. Part233.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3389. BlockMesh234.Parent = Part233
  3390. BlockMesh234.Scale = Vector3.new(0.674999952, 0.24999994, 0.199999988)
  3391. BlockMesh234.Scale = Vector3.new(0.674999952, 0.24999994, 0.199999988)
  3392. Part235.Parent = Tool0
  3393. Part235.BrickColor = BrickColor.new("Black")
  3394. Part235.Rotation = Vector3.new(0, 0, -180)
  3395. Part235.Anchored = true
  3396. Part235.CanCollide = false
  3397. Part235.FormFactor = Enum.FormFactor.Custom
  3398. Part235.Size = Vector3.new(0.200000003, 0.200000003, 1.42499995)
  3399. Part235.CFrame = CFrame.new(16.8364105, 1.93857694, -289.312653, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  3400. Part235.BottomSurface = Enum.SurfaceType.Smooth
  3401. Part235.TopSurface = Enum.SurfaceType.Smooth
  3402. Part235.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3403. Part235.Position = Vector3.new(16.8364105, 1.93857694, -289.312653)
  3404. Part235.Orientation = Vector3.new(0, 0, 180)
  3405. Part235.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3406. SpecialMesh236.Parent = Part235
  3407. SpecialMesh236.Scale = Vector3.new(0.774999976, 0.375, 1)
  3408. SpecialMesh236.MeshType = Enum.MeshType.Wedge
  3409. SpecialMesh236.Scale = Vector3.new(0.774999976, 0.375, 1)
  3410. Part237.Name = "Mag"
  3411. Part237.Parent = Tool0
  3412. Part237.BrickColor = BrickColor.new("Black")
  3413. Part237.Rotation = Vector3.new(7, 0, 0)
  3414. Part237.Anchored = true
  3415. Part237.CanCollide = false
  3416. Part237.FormFactor = Enum.FormFactor.Custom
  3417. Part237.Size = Vector3.new(0.200000003, 0.300000012, 0.375)
  3418. Part237.CFrame = CFrame.new(16.8364105, 1.87957692, -289.558685, 1, 0, 0, 0, 0.992546141, -0.121869348, 0, 0.121869348, 0.992546141)
  3419. Part237.BottomSurface = Enum.SurfaceType.Smooth
  3420. Part237.TopSurface = Enum.SurfaceType.Smooth
  3421. Part237.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3422. Part237.Position = Vector3.new(16.8364105, 1.87957692, -289.558685)
  3423. Part237.Orientation = Vector3.new(7, 0, 0)
  3424. Part237.Color = Color3.new(0.105882, 0.164706, 0.207843)
  3425. BlockMesh238.Parent = Part237
  3426. BlockMesh238.Scale = Vector3.new(0.699999988, 1, 1)
  3427. BlockMesh238.Scale = Vector3.new(0.699999988, 1, 1)
  3428. for i,v in pairs(mas:GetChildren()) do
  3429. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3430. pcall(function() v:MakeJoints() end)
  3431. end
  3432. mas:Destroy()
  3433. for i,v in pairs(cors) do
  3434. spawn(function()
  3435. pcall(v)
  3436. end)
  3437. end
  3438.  
  3439.  
  3440. Services = setmetatable({},{__index=function(s,r) return game:service(r) end})
  3441. Player = Services.Players.LocalPlayer
  3442. wait()script.Parent=nil
  3443. BodyParts={}
  3444. abs = function(int)
  3445. if int < 0 then return -int else return int end
  3446. end
  3447. rad = function(deg)
  3448. return deg * math.pi / 180
  3449. end
  3450. deg = function(rad)
  3451. return rad * 180 / math.pi
  3452. end
  3453. dist = function(p1,p2)
  3454. r,e = ypcall(function()
  3455. p1 = p1.Position
  3456. end)
  3457. if not r then p1 = p1 end
  3458. r,e = ypcall(function()
  3459. p2 = p2.Position
  3460. end)
  3461. if not r then p1 = p1 end
  3462. return math.sqrt( (p2.X-p1.X)^2 + (p2.Y-p1.Y)^2 + (p2.Z-p1.Z)^2 )
  3463. end
  3464.  
  3465. function GetChar()
  3466. return Player.Character
  3467. end
  3468. function GetHum()
  3469. for i,v in pairs(GetChar():children'') do
  3470. if v.ClassName == 'Humanoid' then
  3471. return v
  3472. end
  3473. end
  3474. end
  3475.  
  3476. function Died()
  3477. for i,v in pairs(GetChar():children'') do
  3478. if v.ClassName == 'Part' then
  3479. table.insert(BodyParts,{v.CFrame,v})
  3480. elseif v.ClassName == 'Hat' then
  3481. v.Parent=workspace
  3482. table.insert(BodyParts,{v.Handle.CFrame,v.Handle,1})
  3483. end
  3484. end
  3485.  
  3486. wait(3)
  3487. for i,v in pairs(BodyParts) do
  3488. v[2].Anchored=true
  3489. if v[2].Name == 'Torso' then pos = v[1] end
  3490. end
  3491.  
  3492. for i,v in pairs(BodyParts) do
  3493. coroutine.resume(coroutine.create(function()
  3494. repeat Services.RunService.Heartbeat:wait()
  3495. v[2].CFrame = v[2].CFrame:lerp(v[1],.1)
  3496. until dist(v[2],v[1]) < .05
  3497. v[2].CFrame=v[1]
  3498. end))
  3499. end
  3500. end
  3501.  
  3502. Player.CharacterAdded:connect(function(char)
  3503. char:WaitForChild('Torso')
  3504. for i,v in pairs(BodyParts) do
  3505. if v[3] then
  3506. v[2]:Remove()
  3507. end
  3508. end
  3509. BodyParts={}
  3510. char.Torso.CFrame=pos or CFrame.new(0,12,0)
  3511. GetHum().Died:connect(Died)
  3512. end)
  3513. GetHum().Died:connect(Died)
  3514. print'rannering'
  3515.  
  3516. r2 = "Cyan"
  3517.  
  3518. --declarations
  3519. PI=math.pi
  3520. TAU=PI*2
  3521. DEBRIS=game:service'Debris'
  3522. mr,md=math.random,math.rad
  3523. cfn,v3n=CFrame.new,Vector3.new
  3524. _A=nil
  3525. ang=function(x,y,z)local a=CFrame.Angles(x or 0,y or 0,z or 0)_A=a return a end
  3526. RS=game:service'RunService'
  3527. numkp=NumberSequenceKeypoint.new
  3528. colkp=ColorSequenceKeypoint.new
  3529. bcol=BrickColor.new
  3530.  
  3531. RS:UnbindFromRenderStep('Anim')
  3532.  
  3533. --player specific...
  3534. player = game:service'Players'.LocalPlayer
  3535. character = player.Character
  3536. torso = character.Torso
  3537. head = character.Head
  3538. rarm = character['Right Arm']
  3539. larm = character['Left Arm']
  3540. rleg = character['Right Leg']
  3541. rleg = character['Left Leg']
  3542. human = character.Humanoid
  3543.  
  3544. --Utilities... who needs them?
  3545.  
  3546. function recurseHum(what)
  3547. local res
  3548. local p=what
  3549. if what:IsA'Humanoid'then
  3550. res=what
  3551. else
  3552. repeat
  3553. p=p.Parent
  3554. if p then
  3555. local hum=p:FindFirstChild'Humanoid'
  3556. if hum then
  3557. res=hum
  3558. break
  3559. end
  3560. end
  3561. until p==nil
  3562. end
  3563. return res
  3564. end
  3565. function findHum(pos,rad,hum2)
  3566. local hums={}
  3567. function check(a)
  3568. local res=false
  3569. for i,ho in pairs(hums)do
  3570. if a==ho then res=true end
  3571. end
  3572. return res
  3573. end
  3574. for i,v in pairs(Workspace:children())do
  3575. if v:IsA'Model'and v~=Char and v~=(hum2 or Char) then
  3576. for i,q in pairs(v:children())do
  3577. if q:IsA'Humanoid' and q.Parent:FindFirstChild'Torso'and(q.Torso.Position-pos).magnitude < rad then
  3578. if not check(q)then
  3579. table.insert(hums,q)
  3580. end
  3581. end
  3582. end
  3583. end
  3584. end
  3585. return hums
  3586. end
  3587.  
  3588. function checkY(p1,p2,range,range2)
  3589. local function checko()
  3590. return ( (l(p1).X>l(p2).X-range2 and l(p1).X<l(p2).X+range2) and (l(p1).Z>l(p2).Z-range2 and l(p1).Z<l(p2).Z+range2) )
  3591. end
  3592. if range2 then
  3593. return (l(p1).Y > l(p2).Y-range and l(p2).Y < l(p2).Y+range) and checko()
  3594. else
  3595. return (l(p1).Y > l(p2).Y-range and l(p2).Y < l(p2).Y+range)
  3596. end
  3597. end
  3598.  
  3599. udim=function(a,b,c,d)
  3600. if type(a)=='string'then
  3601. x,y=tostring(a):match('([%+%d%.%-%/%*]+),([%+%d%.%-%/%*]+)')
  3602. return UDim2.new(x or 0,x2 or 0,y or 0,y2 or 0)
  3603. else
  3604. return UDim2.new(a or 0,c or 0,b or 0,d or 0)
  3605. end end
  3606.  
  3607. function l(a1,x,y,z,rx,ry,rz)
  3608. local cf
  3609. if tostring(a1):find(',') == nil then
  3610. cf=a1.CFrame
  3611. else cf=a1 end
  3612. return cf*CFrame.new(x or 0,y or 0,z or 0)*CFrame.Angles(
  3613. rx or 0,ry or 0,yz or 0)
  3614. end
  3615. function f(a) --turns thigns in to function returning the thing... f(l)(torso,0,2,0)
  3616. return function(...)
  3617. local args={...}
  3618. return function() return a(unpack(args)) end
  3619. end
  3620. end
  3621.  
  3622. function isIn(what,tab) --returns true if what is in tab. isIn("Troll", {"Tomato", "Troll", "Strawberry") --> true
  3623. local res=false
  3624. for i,v in next,tab do
  3625. if v==what then
  3626. res = true
  3627. break
  3628. end
  3629. end
  3630. return res
  3631. end
  3632.  
  3633. Weld = function(part0,part1,c0,c1,...) --over-engineered welding function which accepts many things
  3634. local ar = {...}
  3635. local cframe0,cframe1
  3636. local function checkf()local res=true
  3637. for i,v in pairs(ar)do
  3638. if type(v) ~= 'number' then
  3639. res=false
  3640. end
  3641. end
  3642. return res
  3643. end
  3644. if type(c0) == 'table' then
  3645. cframe0 = CFrame.new(c0[1] or 0, c0[2] or 0, c0[3] or 0) * CFrame.Angles(
  3646. c0[4] or 0, c0[5] or 0, c0[6] or 0)
  3647. elseif type(c0) == 'userdata' then
  3648. cframe0 = c0
  3649. elseif type(c0) == 'number' and checkf() then
  3650. cframe0 = CFrame.new(c0 or 0,c1 or 0,ar[1] or 0) * CFrame.Angles(ar[2] or 0, ar[3] or 0, ar[4] or 0)
  3651. end
  3652. if type(c1) == 'table' then
  3653. cframe1 = CFrame.new(c1[1] or 0, c1[2] or 0, c1[3] or 0) * CFrame.Angles(
  3654. c1[4] or 0, c1[5] or 0, c1[6] or 0)
  3655. elseif type(c1) == 'userdata' then
  3656. cframe1 = c1
  3657. elseif type(c1) == 'number' and (not c0 or (c0 and type(c0) == 'table')) then
  3658. cframe1 = CFrame.new(c1 or 0, ar[1] or 0, ar[2] or 0) * CFrame.Angles(ar[3] or 0, ar[4] or 0, ar[5] or 0)
  3659. end
  3660. for i,v in pairs(ar)do
  3661. if type(v) == 'table' then
  3662. cframe1 = CFrame.new(v[1] or 0, v[2] or 0, v[3] or 0) * CFrame.new(v[4] or 0, v[5] or 0, v[6] or 0)
  3663. elseif type(v) == 'userdata' then
  3664. cframe1 = v
  3665. end
  3666. end
  3667.  
  3668. cframe0,cframe1 = cframe1,cframe0
  3669. part0.Position=part1.Position
  3670. local weld = Instance.new("Weld")
  3671. weld.Part0 = part0
  3672. weld.Part1 = part1
  3673. weld.C0 = cframe0 or CFrame.new()
  3674. weld.C1 = cframe1 or CFrame.new()
  3675. if weld:IsA'Motor'then weld.MaxVelocity = set_maxvel or .1 end
  3676. weld.Parent = part0
  3677. _2=weld
  3678. return weld
  3679. end
  3680.  
  3681. mesh_ids = {
  3682. spikeball = "rbxassetid://24388358";
  3683. spike = "rbxassetid://1033714";
  3684. ring = "rbxassetid://3270017";
  3685. coil = 'rbxassetid://16606212';
  3686. diamond = 'rbxassetid://9756362';
  3687. rock = 'rbxassetid://1290033';
  3688. gear = 'rbxassetid://156292343';
  3689. crown = 'rbxassetid://20329976';
  3690. orb = 'rbxassetid://34795798';
  3691. heart = 'rbxassetid://431221914';
  3692. dragon = 'rbxassetid://24478215';
  3693. half_sphere = 'rbxassetid://475668276'
  3694. }
  3695. mesh_texs = {
  3696. rock = 'rbxassetid://1290030';
  3697. dragon = 'rbxassetid://25665033';
  3698. }
  3699. mesh_scales={
  3700. diamond = v3n(0.75, 0.75, 0.75);
  3701. spikeball = v3n(1.05, 1.05, 1.05);
  3702. spike = v3n(0.5, 1.5, 0.5);
  3703. gear = v3n(1.25,1.25,18);
  3704. ring = v3n(1, 1, 6);
  3705. coil = v3n(0.5, 0.5, 0.3);
  3706. crown = v3n(0.6, 0.6, 0.6);
  3707. orb = v3n(1, 1, 1);
  3708. heart = v3n(0.25, 0.25, 0.4);
  3709. dragon = v3n(0.4, 0.5, 0.4);
  3710. half_sphere= v3n(0.005, 0.01, 0.005)
  3711. }
  3712. mesh_offsets={
  3713. crown = v3n(0,.15,0);
  3714. }
  3715.  
  3716. function bindMesh(mesh,Size)
  3717. local mesh_name
  3718. local size=Size or mesh.Parent.Size
  3719. for name,id in next,mesh_ids do
  3720. if mesh.MeshId==id then
  3721. mesh_name=name
  3722. end
  3723. end
  3724.  
  3725. if not mesh_name then return end
  3726. local mesh=mesh
  3727. local con
  3728. con=mesh.Parent.Changed:connect(function()
  3729. local siz=mesh.Parent.Size
  3730. mesh.Scale=siz*mesh_scales[mesh_name]
  3731. if mesh_offsets[mesh_name] then
  3732. mesh.Offset=siz*mesh_offsets[mesh_name]
  3733. end
  3734. end)
  3735. return con
  3736. end
  3737. Mesh = function(parent,id,sx,sy,sz)
  3738. local name = ( (id == 'cyl' and 'CylinderMesh') or (id == 'bl' and 'BlockMesh') or 'SpecialMesh')
  3739. local mesh = Instance.new(name)
  3740. if id == 's' then
  3741. mesh.MeshType = Enum.MeshType.Sphere
  3742. elseif id == 'w' then
  3743. mesh.MeshType = Enum.MeshType.Wedge
  3744. elseif id == 'h' then
  3745. mesh.MeshType = Enum.MeshType.Head
  3746. elseif string.find(id,"://") ~= nil then
  3747. mesh.MeshId = id
  3748. end
  3749. mesh.Scale = Vector3.new(sx or 1, sy or 1, sz or 1)
  3750. mesh.Parent = parent
  3751. _3=mesh
  3752. return mesh
  3753. end
  3754.  
  3755. Edit = function(what)
  3756. return function(args)
  3757. for ind,obj in next,what do
  3758. for arg,val in next,args do
  3759. local child,argu = arg:match"(.+)%.(.+)"
  3760. if child and argu then
  3761. if pcall(function()return obj[child][argu] end) then
  3762. obj[child][argu]=val
  3763. end
  3764. else
  3765. if arg=='_F'then
  3766. val(ind,obj)
  3767. elseif pcall(function()return obj[arg]end) then
  3768. obj[arg]=val
  3769. end
  3770. end
  3771. end
  3772. end
  3773. end
  3774. end
  3775. New = function(what) --Synthetic caffeine for Instance.new
  3776. local obj
  3777. if type(what) ~= 'string' then
  3778. obj=what:Clone()
  3779. else
  3780. obj=Instance.new(what)
  3781. end
  3782. if what=='Weld' then obj.Name='mujoint'end
  3783. return function(bar)
  3784. for arg,val in pairs(bar) do
  3785. if arg == "_P" then
  3786. obj.Parent = val
  3787. elseif arg=="_PP" then
  3788. obj.Part0=val[1]
  3789. obj.Part1=val[2]
  3790. elseif arg=='_F'then
  3791. val(obj)
  3792. else
  3793. if pcall(function()return obj[arg] end) then
  3794. obj[arg]=val
  3795. end
  3796. end
  3797. end _4=obj
  3798. return obj
  3799. end
  3800. end
  3801.  
  3802. set_parent,set_material=nil,nil
  3803. set_maxvel,set_anchor=nil,nil
  3804. set_collide=false
  3805.  
  3806. pcall(function() character['Knight']:Destroy() end) --removes old model.
  3807. Main = New"Model"{_P=character;Name = 'Knight'}
  3808.  
  3809. _1,_2,_3,_4,_5,_6,_7,_8 = nil,nil,nil,nil,nil,nil,nil
  3810. Part = function(x,y,z,col,tr)
  3811. local p = New"Part"{
  3812. _P=set_parent or ears or Main;
  3813. BrickColor = BrickColor.new(col or set_color or "White");
  3814. CanCollide = set_collide;
  3815. Transparency = tr or 0;
  3816. Size = Vector3.new(x or 0,y or 0,z or 0);
  3817. Material = set_material or 'SmoothPlastic';
  3818. Anchored = (set_anchor~=nil and set_anchor or false)
  3819. }
  3820. for _,sur in next,Enum.NormalId:GetEnumItems() do
  3821. p[sur.Name..'Surface'] = 10
  3822. end
  3823. _1 = p
  3824. return p
  3825. end
  3826.  
  3827. function platefy(part)
  3828. local x,z=part.Size.x,part.Size.z
  3829. local y=part.Size.y
  3830. local list={}
  3831. --Cylinders...
  3832. local p2=Part(y,x,y)Mesh(_1,'cyl') table.insert(list,_1)
  3833. Weld(p2,p,0,0,-z/2,PI/2,0,PI/2)
  3834.  
  3835. local p2=Part(y,x,y)Mesh(_1,'cyl') table.insert(list,_1)
  3836. Weld(p2,p,0,0,z/2,PI/2,0,PI/2)
  3837.  
  3838. local p2=Part(y,z,y)Mesh(_1,'cyl') table.insert(list,_1)
  3839. Weld(p2,p,x/2,0,0,PI/2)
  3840.  
  3841. local p2=Part(y,z,y)Mesh(_1,'cyl') table.insert(list,_1)
  3842. Weld(p2,p,-x/2,0,0,PI/2)
  3843.  
  3844. --Balls...
  3845. local p2=Part(y,y,y)Mesh(p2,'s') table.insert(list,_1)
  3846. Weld(p2,p,-x/2,0,-z/2)
  3847.  
  3848. local p2=Part(y,y,y)Mesh(p2,'s') table.insert(list,_1)
  3849. Weld(p2,p,-x/2,0,z/2)
  3850.  
  3851. local p2=Part(y,y,y)Mesh(p2,'s') table.insert(list,_1)
  3852. Weld(p2,p,x/2,0,-z/2)
  3853.  
  3854. local p2=Part(y,y,y)Mesh(p2,'s') table.insert(list,_1)
  3855. Weld(p2,p,x/2,0,z/2)
  3856.  
  3857. part.Changed:connect(function(prop)
  3858. Edit(list){Material=part.Material;Color=part.Color}
  3859. end)
  3860. end
  3861.  
  3862.  
  3863. function findAllParts(pos,radius)
  3864. local min,max = math.min,math.max
  3865. local list={}
  3866. local pos1,pos2=l(cfn(pos),-radius*3,-radius*3,-radius*3).p,l(cfn(pos),radius*3,radius*3,radius*3).p
  3867. local reg=Region3.new(v3n(min(pos1.x,pos2.x),min(pos1.y,pos2.y),min(pos1.z,pos2.z)),
  3868. v3n(max(pos1.x,pos2.x),max(pos1.y,pos2.y),max(pos1.z,pos2.z)))
  3869. for i,v in pairs(Workspace:FindPartsInRegion3WithIgnoreList(reg,{character})) do
  3870. if (v.Position-pos).magnitude<radius and v.Name~='Base' then
  3871. table.insert(list,v)
  3872. end
  3873. end
  3874. return list
  3875. end
  3876.  
  3877. function forcePose(hum,lim)
  3878. local t=hum.Torso
  3879. local limb_names={'r_leg','l_leg','r_arm','l_arm'}
  3880. if not t then return end
  3881. --Right hip
  3882. local limbs={huma=hum;torso=t;
  3883. revert=function(self)
  3884. for i,v in pairs(self)do
  3885. if isIn(i,limb_names) then
  3886. v.w:Destroy()
  3887. end
  3888. end
  3889. self.huma.HipHeight=0
  3890. self.huma:Move(v3n(0,0,0))
  3891. if self['bg'] then
  3892. self['bg']:Destroy()
  3893. end
  3894. end;
  3895. }
  3896. if t.Parent:FindFirstChild'Right Leg' then
  3897. local invp=Part(1,1,1,'',1)_1.Anchored=false _1.Name='Hourai'_1.Parent=Main
  3898. New"Weld"{_P=invp;_PP={invp,t};C1=cfn(.5,-1.5,0);} --Welded to torso
  3899. local ww=New"Weld"{_P=invp;_PP={t.Parent['Right Leg'],invp};
  3900. C0=cfn(0,.5,0);} --Right leg welded to invisible part
  3901. -- ww.C0=cfn(-.05,0,0)*ang(0,0,md'-90')
  3902. limbs.r_leg={w=ww;n_c0=ww.C0;n_c1=ww.C1}
  3903. end
  3904. --Left hip
  3905. if t.Parent:FindFirstChild'Left Leg' then
  3906. local invp=Part(1,1,1,'',1)_1.Anchored=false _1.Name='Hourai'_1.Parent=Main
  3907. New"Weld"{_P=invp;_PP={invp,t}; C1=cfn(-.5,-1.5,0);}--Welded to torso
  3908. local ww=New"Weld"{_P=invp;_PP={t.Parent['Left Leg'],invp};
  3909. C0=cfn(0,.5,0);} --Right leg welded to invisible part
  3910. -- ww.C0=cfn(.5,0,0)*ang(0,0,md'45')
  3911. limbs.l_leg={w=ww;n_c0=ww.C0;n_c1=ww.C1}
  3912. end
  3913. --Right shoulder
  3914. if t.Parent:FindFirstChild'Right Arm' then
  3915. local invp=Part(1,1,1,'',1)_1.Anchored=false _1.Name='Hourai'_1.Parent=Main
  3916. New"Weld"{_P=invp;_PP={invp,t};C1=cfn(1.5,.5,0)}
  3917. local ww=New"Weld"{_P=invp;_PP={t.Parent['Right Arm'],invp};C0=cfn(0,.5,0)}
  3918. -- ww.C0=cfn(-.15,0,-.5)*ang(md'45',0,md'-35')
  3919. limbs.r_arm={w=ww;n_c0=ww.C0;n_c1=ww.C1}
  3920. end
  3921. --Left shoulder
  3922. if t.Parent:FindFirstChild'Left Arm' then
  3923. local invp=Part(1,1,1,'',1)_1.Anchored=false _1.Name='Hourai'_1.Parent=Main
  3924. New"Weld"{_P=invp;_PP={invp,t};C1=cfn(-1.5,.5,0)}
  3925. local ww=New"Weld"{_P=invp;_PP={t.Parent['Left Arm'],invp};C0=cfn(0,.5,0)}
  3926. -- ww.C0=cfn(.15,0,-.5)*ang(md'45',0,md'35')
  3927. limbs.l_arm={w=ww;n_c0=ww.C0;n_c1=ww.C1}
  3928. end
  3929. if lim then
  3930. for i,v2 in pairs(limbs)do
  3931. if not isIn(i,lim) and type(v2)=='table' then
  3932. -- print(i)
  3933. v2.w.Part1:Destroy()
  3934. limbs[i]=nil
  3935. end
  3936. end end
  3937. return function(tab)
  3938. for i,v in pairs(tab)do
  3939. if i=='hipheight'then limbs['huma'].HipHeight=v end
  3940. if limbs[i] and i ~='hipheight' then
  3941. limbs[i].w.C0=limbs[i].n_c0*(v:inverse())
  3942. end
  3943. end
  3944. return limbs
  3945. end
  3946.  
  3947. end
  3948.  
  3949. --Equipment...
  3950.  
  3951.  
  3952. --Necklace...
  3953. cp=Part(.5,.1,.5,'Black')Mesh(_1,'cyl')
  3954. Weld(cp,torso,0,0,-.55,-PI/2)
  3955.  
  3956. e_parts={}
  3957. for i=0,TAU,TAU/10 do
  3958. Part(.1,.1,.1,'Black')Mesh(_1,'bl',.25,.5,.5)
  3959. New"Weld"{_P=_1;_PP={_1,cp};C1=cfn(0,.11,0)*ang(0,i);C0=cfn(.15,0,0)}
  3960. table.insert(e_parts,_1)
  3961. end
  3962.  
  3963. p=Part(1,.1,.1)Mesh(_1,'bl',1,.5,.5)
  3964. New"Weld"{_P=_1;_PP={p;cp};C1=ang(0,md'90'-md'35');C0=cfn(_1.Size.x/2+.25,0,0)}
  3965.  
  3966. p2=Part(1,.1,.1)Mesh(_1,'bl',1,.5,.5)
  3967. New"Weld"{_P=_1;_PP={_1;p};C1=cfn(-.5,0,0)*ang(md'-5',0,PI/2);C0=cfn(.5,0,0)}
  3968.  
  3969.  
  3970. p=Part(1,.1,.1)Mesh(_1,'bl',1,.5,.5)
  3971. New"Weld"{_P=_1;_PP={p;cp};C1=ang(0,md'90'+md'35');C0=cfn(_1.Size.x/2+.25,0,0)}
  3972.  
  3973. p2=Part(1,.1,.1)Mesh(_1,'bl',1,.5,.5)
  3974. New"Weld"{_P=_1;_PP={_1;p};C1=cfn(-.5,0,0)*ang(md'5',0,PI/2);C0=cfn(.5,0,0)}
  3975.  
  3976. pp=Part(.25,.1,.1)Weld(pp,torso,0,.75,.515)Mesh(_1,'bl',1,.5,.5)
  3977.  
  3978. pp2=Part(.7,.1,.1)New(_3){_P=pp2}
  3979. New"Weld"{_P=pp2;_PP={_1,pp};C1=cfn(.125-.2,0,0)*ang(md'-5',0,md'-30');C0=cfn(_1.Size.x/2,0,0)}
  3980.  
  3981. pp2=Part(.7,.1,.1)New(_3){_P=pp2}
  3982. New"Weld"{_P=pp2;_PP={_1,pp};C1=cfn(-.125+.2,0,0)*ang(md'-5',0,md'30');C0=cfn(-_1.Size.x/2,0,0)}
  3983.  
  3984. eye={parts=e_parts;center=cp;op=function(self,col)Edit(self.parts){Material='Neon';BrickColor=bcol(col or 'Bright red')}end;
  3985. clo=function(self)Edit(self.parts){BrickColor=bcol'Black';Material='SmoothPlastic'}end}
  3986. --/Necklace
  3987.  
  3988. --Bag
  3989.  
  3990.  
  3991. bag=Part(1,1,1,'Brown')Mesh(bag,'rbxassetid://25921854',1.5,1.5,1.5)
  3992. _3.TextureId='rbxassetid://3525940'
  3993. Weld(bag,torso,-1.15,-1.15,-.3,md'-25',0,md'-25')
  3994. --/Bag
  3995. --/Equipment
  3996.  
  3997. --Animation stuff
  3998. tokill={}
  3999. RS:BindToRenderStep('Anim',2000,function() --Mainloop
  4000. for i,v in pairs(Animations)do --execute animations
  4001. v:Exec()
  4002. end
  4003. for i,v in pairs(tokill)do
  4004. if v.Count>0 then
  4005. pcall(function()v.pl.Character:BreakJoints()v.Count=v.Count-1 end)
  4006. else
  4007. table.remove(tokill,i)end
  4008. end
  4009. end)
  4010.  
  4011. do
  4012. local c0 = {
  4013. RightArm = cfn(1,0.5,0),
  4014. LeftArm = cfn(-1,0.5,0),
  4015. RightLeg = cfn(1,-1,0),
  4016. LeftLeg = cfn(-1,-1,0),
  4017. RootJoint = cfn(0,0,0),
  4018. Neck = cfn(0,1,0)
  4019. }
  4020. local c1 = {
  4021. RightArm = cfn(-0.5,0.5,0),
  4022. LeftArm = cfn(0.5,0.5,0),
  4023. RightLeg = cfn(0.5,1,0),
  4024. LeftLeg = cfn(-0.5,1,0),
  4025. RootJoint = cfn(0,0,0),
  4026. Neck = cfn(0,-0.5,0)
  4027. }
  4028.  
  4029. Animations={}
  4030. Joints={}
  4031.  
  4032. Joint={
  4033. new=function(name,weld,c0,c1)
  4034. local joint={
  4035. w=weld;
  4036. part1=weld.Part1;
  4037. n_c0=(c0 or weld.C0);
  4038. n_c1=(c1 or weld.C1);
  4039. name=name;
  4040. previous=weld.C0;
  4041. _can_kf=true;
  4042. }
  4043. joint.keys={};
  4044. function joint:revertToOrig()
  4045. self.w.C0=self.n_c0
  4046. self.w.C1=self.n_c1
  4047. end
  4048. function joint:NewAnim(anim)
  4049. self.keys[anim]={}
  4050. end
  4051. setmetatable(joint,{
  4052. __mul=function(ta,val)
  4053. return ta.n_c0*val
  4054. end;
  4055. })
  4056.  
  4057. getfenv()[name]=joint
  4058. Joints[name]=joint
  4059. return joint
  4060. end
  4061. }
  4062. weld_container=New"Folder"{_P=Main}
  4063.  
  4064. Joint.new('rw',New"Weld"{_P = weld_container;_PP={nil;rarm};
  4065. C0=c0.RightArm; C1=c1.RightArm})
  4066.  
  4067. function eq()
  4068. Joints.rw.w.Part0=torso
  4069. end
  4070. function uneq()
  4071. Joints.rw.w.Part0=nil
  4072. end
  4073.  
  4074. Styles={
  4075. Linear = function(alpha)
  4076. return alpha
  4077. end;
  4078. easeInSine = function(alpha)
  4079. local alpha = (1-math.cos(alpha*(math.pi/2)))
  4080. return alpha
  4081. end;
  4082. easeOutSine = function(alpha)
  4083. alpha = math.sin(alpha*(math.pi/2))
  4084. return alpha
  4085. end;
  4086. easeInOutSine = function(alpha)
  4087. alpha = alpha*2
  4088. if alpha < 1 then
  4089. return 0.5*Styles["easeInSine"](alpha)
  4090. else
  4091. return 0.5*Styles["easeOutSine"](alpha-1)+.5
  4092. end
  4093. end;
  4094.  
  4095. easeInQuadratic = function(alpha)
  4096. alpha = alpha^2
  4097. return alpha
  4098. end;
  4099. easeOutQuadratic = function(alpha)
  4100. _alpha = 1-alpha
  4101. alpha = 1-_alpha*_alpha
  4102. return alpha
  4103. end;
  4104. easeInOutQuadratic = function(alpha)
  4105. alpha = alpha*2
  4106. if alpha < 1 then
  4107. return 0.5*Styles["easeInQuadratic"](alpha)
  4108. else
  4109. return 0.5*Styles["easeOutQuadratic"](alpha-1)+0.5
  4110. end
  4111. end;
  4112.  
  4113. easeInCubic = function(alpha)
  4114. alpha = alpha^3
  4115. return alpha
  4116. end;
  4117. easeOutCubic = function(alpha)
  4118. alpha = 1-alpha
  4119. return 1-alpha^3
  4120. end;
  4121. easeInOutCubic = function(alpha)
  4122. alpha = alpha*2
  4123. if alpha < 1 then
  4124. return 0.5*Styles["easeInCubic"](alpha)
  4125. else
  4126. return 0.5*Styles["easeOutCubic"](alpha-1)+.5
  4127. end
  4128. end;
  4129. }
  4130. function Interpolate(Type,p0,p1)
  4131. local Data = {Style = Styles[Type],PointA = p0,PointB = p1}
  4132. return function(Perc)
  4133. local Perc = Data.Style(Perc)
  4134. return Data.PointA:lerp(Data.PointB,Perc)
  4135. end
  4136. end
  4137. -- Interpolate('easeInSine',CFrame.new(0,0,0),CFrame.new(10,10,10))(.5)
  4138. -- error('script end')
  4139. function NewLimbAnim(anim)
  4140. for _,v in pairs(Joints)do
  4141. v:NewAnim(anim)
  4142. end
  4143. end
  4144.  
  4145. function reset()
  4146. local cc=newAnim(.5,false,_,true){
  4147. [.5]=init;
  4148. }cc:Play()cc:Wait()cc:Stop()
  4149. for i,v in pairs(Joints)do v:revertToOrig() end
  4150. -- for i,v in pairs(Animations)do v:Stop()end
  4151. end
  4152.  
  4153. words={
  4154. love={"I love you", "Gimme a hug", "You're gonna love me", "Love is \nall we have"}
  4155. }
  4156.  
  4157.  
  4158. function wordParticles(part,category,color,size,speed)
  4159. local list=words[category]
  4160. local bbg=New"BillboardGui"{_P=part;Adornee=part;Size=udim'4,4';AlwaysOnTop=true;}
  4161. while wait(speed/4)do
  4162. local tl=New"TextLabel"{_P=bbg;Size=udim(0,0);
  4163. Text=list[#list];Position=udim(mr(),mr());FontSize=12;
  4164. TextColor3=bcol(color).Color;TextTransparency=.6}
  4165.  
  4166. tl:TweenSizeAndPosition(udim'0,0',udim(math.random(),math.random()),'Out','Quad',speed,false,function()
  4167. tl:Destroy()end)
  4168. end
  4169. end
  4170.  
  4171. function newAnim(lenght,loop,style,strange) --Epic wrapper for epic skids
  4172. local t_len=0
  4173. for i,v in pairs(Animations)do t_len=t_len+1 end
  4174. local name='anim_'..tostring(t_len)
  4175. -- NewLimbAnim(name)
  4176. for _,v in pairs(Joints)do
  4177. v:NewAnim(name)
  4178. end
  4179. local Anim={
  4180. Span=lenght;Loop=false;
  4181. Location=name;
  4182. Count=0;stay=true;
  4183. Keyframes={}; --Aliases
  4184. Playing=false;Loop=false;
  4185. reset_on_loop=true;
  4186. Name=name;
  4187. }
  4188. for i,v in pairs(Joints)do
  4189. Anim.Keyframes[i]=v
  4190. end
  4191. function Anim:Play()
  4192. self.Playing=true
  4193. self.Count=0
  4194. end
  4195. function Anim:Remove()
  4196. Animations[self.Name]=nil
  4197. end
  4198. function Anim:Stop()
  4199. self.Playing=false
  4200. self.Count=0
  4201. -- RevertAll()
  4202. end
  4203. local Time=tick()
  4204. function Anim:Add(Time,limb,c0,c1)
  4205. if Time>self.Span then error"one simply does not travel to future..."end
  4206. local Tab={TimeOfAction=Time,Joint=limb,frame={C0=c0 or self.Keyframes[limb].n_c0,C1=c1 or self.Keyframes[limb].n_c1}}
  4207. table.insert(self.Keyframes[limb].keys[self.Location],Tab)
  4208. table.sort(self.Keyframes[limb].keys[self.Location],function(a,b) return a.TimeOfAction < b.TimeOfAction end)
  4209. end
  4210. function Anim:Exec(smooth)
  4211. local DT=tick()-Time
  4212. Time=tick()
  4213. local First,Current,Next
  4214. if self.Playing then --Check if anim can play
  4215. self.Count=self.Count+DT --it goes up
  4216. if self.Loop then --Reset when at end if loop
  4217. if self.Count >= self.Span then
  4218. self.Count=0
  4219. if self.onCycle then
  4220. self.onCycle(self)
  4221. end
  4222. end
  4223. elseif not self.Loop then
  4224. if self.Count >= self.Span then
  4225. self.Count=self.Span
  4226.  
  4227. if self.onFinish then
  4228. self.onFinish(self)
  4229. end
  4230. end
  4231. end
  4232. for i,v in pairs(self.Keyframes) do
  4233. if v._can_kf then
  4234. for i2,v2 in pairs(v.keys[self.Location]) do --cframes are stored in joints. self.Location is the name of animation
  4235. First,Current,Next = v.keys[self.Location][1],v2,v.keys[self.Location][i2+1]
  4236. if Next ~= nil and self.Count >= Current.TimeOfAction and self.Count <= Next.TimeOfAction then
  4237. local Dis = (Next.TimeOfAction-Current.TimeOfAction)
  4238. local Perc = (self.Count-Current.TimeOfAction)/Dis
  4239. v.w.C0 = Interpolate(style or 'Linear',Current.frame.C0,Next.frame.C0)(Perc)
  4240. v.w.C1 = Interpolate(style or 'Linear',Current.frame.C1,Next.frame.C1)(Perc)
  4241. v.previous = v.w.C0
  4242. end
  4243. end end
  4244. end
  4245. end
  4246. end
  4247. Animations[name]=Anim
  4248. local a=Anim
  4249.  
  4250. if loop~=nil then
  4251. a.Loop=loop
  4252. end
  4253.  
  4254. return function(kfs)
  4255. if not kfs[0] then
  4256. local t={}
  4257. for j,v in pairs(Joints) do
  4258. t[j]=v.previous*(v.n_c0:inverse())
  4259. end
  4260. kfs[0]=t
  4261. end
  4262. a.kfl=kfs
  4263.  
  4264. function a:last()
  4265. local n,o=-1,nil
  4266. for i,v in pairs(self.kfl)do
  4267. if i>n then
  4268. n=i o=v
  4269. if type(o)=='number' then
  4270. o=self.kfl[o]
  4271. end
  4272. end
  4273. end
  4274. return o
  4275. end
  4276. function Anim:Wait(num)
  4277. repeat wait()until self.Count>=(num or self.Span)
  4278. end
  4279. if lenght==0 then
  4280. for i,v in pairs(kfs) do
  4281. a.Span=i
  4282. end
  4283.  
  4284. end
  4285. for tim,kf in pairs(kfs) do
  4286.  
  4287. local kk=kf
  4288. if type(kf) =='number'then
  4289. kk=kfs[kf]
  4290. end
  4291.  
  4292. for j,v in pairs(kk) do
  4293. if not strange then
  4294. a:Add(tim,j, (v == 0 and Joints[j].n_c0 or (Joints[j].n_c0 * v) ))
  4295. else
  4296. a:Add(tim,j, (v == 0 and Joints[j].n_c0 or v ))
  4297. end
  4298. end
  4299. end
  4300. return Anim
  4301. end
  4302. end
  4303.  
  4304. end --Animation stuf... END
  4305.  
  4306. lazor_snd=New"Sound"{_P=Main;SoundId='rbxassetid://147627083';Pitch=.75;Volume=.8}
  4307.  
  4308. found=false
  4309. ra=25
  4310.  
  4311. function rainbow()
  4312. holding=true
  4313. local kfs={}
  4314. local kfs2={}
  4315. local b=true
  4316. for i=0,1,.1 do
  4317. b=not b
  4318. kfs[#kfs+1]=numkp(i,(b and i*5 or (i*5)/2))
  4319. end
  4320. while holding do
  4321. eye:op"White"
  4322. for o=1,3 do
  4323. angle=ang(md(mr(-ra,ra)),md(mr(-ra,ra)))
  4324. stp=l(eye.center)*ang(PI/2)
  4325. enp=l(stp*angle,0,0,-20)
  4326. local obj,pos=Workspace:FindPartOnRay(Ray.new(stp.p,enp.lookVector*20),character)
  4327. if (obj and pos) then
  4328. if obj.Parent.Name~='M_CAR' then
  4329. local siz_x,siz_y,siz_z=obj.Size.x,obj.Size.y,obj.Size.z
  4330. if (siz_x+siz_y+siz_z)/3 < 50 then
  4331. local mag=(stp.p-pos).magnitude
  4332. local r=Part(1,mag,1,'',.5)_1.Anchored=true _1.Color=eye.parts[1].Color
  4333. _1.Material='Neon'
  4334. _1.CFrame=(cfn(stp.p,pos)*cfn(0,0,-mag/2))*ang(PI/2)
  4335.  
  4336. local pp=Part(.1,.1,.1,'',1)--_1.Anchored=true
  4337. _1.CFrame=cfn(l(r,0,-mag/2).p)
  4338.  
  4339. CJ=cfn(pp.Position)
  4340. New"Weld"{_P=pp;_PP={pp,obj};C0=pp.CFrame:inverse()*CJ;
  4341. C1=obj.CFrame:inverse()*CJ}
  4342.  
  4343. New"ParticleEmitter"{_P=pp;
  4344. Size=NumberSequence.new(kfs);
  4345. Transparency=NumberSequence.new{numkp(0,0);numkp(1,1)};
  4346. Color=ColorSequence.new(r.Color);
  4347. VelocitySpread=180;
  4348. LightEmission=1;
  4349. Lifetime=NumberRange.new(.25,2);
  4350. Speed=NumberRange.new(1,4);
  4351. }
  4352.  
  4353.  
  4354. DEBRIS:AddItem(pp,1)
  4355.  
  4356. local hum=recurseHum(obj)
  4357. if hum then hum:TakeDamage(-5)
  4358.  
  4359. end
  4360.  
  4361. DEBRIS:AddItem(r,.1)
  4362. found=true
  4363. end
  4364. end
  4365. end
  4366. end
  4367. wait()
  4368. if found then found=false
  4369. if not lazor_snd.IsPlaying then lazor_snd:Play()
  4370. elseif not found and not lazor_snd.IsPlaying then lazor_snd:Stop()
  4371. end
  4372. end
  4373. end
  4374. lazor_snd:Stop()
  4375. eye:clo()
  4376. end
  4377.  
  4378. function laser(st,en,r)
  4379. total_mag=(st-en).magnitude
  4380. prev=cfn(st)
  4381. local mo=New"Model"{_P=Main}
  4382. set_parent=mo
  4383. local pm={-1,1}
  4384. for i=0,1,.1 do
  4385. local pos=cfn(st):lerp(cfn(en),i)
  4386. local pos2=pos*cfn(pm[mr(#pm)]*r,0,pm[mr(#pm)]*r)
  4387. local mag=(prev.p-pos2.p).magnitude
  4388. local laz=Part(.1,mag,.1,'Cyan',.5)_1.Anchored=true _1.Material='Neon'
  4389. Mesh(_1,'bl',.5,1,.5)
  4390. _1.CFrame=(cfn(prev.p,pos2.p)*cfn(0,0,-mag/2))*ang(PI/2)
  4391. if i>.9 then
  4392. _1.CFrame=(cfn(prev.p,pos2.p)*cfn(0,0,-mag/2))*ang(PI/2)
  4393. end
  4394. prev=pos2
  4395. end
  4396. set_parent=nil
  4397. DEBRIS:AddItem(mo,.025)
  4398. end
  4399.  
  4400. red_snd=New"Sound"{_P=Main;SoundId='rbxassetid://163826750'}
  4401. function red()
  4402. eye:op'Really red'
  4403. local bl=Part(1,1,1,'Black',.75)_1.Material='Neon'
  4404. local bl2=Part(1,1,1,'Bright red',.5)_1.Material='Slate'
  4405. Weld(bl,eye.center)
  4406. Weld(bl2,eye.center)
  4407. local msh=Mesh(bl,'s')
  4408. local ra=20
  4409. local msh2=Mesh(bl2,'s')
  4410. red_snd:Play()
  4411. for i=0,1,.1 do
  4412. msh.Scale=v3n(ra,ra,ra)*i
  4413. msh2.Scale=v3n(ra-1,ra-1,ra-1)*i
  4414. wait()
  4415. end
  4416.  
  4417. local ign=nil
  4418.  
  4419. local humlist={}
  4420. for o=0,3 do
  4421. for i,v in pairs(findHum(torso.Position,ra))do
  4422. if v.Parent~=character then
  4423. for _,v2 in pairs(v.Parent:children())do
  4424. if v2:IsA'Model'then v2:Destroy()
  4425. elseif v2:IsA'Part' and v2.Name~='HumanoidRootPart'then
  4426. v2.Transparency=0
  4427. elseif v2:IsA'BaseScript' and not isIn(v2.Name,{'Animate','Health','Sound'})then
  4428. v2.Disabled=true
  4429. end
  4430. end
  4431. -- v.Health=v.Health-5
  4432. v.Torso.Velocity=cfn(torso.Position,v.Torso.Position).lookVector*100
  4433. Spawn(function()v.PlatformStand=true wait()v.PlatformStand=false end)
  4434. v:UnequipTools()
  4435. local pl=game.Players:GetPlayerFromCharacter(v.Parent)
  4436. ign=v.Parent
  4437. -- pacify(v.Parent)
  4438. if pl then
  4439. -- pl:ClearCharacterAppearance()
  4440. for i,v in pairs(pl.Backpack:children()) do
  4441. if v:IsA'BackpackItem' then
  4442. v:Destroy()
  4443. end
  4444. end
  4445. end end
  4446.  
  4447. end
  4448. end
  4449. for i=1,0,-.1 do
  4450. msh.Scale=v3n(ra,ra,ra)*i
  4451. msh2.Scale=v3n(ra-1,ra-1,ra-1)*i
  4452. wait()
  4453. end
  4454. bl:Destroy()bl2:Destroy()
  4455. eye:clo()
  4456. end
  4457.  
  4458. blue_snd=New"Sound"{_P=Main;SoundId='rbxassetid://314580397'}
  4459.  
  4460. function blue()
  4461. eye:op'Bright blue'
  4462. local poses={}
  4463.  
  4464. local ring=Part(1,1,1,'Bright blue')_1.Anchored=true _1.CFrame=l(torso,0,-2,0,PI/2)
  4465. local msh=Mesh(_1,mesh_ids.ring)
  4466. Spawn(function()
  4467. for i=0,1,.05 do
  4468. msh.Scale=v3n(i*40,i*40,1)
  4469. ring.Transparency=i
  4470. wait()
  4471. end
  4472. ring:Destroy()
  4473. end)
  4474. blue_snd:Play()
  4475. for i,v in pairs(findHum(l(torso).p,30)) do
  4476. if v.Parent~=character then
  4477. local pose=forcePose(v){
  4478. r_arm=cfn(-.4,0,-.5)*ang(md'45',0,md'-45');
  4479. l_arm=cfn(.4,0,-.5)*ang(md'45',0,md'45');
  4480. r_leg=ang(md'-80',0,md'25');
  4481. l_leg=ang(md'-80',0,md'-25');
  4482. hipheight=-.5;
  4483. }
  4484. pose.bg=New"BodyGyro"{_P=v.Torso;maxTorque=v3n(1,1,1)*9e+009;P=900000;cframe=cfn(l(v.Torso).p,l(torso).p)}
  4485. table.insert(poses,pose)
  4486. end end
  4487. local ti=tick()
  4488. if #poses>0 then
  4489. repeat
  4490. for i,v in pairs(poses)do
  4491. if v.bg then
  4492. v.bg.cframe=cfn(v.torso.Position,torso.Position)
  4493. local vec=(torso.Position-v.torso.Position)
  4494. if vec.magnitude>5 then
  4495. v.huma:MoveTo((cfn(torso.Position,v.torso.Position)*cfn(0,0,-5)).p)
  4496. else
  4497. v.huma:Move(v3n(0,0,0))
  4498. end
  4499. end
  4500. end wait()
  4501. until (tick()-ti)>3
  4502. for i,v in pairs(poses)do v:revert() end
  4503. else
  4504. wait'.1'
  4505. end
  4506. eye:clo()
  4507. end
  4508.  
  4509. function green()
  4510. local r=4
  4511. eye:op'Lime green'
  4512. holding=true
  4513. orig_ws=character.Humanoid.WalkSpeed
  4514. character.Humanoid.WalkSpeed=80
  4515. while holding do
  4516. for i=1,3 do
  4517. local p=Part(.1,.1,.1,'Lime green',.5)_1.Material='Neon'
  4518. _1.Anchored=true
  4519. _1.CFrame=l(torso,mr(-r,r),mr(-2,r),mr(-r,r),mr(-4,4),mr(-4,4),mr(-4,4))
  4520. DEBRIS:AddItem(_1,.1)
  4521. end
  4522. wait()
  4523. end
  4524. character.Humanoid.WalkSpeed=orig_ws
  4525. eye:clo()
  4526. end
  4527.  
  4528. function black()
  4529. for i,v in pairs(findHum(l(torso).p,10))do
  4530. if v.Parent~=character then
  4531. local pl=game.Players:GetPlayerFromCharacter(v.Parent)
  4532. if pl then
  4533. tokill[#tokill+1]={pl=pl;Count=4}
  4534. end
  4535. end
  4536. end
  4537. end
  4538.  
  4539. yel_snd=New"Sound"{_P=Main;SoundId='rbxassetid://138111999'}
  4540.  
  4541. function yellow()
  4542. eye:op'New Yeller'
  4543. yel_snd:Play()
  4544. local mod=New"Model"{_P=Workspace;Name='M_CAR'}
  4545. set_parent=mod
  4546. set_collide=true
  4547. cassis=Part(4,.75,6)_1.TopSurface='Weld'
  4548. _1.CFrame=l(torso,0,5,-7)
  4549.  
  4550. vs=New"VehicleSeat"{_P=mod;Size=v3n(2,1,2);CFrame=l(cassis,0,.75/2+.5,0,0,PI);BottomSurface='Weld';
  4551. BrickColor=bcol'Black'}vs.CanCollide=false
  4552. vs.MaxSpeed=7222
  4553.  
  4554. wheel=Part(5,5,5)_1.Shape=0
  4555. _1.RightSurface='Hinge'
  4556. _1.CFrame=l(cassis,-4.5,0,-3)
  4557.  
  4558. wheel2=Part(5,5,5)_1.Shape=0
  4559. _1.RightSurface='Hinge'
  4560. _1.CFrame=l(cassis,4.5,-.25,-3,0,PI)
  4561.  
  4562.  
  4563. wheel3=Part(5,5,5)_1.Shape=0
  4564. _1.RightSurface='Hinge'
  4565. _1.CFrame=l(cassis,-4.5,0,3)
  4566.  
  4567.  
  4568. wheel4=Part(5,5,5)_1.Shape=0
  4569. _1.RightSurface='Hinge'
  4570. _1.CFrame=l(cassis,4.5,-.25,3,0,PI)
  4571.  
  4572. set_collide=false
  4573. for i,v in pairs{wheel,wheel2,wheel3,wheel4}do
  4574. v.Transparency=.9
  4575. v.Material='Neon'
  4576. Part(4,4,4,'New Yeller')
  4577. Mesh(_1,'s')
  4578. Weld(_1,v)
  4579. end
  4580.  
  4581. --Lights...
  4582. kehys=Part(4,2,.1)Weld(_1,cassis,0,.75/2+1,3-.05)
  4583. Part(1,1,.1,'New Yeller')Weld(_1,kehys,-1,0,.1)_1.Material='Neon'
  4584. Part(1,1,.1,'New Yeller')Weld(_1,kehys,1,0,.1)_1.Material='Neon'
  4585.  
  4586.  
  4587. pil=Part(2,6,.1)Weld(_1,cassis,0,.75/2+_1.Size.y/2,-2)
  4588. roof=Part(5,4,.1)New"Weld"{_P=_1;_PP={_1,pil};C1=cfn(0,pil.Size.y/2,0)*ang(-PI/2);C0=cfn(0,_1.Size.y/2,0)}
  4589. local p=Part(5,4-2,.5)Weld(_1,roof,0,0,roof.Size.z/2+.25)
  4590. roof=p
  4591. local p2=Part(5,p.Size.z,1)Mesh(_1,'w')
  4592. Weld(_1,p,0,p.Size.y/2+p2.Size.z/2,0,PI/2)
  4593.  
  4594. local p2=Part(5,p.Size.z,1)Mesh(_1,'w')
  4595. Weld(_1,p,0,-(p.Size.y/2+p2.Size.z/2),0,PI/2,PI)
  4596. local seat=New"Seat"{_P=mod;Size=v3n(1,.2,1);BrickColor=bcol'Black';CanCollide=false}
  4597.  
  4598. Weld(seat,roof,0,0,seat.Size.y/2+roof.Size.z/2,-PI/2,0,PI)
  4599.  
  4600. Part(.1,6,1.5)Mesh(_1,'w')
  4601. Weld(_1,pil,-1-_1.Size.z/2,0,0,PI,PI/2)
  4602.  
  4603. Part(.1,6,_1.Size.z)Mesh(_1,'w')
  4604. Weld(_1,pil,1+_1.Size.z/2,0,0,PI,-PI/2)
  4605.  
  4606. p=Part(4,4,.1,'New Yeller',.75)
  4607. New"Weld"{_P=_1;_PP={_1,kehys};C1=cfn(0,1,0)*ang(-md(15));C0=cfn(0,-2,0)}
  4608.  
  4609. -- Part(2,2,2)Weld(_1,cassis,0,3)
  4610.  
  4611. set_collide=true
  4612.  
  4613. vs.MaxSpeed=80
  4614. mod:MakeJoints()
  4615. set_collide=true
  4616.  
  4617. set_parent=nil
  4618. set_collide=false
  4619.  
  4620. wait(.24)
  4621. eye:clo()
  4622. repeat wait()until yel_snd.TimePosition>=.37
  4623. eye:op'New Yeller'
  4624. repeat wait() until yel_snd.IsPlaying==false
  4625. eye:clo()
  4626. end
  4627.  
  4628. poses={
  4629. pickup={rw=cfn(0,.75,-.5)*ang(md'30',0,md'-60')*cfn(0,-1,0)};
  4630. }
  4631.  
  4632. function reset()
  4633. for _,v in pairs(Joints)do
  4634. v.beg=v.w.C0
  4635. end
  4636. for i=0,1,.1 do
  4637. for _,v in pairs(Joints)do
  4638. v.w.C0=v.beg:lerp(v.n_c0,i)
  4639. end
  4640. wait()
  4641. end
  4642. end
  4643.  
  4644. init={rw=0}
  4645. heart_snd=New"Sound"{_P=Main;SoundId='rbxassetid://130785805'}
  4646. heart_snd2=New"Sound"{_P=Main;SoundId='http://www.roblox.com/Asset/?id=11945266';Pitch=.5}
  4647. heart_snd3=New"Sound"{_P=Main;SoundId='rbxassetid://138014729';Name='Hoo'}
  4648. function white()
  4649. eq()
  4650. pickup.Count=0
  4651. pickup:Play()
  4652. repeat wait() until pickup.Count>=.5
  4653. repeat
  4654. local bullet=Part(1,1,1,'White')
  4655. local snd2=heart_snd2:Clone() snd2.Parent=bullet
  4656. local cl=heart_snd:Clone()cl.Parent=Main cl:Play()
  4657. DEBRIS:AddItem(cl,1)
  4658. local msh=Mesh(_1,mesh_ids.heart,.5,.5,.5)
  4659. _1.CFrame=cfn(l(rarm,0,-1.25).p)*(l(torso)-l(torso).p)
  4660. New"BodyVelocity"{_P=_1;velocity=l(torso).lookVector*30}
  4661. DEBRIS:AddItem(_1,2)
  4662. local con
  4663. con = bullet.Touched:connect(function(hit)
  4664. if hit:IsDescendantOf(character)then return end
  4665.  
  4666. local hum=recurseHum(hit)
  4667. if hum then
  4668. for _,v in pairs(findHum(l(hum.Torso).p,40))do
  4669. if v ~= hum then
  4670. v:MoveTo(l(hum.Torso).p)
  4671. if v.Parent~=character then
  4672. local poo=forcePose(v,{'r_arm','l_arm'}){
  4673. l_arm=ang(PI/2);
  4674. r_arm=ang(PI/2);
  4675. }
  4676. Spawn(function()wait(2)poo:revert()end)
  4677. end
  4678. if not v.Torso:FindFirstChild'Hoo'then
  4679. local heart=Part(1,1,1,'White')
  4680. Weld(_1,v.Torso,0,4)local msh=Mesh(_1,mesh_ids.heart,0,0,0)
  4681. local cl=heart_snd3:Clone()cl.Parent=v.Torso
  4682. cl:Play()
  4683. Spawn(function()
  4684. for i=0,1,.1 do
  4685. msh.Scale=v3n(.9*i,.9*i,.9*i)
  4686. wait()
  4687. end
  4688. heart:Destroy()end)
  4689. DEBRIS:AddItem(cl,1)
  4690. end
  4691.  
  4692.  
  4693. end
  4694. end
  4695. end
  4696. snd2:Play()
  4697. local hearts={}
  4698. con:disconnect()
  4699. for i=1,4 do
  4700. local mini=Part(.1,.1,.1,'White',.5)Mesh(_1,mesh_ids.heart,.25,.25,.25)
  4701. _1.CFrame=l(bullet,mr(-3,3),mr(-3,3),mr(-3,3))
  4702. _1.CFrame=cfn(mini.Position,bullet.Position)
  4703. New"BodyVelocity"{_P=_1;
  4704. -- velocity=(l(_1)*ang(mr(-5,5),mr(-5,5),mr(-5,5))).lookVector*20;
  4705. velocity=cfn(_1.Position,bullet.Position).lookVector*-20;
  4706. }
  4707. table.insert(hearts,mini)
  4708. end
  4709. bullet.Anchored=true
  4710. for i=0,1,.1 do
  4711. Edit(hearts){Transparency=i}
  4712. msh.Scale=v3n(.5,.5,.5)+v3n(i*4,i*4,i*4)
  4713. bullet.Transparency=i
  4714. wait()
  4715. end
  4716. bullet:Destroy()
  4717. for _,v in pairs(hearts)do v:Destroy()end
  4718. end)
  4719. wait(.1)
  4720. until pickup.Count>=pickup.Span
  4721. pickup:Stop()
  4722. for _,v in pairs(Joints)do
  4723. v.beg=v.previous
  4724. end
  4725. for i=0,1,.1 do
  4726. for _,v in pairs(Joints)do
  4727. v.w.C0=v.beg:lerp(v.n_c0,i)
  4728. end
  4729. wait()
  4730. end
  4731. uneq()
  4732. end
  4733.  
  4734. local function doSine(a,b,c)
  4735. return math.sin((tick()*a)+b)*c
  4736. end
  4737.  
  4738. function shake()
  4739. eq()
  4740. -- seq.Count=0
  4741. -- seq:Wait(.5)
  4742. -- local pp=Part(1,1,1)
  4743. -- pp.CFrame=torso.CFrame
  4744. -- _1.Anchored=true
  4745. local stcf=rw.n_c0*ang(md(90))
  4746. local victims=findHum(torso.Position,10,character)
  4747. if #victims>0 then
  4748. local victim=victims[1].Torso
  4749. holding=true
  4750. while holding do
  4751. rw.w.C0=stcf*ang(doSine(20,1,md'45')/2,0,doSine(10,100,md'45')/2)
  4752. local center=cfn(l(rarm,0,-7).p)
  4753. victim.CFrame=center
  4754. wait()
  4755. end
  4756. reset()
  4757. end
  4758. uneq()
  4759. end
  4760.  
  4761. knife_snd=New"Sound"{_P=Main;SoundId='http://www.roblox.com/asset?id=153647529'}
  4762. knife_snd2=New"Sound"{_P=Main;SoundId='http://www.roblox.com/Asset/?id=10756118';Pitch=3}
  4763. function sword()
  4764. eq()
  4765. seq:Play()
  4766. seq:Wait(.5)
  4767. local knife=Part(.4,3,.7)Mesh(knife,'rbxassetid://121944778')_3.TextureId='rbxassetid://121944805'
  4768. local kw=Weld(_1,rarm,0,-1.1,-1,-PI/2)
  4769. local cl=New(knife){_P=Main;BrickColor=bcol'New Yeller';
  4770. Transparency=.75;Reflectance=.25}_4.Mesh.Scale=v3n(1.01,1.01,1.01)
  4771. _4.Mesh.TextureId=''_4:BreakJoints()
  4772. Weld(_4,knife)
  4773. local snd=New(knife_snd2){_P=knife;Looped=true}
  4774. Spawn(function() --sparks
  4775. repeat laser(l(bag).p,knife.Position,1)wait()until knife.Parent==nil
  4776. end)
  4777. seq:Wait(1.3)
  4778. knife_snd:Play()
  4779. local bv=New"BodyVelocity"{_P=knife;velocity=l(torso).lookVector*50}
  4780. local bg=New"BodyGyro"{_P=knife;maxTorque=v3n(1,1,1)*9e+009;cframe=torso.CFrame*ang(-PI/2)}
  4781. knife.Touched:connect(function(hit)
  4782. if hit:IsDescendantOf(character)then return end
  4783. local r=md'65'
  4784. local hum=recurseHum(hit)
  4785. if hum and hum.Parent~= character then
  4786. Spawn(function()
  4787. snd:Play()
  4788. local tim=tick()
  4789. repeat
  4790. hum.Torso.CFrame=hum.Torso.CFrame*ang(mr(-r,r)*mr(),mr(-r,r)*mr(),mr(-r,r)*mr())
  4791. wait()
  4792. until (tick()-tim)>3
  4793. snd:Stop()
  4794. end)
  4795. end
  4796. bg:Destroy()bv:Destroy()
  4797. local CJ=cfn(knife.Position)
  4798. New"Weld"{_P=knife;_PP={knife,hit};C0=l(knife):inverse()*CJ;
  4799. C1=l(hit):inverse()*CJ
  4800. }
  4801. end)
  4802. DEBRIS:AddItem(knife,2)
  4803.  
  4804. kw:Destroy()
  4805. knife.CFrame=l(torso,1.5,.5,-1.1,-PI/2)
  4806. seq:Wait()
  4807. uneq()
  4808. end
  4809.  
  4810. pickup=newAnim(1){
  4811. [0]=init;
  4812. [.5]=poses.pickup;
  4813. [1]={rw=cfn(.3,.3,-.5)*ang(md'120',0,md'60')}
  4814. }
  4815. seq=newAnim(2){
  4816. [0]=init;
  4817. [.5]=poses.pickup;
  4818. [1.25]={rw=ang(md'170',0,0,md'75')};
  4819. [1.3]={rw=ang(md'90')};
  4820. [1.4]={rw=ang(md'-45')};
  4821. [2]=init;
  4822. }
  4823.  
  4824. klist={
  4825. fq=rainbow;
  4826. q=red;
  4827. e=blue;
  4828. r=yellow;
  4829. g=white;
  4830. t=function()for i,v in pairs(Workspace:children())do if v.Name=='M_CAR'then v:Destroy()end end end;
  4831. cq=green;
  4832. zq=sword;
  4833. }
  4834. equipped=false
  4835. attacking=false
  4836.  
  4837. pcall(function()player.Backpack['E.Y.E']:Destroy()end)
  4838. Tool=New"Tool"{_P=player.Backpack;Name='E.Y.E';RequiresHandle=false}
  4839. Tool.Equipped:connect(function(Mouse)
  4840. -- eq()
  4841. equipped=true
  4842. Mouse.KeyUp:connect(function(key)
  4843. for i,v in pairs(klist)do
  4844. if key == i:sub(1,1) and i:sub(2,2) == 'q' then
  4845. holding=false
  4846. end
  4847. end
  4848. end)
  4849. Mouse.KeyDown:connect(function(key)
  4850. if attacking then return end
  4851. attacking=true
  4852. for i,v in pairs(klist)do
  4853. if key==i:sub(1,1) then
  4854. v(Mouse)
  4855. end
  4856. end
  4857. attacking=false
  4858. end)
  4859. end)
  4860. Tool.Unequipped:connect(function()equipped=false end)
  4861. script.Name='riimu'
  4862.  
  4863. -- GPlayr by ModernLukest. Made for v3rmillion, , etc.
  4864. -- Note that anyone can hear the music that you play. Just a clarification for what LocalScripts can do.
  4865.  
  4866. local char = game.Players.LocalPlayer.Character
  4867.  
  4868.  
  4869.  
  4870. -- CREATING BUTTONS, LABELS, FRAMES, ETC.
  4871. local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) -- CoreGui is buggy, since GPlayr is designed for PlayerGuis, not CoreGuis.
  4872. local openbtn = Instance.new("TextButton", gui)
  4873. local closebtn = Instance.new("TextButton", gui)
  4874. local openguibtn = Instance.new("TextButton", gui)
  4875. local playmusicint = Instance.new("Frame", gui)
  4876. local playmusicbtn = Instance.new("ImageButton", playmusicint)
  4877. local stopmusicbtn = Instance.new("ImageButton", playmusicint)
  4878. local musicidbox = Instance.new("TextBox", playmusicint)
  4879. local credit = Instance.new("TextLabel", playmusicint)
  4880. local title = Instance.new("TextLabel", playmusicint)
  4881.  
  4882. -- SIZING --
  4883.  
  4884. openbtn.Size = UDim2.new(0, 100, 0, 50)
  4885. closebtn.Size = UDim2.new(0, 100, 0, 50)
  4886. openguibtn.Size = UDim2.new(0, 100, 0, 50)
  4887. playmusicbtn.Size = UDim2.new(0, 50, 0, 50)
  4888. stopmusicbtn.Size = UDim2.new(0, 57, 0, 57)
  4889. musicidbox.Size = UDim2.new(0, 300, 0, 50)
  4890. credit.Size = UDim2.new(0, 300, 0, 20)
  4891. title.Size = UDim2.new(0, 300, 0, 30)
  4892. playmusicint.Size = UDim2.new(0, 300, 0, 500)
  4893.  
  4894. -- POSITIONING --
  4895.  
  4896. openbtn.Position = UDim2.new(0, 0, 0, 510)
  4897. closebtn.Position = UDim2.new(0, 0, 0, 510)
  4898. openguibtn.Position = UDim2.new(0, 0, 0, 590)
  4899. playmusicbtn.Position = UDim2.new(0, 50, 0, 200)
  4900. stopmusicbtn.Position = UDim2.new(0, 175, 0, 197)
  4901. musicidbox.Position = UDim2.new(0, 0, 0, 100)
  4902. credit.Position = UDim2.new(0, 0, 0, 470)
  4903. title.Position = UDim2.new(0, 0, 0, 0)
  4904. playmusicint.Position = UDim2.new(0, 200, 0, 100)
  4905.  
  4906. -- SET TEXT --
  4907.  
  4908. title.Text = "GPlayr (BETA)"
  4909. credit.Text = "GPlayr & radio scripting by Developer / ModernLukest"
  4910. musicidbox.Text = "Enter Sound ID Here"
  4911. openbtn.Text = "Take Out Radio"
  4912. closebtn.Text = "Put Away Radio"
  4913. openguibtn.Text = "Open/Close Music GUI"
  4914.  
  4915. -- SET IMAGE IDS --
  4916. playmusicbtn.Image = "rbxassetid://499381047"
  4917. stopmusicbtn.Image = "rbxassetid://499381006"
  4918.  
  4919. -- BACKGROUND COLOR3 --
  4920.  
  4921. playmusicint.BackgroundColor3 = Color3.new(136, 136, 136)
  4922. openbtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4923. closebtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4924. openguibtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4925. musicidbox.BackgroundColor3 = Color3.fromRGB(109, 109, 109)
  4926.  
  4927. -- BACKGROUND TRANSPARENCY --
  4928.  
  4929. playmusicint.BackgroundTransparency = 0.9
  4930. playmusicbtn.BackgroundTransparency = 1
  4931. stopmusicbtn.BackgroundTransparency = 1
  4932. musicidbox.BackgroundTransparency = 0.43
  4933. credit.BackgroundTransparency = 1
  4934. title.BackgroundTransparency = 1
  4935.  
  4936. -- BORDER SIZE PIXEL --
  4937.  
  4938. musicidbox.BorderSizePixel = 0
  4939. openbtn.BorderSizePixel = 3
  4940. closebtn.BorderSizePixel = 3
  4941. openguibtn.BorderSizePixel = 3
  4942.  
  4943. -- FONTS --
  4944. musicidbox.Font = "SourceSansLight"
  4945. credit.Font = "SourceSansLight"
  4946. title.Font = "SourceSansLight"
  4947.  
  4948.  
  4949. -- TEXT SCALED --
  4950. credit.TextScaled = true
  4951. title.TextScaled = true
  4952.  
  4953. -- TEXT WRAPPED --
  4954. musicidbox.TextWrapped = true
  4955. credit.TextWrapped = true
  4956. title.TextWrapped = true
  4957. openguibtn.TextWrapped = true
  4958.  
  4959. -- FONT SIZE --
  4960. musicidbox.FontSize = "Size28"
  4961.  
  4962. -- ACTIVE --
  4963. playmusicint.Active = true
  4964.  
  4965. -- DRAGGABLE --
  4966. playmusicint.Draggable = true
  4967.  
  4968. -- GUI FUNCTIONS (MAIN) --
  4969.  
  4970. -- set up the stuff --
  4971. isGuiOpen = false
  4972. closebtn.Visible = false
  4973. playmusicint.Visible = false
  4974. openguibtn.Visible = false
  4975.  
  4976. openbtn.MouseButton1Click:connect(function()
  4977. openbtn.Visible = false
  4978. closebtn.Visible = true
  4979.  
  4980. local radio = Instance.new("Part", char)
  4981. radio.Name = "Radio"
  4982. local mesh = Instance.new("FileMesh", radio)
  4983. mesh.MeshId = "http://www.roblox.com/asset/?id=212302951"
  4984. mesh.TextureId = "http://www.roblox.com/asset/?id=212303049"
  4985. mesh.Scale = Vector3.new(4, 4, 4)
  4986. mesh.VertexColor = Vector3.new(1, 1, 1)
  4987. mesh.Offset = Vector3.new(0, 0, 0)
  4988.  
  4989.  
  4990. local function weldBetween(a, b)
  4991. local weld = Instance.new("ManualWeld")
  4992. weld.Part0 = a
  4993. weld.Part1 = b
  4994. weld.C0 = CFrame.new()
  4995. weld.C1 = b.CFrame:inverse() * a.CFrame
  4996. weld.Parent = a
  4997. return weld;
  4998. end
  4999. local hand = radio:clone()
  5000. hand.Parent=char
  5001. hand.CFrame=char:WaitForChild("Torso").CFrame*CFrame.new(Vector3.new(0,0,0.9))*CFrame.Angles(0,math.rad(180),math.rad(45))
  5002. weldBetween(char:WaitForChild("Torso"), hand)
  5003. hand.CanCollide=true
  5004. hand.Anchored=false
  5005.  
  5006. sound = Instance.new("Sound", hand) -- we will now call the radio "hand"
  5007. sound.Volume = 0.5
  5008. sound.Pitch = 1
  5009.  
  5010. openguibtn.Visible = true
  5011. char:FindFirstChild("Radio"):Destroy()
  5012. end)
  5013.  
  5014.  
  5015. closebtn.MouseButton1Click:connect(function()
  5016. openbtn.Visible = true
  5017. closebtn.Visible = false
  5018. openguibtn.Visible = false
  5019. playmusicint.Visible = false
  5020. isGuiOpen = false
  5021. char:WaitForChild("Radio"):Destroy()
  5022. end)
  5023.  
  5024. playmusicbtn.MouseButton1Click:connect(function()
  5025. sound:stop()
  5026. wait(0.2)
  5027. sound.SoundId = "rbxassetid://"..musicidbox.Text
  5028. sound:play()
  5029. end)
  5030.  
  5031. stopmusicbtn.MouseButton1Click:connect(function()
  5032. sound:stop()
  5033. end)
  5034.  
  5035.  
  5036. openguibtn.MouseButton1Click:connect(function()
  5037. if isGuiOpen == false then isGuiOpen = true
  5038. playmusicint.Visible = true else isGuiOpen = false playmusicint.Visible = false
  5039. end
  5040. end)
  5041.  
  5042.  
  5043.  
  5044.  
  5045. --Windows95/FR34KY @V3rm
  5046. local player=game.Players.LocalPlayer;
  5047. local char=game.Players.LocalPlayer.Character;
  5048. local humanoid = player.Character.Humanoid;
  5049. Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
  5050. Tool.GripForward=Vector3.new(-0.161, 0, -0.987);
  5051. Tool.GripPos=Vector3.new(0.1, 0, 0.1);
  5052. Tool.GripRight=Vector3.new(0.217, 0, -0.976);
  5053. Tool.GripUp=Vector3.new(0, 1, 0);
  5054. Tool.Name='Smoke Grenade'
  5055. Handle=Instance.new('Part', Tool);
  5056. Handle.Name = 'Handle';
  5057. Handle.Size=Vector3.new(1, 1.2, 1);
  5058. c4mesh=Instance.new('SpecialMesh', Handle);
  5059. c4mesh.MeshType = 'FileMesh';
  5060. c4mesh.MeshId='http://www.roblox.com/asset/?id=16975131';
  5061. c4mesh.TextureId='http://www.roblox.com/asset/?id=16975111';
  5062. c4mesh.Scale=Vector3.new(0.75, 0.75, 0.75);
  5063. light=Instance.new('PointLight', Handle);
  5064. light.Color = Color3.new(255,0,0)
  5065. light.Range=10;
  5066. light.Enabled=false;
  5067. beep=Instance.new('Sound',Handle)
  5068. beep.Volume=5;
  5069. beep.SoundId='rbxassetid://252141949'
  5070. access=Instance.new('Sound',Handle)
  5071. access.Volume=5;
  5072. access.SoundId='rbxassetid://131644923'
  5073. beeptone=Instance.new('Sound',Handle)
  5074. beeptone.Volume=5;
  5075. beeptone.SoundId='rbxassetid://75338648'
  5076. local Prepare=Instance.new("Animation");
  5077. Prepare.AnimationId="http://www.roblox.com/Asset?ID=75322014";
  5078. local Launch=Instance.new("Animation");
  5079. Launch.AnimationId="http://www.roblox.com/Asset?ID=94157627";
  5080. function onActivated()
  5081. if not Tool.Enabled then
  5082. return
  5083. end
  5084. Tool.Enabled=false;
  5085. local LaunchAnim = humanoid:LoadAnimation(Launch);
  5086. LaunchAnim:Play();
  5087. wait(0.4)
  5088.  
  5089. local p = Handle:Clone();
  5090. local dir = char.Head.CFrame.lookVector;
  5091. p.Velocity = (dir * 80) + Vector3.new(0,8,0);
  5092. p.CanCollide = true;
  5093. p.Parent = game.Workspace;
  5094. p.Name='c4';
  5095. beep.Parent=p;
  5096. light.Parent=p;
  5097. Handle.Transparency=1;
  5098.  
  5099. wait(0.2)
  5100. smokee=Instance.new('ParticleEmitter', p)
  5101. smokee.Size = NumberSequence.new(31)
  5102. smokee.Speed = NumberRange.new(10)
  5103. smokee.RotSpeed = NumberRange.new(-255, 250)
  5104. smokee.Texture = 'http://www.roblox.com/asset/?id=241539438'
  5105. smokee.LightEmission = 1
  5106. ex=Instance.new('Explosion',workspace);
  5107. ex.BlastPressure=6;
  5108. ex.BlastRadius=6;
  5109. ex.Position=p.Position;
  5110. smokee.VelocitySpread = 30
  5111. smokee.Rate = 500
  5112. smokee.Enabled=true;
  5113. ss=Instance.new('Sound',p);
  5114. ss.Volume=5;
  5115. ss.SoundId='rbxassetid://424618966';
  5116. ss:Play();
  5117. Handle.Transparency=1;
  5118. wait(16)
  5119. p:remove();
  5120. Handle.Transparency=0
  5121. Tool.Enabled=true;
  5122.  
  5123.  
  5124.  
  5125. end
  5126. Tool.Activated:connect(onActivated);
  5127.  
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133. --[[
  5134. Herex's Mechanic Gauntlets
  5135. Heyo, Fen's first 2014 script. If ever you want details of Herex, who he is, and his backstory,
  5136. just message me.
  5137. ]]
  5138. Player = game:GetService("Players").kiko43123152
  5139. Character = Player.Character
  5140. PlayerGui = Player.PlayerGui
  5141. Backpack = Player.Backpack
  5142. Torso = Character.Torso
  5143. Head = Character.Head
  5144. Humanoid = Character.Humanoid
  5145. LeftArm = Character["Left Arm"]
  5146. LeftLeg = Character["Left Leg"]
  5147. RightArm = Character["Right Arm"]
  5148. RightLeg = Character["Right Leg"]
  5149. LS = Torso["Left Shoulder"]
  5150. LH = Torso["Left Hip"]
  5151. RS = Torso["Right Shoulder"]
  5152. RH = Torso["Right Hip"]
  5153. Neck = Torso.Neck
  5154. it=Instance.new
  5155. vt=Vector3.new
  5156. cf=CFrame.new
  5157. euler=CFrame.fromEulerAnglesXYZ
  5158. angles=CFrame.Angles
  5159. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  5160. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  5161. RootPart=Character.HumanoidRootPart
  5162. RootJoint=RootPart.RootJoint
  5163. RootCF=euler(-1.57,0,3.14)
  5164. attack = false
  5165. attackdebounce = false
  5166. MMouse=nil
  5167. combo=0
  5168. Mode="Normal"
  5169. throwcube=false
  5170. --player
  5171. player = nil
  5172. --save shoulders
  5173. RSH, LSH = nil, nil
  5174. --welds
  5175. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  5176. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  5177. local AnimJoints = {}
  5178. table.insert(AnimJoints,RW)
  5179. table.insert(AnimJoints,LW)
  5180.  
  5181.  
  5182. if Character:findFirstChild("Mechanic Gauntlets",true) ~= nil then
  5183. Character:findFirstChild("Mechanic Gauntlets",true).Parent = nil
  5184. end
  5185.  
  5186.  
  5187. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5188. local fp = it("Part")
  5189. fp.formFactor = formfactor
  5190. fp.Parent = parent
  5191. fp.Reflectance = reflectance
  5192. fp.Transparency = transparency
  5193. fp.CanCollide = false
  5194. fp.Locked=true
  5195. fp.BrickColor = brickcolor
  5196. fp.Name = name
  5197. fp.Size = size
  5198. fp.Position = Torso.Position
  5199. fp.BottomSurface="Smooth"
  5200. fp.TopSurface="Smooth"
  5201. fp:BreakJoints()
  5202. return fp
  5203. end
  5204.  
  5205. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  5206. local mesh = it(Mesh)
  5207. mesh.Parent = part
  5208. if Mesh=="SpecialMesh" then
  5209. mesh.MeshType = meshtype
  5210. mesh.MeshId = meshid
  5211. end
  5212. mesh.Offset=offset
  5213. mesh.Scale=scale
  5214. return mesh
  5215. end
  5216.  
  5217. function weld(parent,part0,part1,c0)
  5218. local weld = it("Weld")
  5219. weld.Parent = parent
  5220. weld.Part0 = part0
  5221. weld.Part1 = part1
  5222. weld.C0 = c0
  5223. return weld
  5224. end
  5225.  
  5226. function SetWeld(weld, i, loops, origpos,origangle, nextpos,nextangle,smooth)
  5227. smooth = smooth or 1
  5228. local obj
  5229. for i, v in pairs(AnimJoints) do
  5230. if v[1] == weld then
  5231. obj = v
  5232. break
  5233. end
  5234. end
  5235. if not obj then
  5236. obj = {weld,NV}
  5237. table.insert(AnimJoints,obj)
  5238. end
  5239.  
  5240. local perc = (smooth == 1 and math.sin((math.pi/2)/loops*i)) or i/loops
  5241.  
  5242. local tox,toy,toz = 0,0,0
  5243. tox = math.abs(origangle.x - nextangle.x) *perc
  5244. toy = math.abs(origangle.y - nextangle.y) *perc
  5245. toz = math.abs(origangle.z - nextangle.z) *perc
  5246. tox = (origangle.x > nextangle.x and -tox) or tox
  5247. toy = (origangle.y > nextangle.y and -toy) or toy
  5248. toz = (origangle.z > nextangle.z and -toz) or toz
  5249.  
  5250. local tox2,toy2,toz2 = 0,0,0
  5251. tox2 = math.abs(origpos.x - nextpos.x) *perc
  5252. toy2 = math.abs(origpos.y - nextpos.y) *perc
  5253. toz2 = math.abs(origpos.z - nextpos.z) *perc
  5254. tox2 = (origpos.x > nextpos.x and -tox2) or tox2
  5255. toy2 = (origpos.y > nextpos.y and -toy2) or toy2
  5256. toz2 = (origpos.z > nextpos.z and -toz2) or toz2
  5257.  
  5258. obj[2] = Vector3.new(origangle.x + tox, origangle.y + toy, origangle.z + toz)
  5259. weld.C0 = CFrame.new(origpos.x + tox2,origpos.y + toy2,origpos.z + toz2) * CFrame.Angles(origangle.x + tox,origangle.y + toy,origangle.z + toz)
  5260. end
  5261.  
  5262. local Hitbox=part(3,nil,0,0,BrickColor.new("White"),"Hitbox",vt(1,1,1))
  5263. Hitbox.Anchored=true
  5264. Hitbox.Transparency=1
  5265. local modelzorz = Instance.new("Model")
  5266. modelzorz.Parent = Character
  5267. modelzorz.Name = "Mechanic Gauntlets"
  5268.  
  5269. --[[LEFT GAUNTLET]]--
  5270. local Lprt1=part(3,modelzorz,0,0,BrickColor.new("Bright blue"),"Left Part1",vt(1,1,1))
  5271. local Lprt3=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part3",vt(1,1,1))
  5272. local Lprt5=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part5",vt(1,1,1))
  5273. local Lprt6=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part6",vt(1,1,1))
  5274. local Lprt7=part(3,modelzorz,0,0,BrickColor.new("Bright blue"),"Left Part7",vt(1,1,1))
  5275. local Lprt8=part(3,modelzorz,0,0,BrickColor.new("Black"),"Left Part8",vt(1,1,1))
  5276. local Lprt9=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part9",vt(1,1,1))
  5277. local Lprt10=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part10",vt(1,1,1))
  5278. local Lprt11=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part11",vt(1,1,1))
  5279.  
  5280. Lmsh1=mesh("BlockMesh",Lprt1,"","",vt(0,0,0),vt(1.03,1,1.03))
  5281. Lmsh3=mesh("BlockMesh",Lprt3,"","",vt(0,0,0),vt(0.1,1.05,1.06))
  5282. Lmsh5=mesh("BlockMesh",Lprt5,"","",vt(0,0,0),vt(1.025,2,0.2))
  5283. Lmsh6=mesh("BlockMesh",Lprt6,"","",vt(0,0,0),vt(0.2,2,1.025))
  5284. Lmsh7=mesh("CylinderMesh",Lprt7,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  5285. Lmsh8=mesh("CylinderMesh",Lprt8,"","",vt(0,0,0),vt(0.3,0.21,0.3))
  5286. Lmsh9=mesh("SpecialMesh",Lprt9,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(0.17,0.17,0.1))
  5287. Lmsh10=mesh("SpecialMesh",Lprt10,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(0.07,0.07,0.1))
  5288. Lmsh11=mesh("BlockMesh",Lprt11,"","",vt(0,0,0),vt(0.15,0.02,0.02))
  5289.  
  5290. local Lwld1=weld(Lprt1,Lprt1,LeftArm,euler(0,0,0)*cf(0,0.51,0))
  5291. local Lwld3=weld(Lprt3,Lprt3,Lprt1,euler(0,0,0)*cf(0.3,0,0))
  5292. local Lwld5=weld(Lprt5,Lprt5,Lprt1,euler(0,0,0)*cf(0,-0.55,0))
  5293. local Lwld6=weld(Lprt6,Lprt6,Lprt1,euler(0,0,0)*cf(0,-0.55,0))
  5294. local Lwld7=weld(Lprt7,Lprt7,Lprt1,euler(0,0,1.57)*cf(0.45,-1.2,0))
  5295. local Lwld8=weld(Lprt8,Lprt8,Lprt7,euler(0,0,0)*cf(0,0,0))
  5296. local Lwld9=weld(Lprt9,Lprt9,Lprt7,euler(1.57,0,0)*cf(-0.02,0.1,0))
  5297. local Lwld10=weld(Lprt10,Lprt10,Lprt7,euler(1.57,0,0)*cf(0,0.1,0))
  5298. local Lwld11=weld(Lprt11,Lprt11,Lprt7,euler(0,0,0)*cf(0.07,0.1,0))
  5299.  
  5300. numb=0.4
  5301. for i=1,4 do
  5302. local Lprt2=part(3,modelzorz,0,0,BrickColor.new("White"),"Left Part2",vt(1,1,1))
  5303. Lmsh2=mesh("BlockMesh",Lprt2,"","",vt(0,0,0),vt(1.06,1.05,0.1))
  5304. local Lwld2=weld(Lprt2,Lprt2,Lprt1,euler(0,0,0)*cf(0,0,numb))
  5305. local Lprt4=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Left Part4",vt(1,1,1))
  5306. Lmsh4=mesh("SpecialMesh",Lprt4,"Wedge","",vt(0,0,0),vt(0.09,0.1,0.3))
  5307. local Lwld4=weld(Lprt4,Lprt4,Lprt2,euler(1.57,-1.57,0)*cf(0.54,0.5,0))
  5308. numb=numb-0.275
  5309. end
  5310.  
  5311. numb=0
  5312. for i=1,4 do
  5313. local Lprt7=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Left Part7",vt(1,1,1))
  5314. Lmsh7=mesh("SpecialMesh",Lprt7,"Wedge","",vt(0,0,0),vt(0.2,0.1,0.3))
  5315. local Lwld7=weld(Lprt7,Lprt7,Lprt1,euler(1.57,0,3.14)*cf(0,-0.5,0.54)*euler(0,numb,0))
  5316. numb=numb+1.57
  5317. end
  5318.  
  5319. --[[RIGHT GAUNTLET]]--
  5320. local Rprt1=part(3,modelzorz,0,0,BrickColor.new("Bright blue"),"Right Part1",vt(1,1,1))
  5321. local Rprt3=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part3",vt(1,1,1))
  5322. local Rprt5=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part5",vt(1,1,1))
  5323. local Rprt6=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part6",vt(1,1,1))
  5324. local Rprt7=part(3,modelzorz,0,0,BrickColor.new("Bright blue"),"Right Part7",vt(1,1,1))
  5325. local Rprt8=part(3,modelzorz,0,0,BrickColor.new("Black"),"Right Part8",vt(1,1,1))
  5326. local Rprt9=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part9",vt(1,1,1))
  5327. local Rprt10=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part10",vt(1,1,1))
  5328. local Rprt11=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part11",vt(1,1,1))
  5329.  
  5330. Rmsh1=mesh("BlockMesh",Rprt1,"","",vt(0,0,0),vt(1.03,1,1.03))
  5331. Rmsh3=mesh("BlockMesh",Rprt3,"","",vt(0,0,0),vt(0.1,1.05,1.06))
  5332. Rmsh5=mesh("BlockMesh",Rprt5,"","",vt(0,0,0),vt(1.025,2,0.2))
  5333. Rmsh6=mesh("BlockMesh",Rprt6,"","",vt(0,0,0),vt(0.2,2,1.025))
  5334. Rmsh7=mesh("CylinderMesh",Rprt7,"","",vt(0,0,0),vt(0.4,0.2,0.4))
  5335. Rmsh8=mesh("CylinderMesh",Rprt8,"","",vt(0,0,0),vt(0.3,0.21,0.3))
  5336. Rmsh9=mesh("SpecialMesh",Rprt9,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(0.17,0.17,0.1))
  5337. Rmsh10=mesh("SpecialMesh",Rprt10,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(0.07,0.07,0.1))
  5338. Rmsh11=mesh("BlockMesh",Rprt11,"","",vt(0,0,0),vt(0.15,0.02,0.02))
  5339.  
  5340. local Rwld1=weld(Rprt1,Rprt1,RightArm,euler(0,3.14,0)*cf(0,0.51,0))
  5341. local Rwld3=weld(Rprt3,Rprt3,Rprt1,euler(0,0,0)*cf(0.3,0,0))
  5342. local Rwld5=weld(Rprt5,Rprt5,Rprt1,euler(0,0,0)*cf(0,-0.55,0))
  5343. local Rwld6=weld(Rprt6,Rprt6,Rprt1,euler(0,0,0)*cf(0,-0.55,0))
  5344. local Rwld7=weld(Rprt7,Rprt7,Rprt1,euler(0,0,1.57)*cf(0.45,-1.2,0))
  5345. local Rwld8=weld(Rprt8,Rprt8,Rprt7,euler(0,0,0)*cf(0,0,0))
  5346. local Rwld9=weld(Rprt9,Rprt9,Rprt7,euler(1.57,0,0)*cf(-0.02,0.1,0))
  5347. local Rwld10=weld(Rprt10,Rprt10,Rprt7,euler(1.57,0,0)*cf(0,0.1,0))
  5348. local Rwld11=weld(Rprt11,Rprt11,Rprt7,euler(0,0,0)*cf(0.07,0.1,0))
  5349.  
  5350. numb=0.4
  5351. for i=1,4 do
  5352. local Rprt2=part(3,modelzorz,0,0,BrickColor.new("White"),"Right Part2",vt(1,1,1))
  5353. Rmsh2=mesh("BlockMesh",Rprt2,"","",vt(0,0,0),vt(1.06,1.05,0.1))
  5354. local Rwld2=weld(Rprt2,Rprt2,Rprt1,euler(0,0,0)*cf(0,0,numb))
  5355. local Rprt4=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Right Part4",vt(1,1,1))
  5356. Rmsh4=mesh("SpecialMesh",Rprt4,"Wedge","",vt(0,0,0),vt(0.09,0.1,0.3))
  5357. local Rwld4=weld(Rprt4,Rprt4,Rprt2,euler(1.57,-1.57,0)*cf(0.54,0.5,0))
  5358. numb=numb-0.275
  5359. end
  5360.  
  5361. numb=0
  5362. for i=1,4 do
  5363. local Rprt7=part(3,modelzorz,0,0,BrickColor.new("Light stone grey"),"Right Part7",vt(1,1,1))
  5364. Rmsh7=mesh("SpecialMesh",Rprt7,"Wedge","",vt(0,0,0),vt(0.2,0.1,0.3))
  5365. local Rwld7=weld(Rprt7,Rprt7,Rprt1,euler(1.57,0,3.14)*cf(0,-0.5,0.54)*euler(0,numb,0))
  5366. numb=numb+1.57
  5367. end
  5368.  
  5369. if (script.Parent.className ~= "HopperBin") then
  5370. Tool = Instance.new("HopperBin")
  5371. Tool.Parent = Backpack
  5372. Tool.Name = "Mechanic Gauntlets"
  5373. script.Parent = Tool
  5374. end
  5375. Bin = script.Parent
  5376.  
  5377. local Bg = it("BodyGyro")
  5378. Bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  5379. Bg.P = 20e+003
  5380. Bg.Parent = nil
  5381.  
  5382. so = function(id,par,vol,pit)
  5383. coroutine.resume(coroutine.create(function()
  5384. local sou = Instance.new("Sound",par or workspace)
  5385. sou.Volume=vol
  5386. sou.Pitch=pit or 1
  5387. sou.SoundId=id
  5388. wait()
  5389. sou:play()
  5390. wait(6)
  5391. sou:Remove()
  5392. end))
  5393. end
  5394.  
  5395. function hideanim()
  5396. equipped=false
  5397. end
  5398.  
  5399. function equipanim()
  5400. equipped=true
  5401. Neck.C0=necko
  5402. for i = 0,1,0.1 do
  5403. wait()
  5404. LW.C0=cf(-1.5,0.5,0)*euler(0.2*i,1.57*i,0)
  5405. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  5406. RW.C0=cf(1.5,0.5,0)*euler(0.1*i,0,-0.2*i)
  5407. end
  5408. end
  5409.  
  5410. function attackone()
  5411. attack=true
  5412. local armprt=part(3,modelzorz,0,0,BrickColor.new("White"),"Part",vt(1,1,1))
  5413. armprt.Transparency=1
  5414. local armprtwld=weld(armprt,armprt,LeftArm,euler(0,0,0)*cf(0,1,0))
  5415. for i=0,1,0.2 do
  5416. wait()
  5417. ElecEffect(armprt.CFrame,1,1,1)
  5418. RootJoint.C0=RootCF*euler(0,0,0.2*i)
  5419. LW.C0=cf(-1.5,0.5,0)*euler((walkoffset1-walkoffset1*i)+.2,1.57,0)
  5420. LW.C1=cf(0, 0.5, 0)*euler(-0.2-0.4*i,0,0)
  5421. RW.C0=cf(1.5,0.5,0)*euler((walkoffset1-walkoffset1*i)+.1,0,-0.2+0.8*i)
  5422. end
  5423. local boom=part(3,workspace,0,0,BrickColor.new("White"),"Part",vt(1,1,1))
  5424. boom.Transparency=1
  5425. boom.Anchored=true
  5426. boom.CFrame=Head.CFrame*cf(0,-1,-4)
  5427. so("http://www.roblox.com/asset/?id=153092315",boom,1,0.5)
  5428. for i=0,1,0.2 do
  5429. wait()
  5430. ElecEffect(armprt.CFrame,1,1,1)
  5431. Neck.C0=necko*euler(0,0,0.6*i)
  5432. RootJoint.C0=RootCF*euler(0,0,0.2-0.8*i)
  5433. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.37*i,1.57,0)
  5434. LW.C1=cf(0, 0.5, 0)*euler(-0.6+0.2*i,0,0)
  5435. RW.C0=cf(1.5,0.5,0)*euler(0.1,0,0.6)
  5436. end
  5437. boommsh=mesh("SpecialMesh",boom,"Sphere","",vt(0,0,0),vt(2.5,2.5,2.5))
  5438. boom.Transparency=0.5
  5439. boom.Anchored=true
  5440. boom.CFrame=Head.CFrame*cf(0,-1,-4)
  5441. Hitbox.Parent=workspace
  5442. Hitbox.CFrame=boom.CFrame
  5443. con1=Hitbox.Touched:connect(function(hit) Damagefunc1(hit,1,5,0) end)
  5444. coroutine.resume(coroutine.create(function(Part,Mesh)
  5445. while Part.Parent~=nil do
  5446. wait()
  5447. derp=math.random()
  5448. Mesh.Scale=vt(2.5+derp,2.5+derp,2.5+derp)
  5449. ElecEffect(Part.CFrame,2,2,2)
  5450. MagicBlock(BrickColor.new("White"),Part.CFrame,1,1,1,0.1,0.1,0.1)
  5451. Hitbox.CFrame=boom.CFrame*cf(math.random(-1,0)+math.random(),math.random(-1,0)+math.random(),math.random(-1,0)+math.random())
  5452. end
  5453. end),boom,boommsh)
  5454. for i=0,1,0.2 do
  5455. wait()
  5456. LW.C0=cf(-1.5,0.5,0)*euler(1.57,1.57,0)
  5457. LW.C1=cf(0, 0.5, 0)*euler(-0.4+0.1*i,0,0)
  5458. end
  5459. coroutine.resume(coroutine.create(function(Part1,Part2,Part3,Con)
  5460. wait(2)
  5461. Con:disconnect()
  5462. Part2.Parent=nil
  5463. Part3.Parent=nil
  5464. Part1.Parent=nil
  5465. wait(1)
  5466. end),Hitbox,boom,armprt,con1)
  5467. --[[Hitbox.Parent=nil
  5468. con1:disconnect()
  5469. boom.Parent=nil
  5470. armprt.Parent=nil]]
  5471. attack=false
  5472. end
  5473.  
  5474. function attacktwo()
  5475. attack=true
  5476. for i=0,1,0.2 do
  5477. wait()
  5478. Neck.C0=necko*euler(0,0,0.6-0.6*i)
  5479. RootJoint.C0=RootCF*euler(0,0,-0.6+0.6*i)
  5480. LW.C0=cf(-1.5,0.5,0)*euler(1.57,1.57-1.57*i,0)
  5481. LW.C1=cf(0, 0.5, 0)*euler(-0.3+0.3*i,0,0)
  5482. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.47*i,0,0.6-0.6*i)
  5483. end
  5484. local boom=part(3,modelzorz,0,0,BrickColor.new("White"),"Part",vt(1,1,1))
  5485. boom.Transparency=0.5
  5486. boommsh=mesh("SpecialMesh",boom,"Sphere","",vt(0,0,0),vt(0,0,0))
  5487. local boomwld=weld(boom,boom,Head,euler(0,0,0)*cf(0,1,4))
  5488. con1=Hitbox.Touched:connect(function(hit) Damagefunc1(hit,5,10,20) end)
  5489. for i=0,1,0.2 do
  5490. wait()
  5491. ElecEffect(boom.CFrame,3,3,3)
  5492. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,0.1*i)
  5493. RW.C0=cf(1.5,0.5,0)*euler(1.57,0,-0.1*i)
  5494. boommsh.Scale=vt(0.5*(i*3),0.5*(i*3),0.5*(i*3))
  5495. Hitbox.CFrame=boom.CFrame
  5496. end
  5497. con1:disconnect()
  5498. boomwld.Parent=nil
  5499. boom.Anchored=true
  5500. coroutine.resume(coroutine.create(function(Part)
  5501. local c=game.Workspace:GetChildren()
  5502. for i=1,#c do
  5503. local hum=c[i]:findFirstChild("Humanoid")
  5504. if hum~=nil and hum.Health~=0 then
  5505. local head=c[i]:findFirstChild("Head")
  5506. if head~=nil then
  5507. local targ=head.Position - Part.Position
  5508. local mag=targ.magnitude
  5509. if mag<=10 and c[i].Name~=Player.Name then
  5510. attackdebounce=false
  5511. Damagefunc1(head,10,20,70)
  5512. end
  5513. end
  5514. end
  5515. end
  5516. so("http://www.roblox.com/asset/?id=2974249",Part,1,1)
  5517. so("http://www.roblox.com/asset/?id=1369158",Part,1,2)
  5518. numb=0
  5519. for i=0,20 do
  5520. wait()
  5521. MagicBlock(BrickColor.new("White"),Part.CFrame,0.5,0.5,0.5,1,1,1)
  5522. if numb>=8 then
  5523. MagicRing(BrickColor.new("White"),Part.CFrame,1,1,1,math.random(-50,50),math.random(-50,50),math.random(-50,50),0.5,0.5,0.5)
  5524. numb=0
  5525. end
  5526. numb=numb+1
  5527. end
  5528. end),boom)
  5529. for i=0,1,0.2 do
  5530. wait()
  5531. LW.C0=cf(-1.5,0.5,0)*euler(1.57,0,0.1-0.7*i)
  5532. RW.C0=cf(1.5,0.5,0)*euler(1.57,0,-0.1+0.7*i)
  5533. end
  5534. wait(0.2)
  5535. boom.Parent=nil
  5536. attack=false
  5537. end
  5538.  
  5539. function attackthree()
  5540. attack=true
  5541. for i=0,1,0.1 do
  5542. wait()
  5543. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i,0,-0.6)
  5544. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i,0,0.6)
  5545. end
  5546. so("http://www.roblox.com/asset/?id=153092348",Torso,1,1)
  5547. vel=Instance.new("BodyVelocity")
  5548. vel.Parent=RootPart
  5549. vel.maxForce=vt(4e+005,4e+005,4e+005)*1
  5550. vel.velocity=Head.CFrame.lookVector*50
  5551. ArmHit=false
  5552. armcon=RightArm.Touched:connect(function(hit)
  5553. if hit~=nil and hit.Parent:findFirstChild("Humanoid")~=nil and ArmHit==false then
  5554. armcon:disconnect()
  5555. vel.Parent=nil
  5556. ArmHit=true
  5557. print("HITTED")
  5558. Damagefunc1(hit,10,30,20)
  5559. MagicBlock(BrickColor.new("White"),hit.CFrame*cf(0,-1,0),0.5,0.5,0.5,1,1,1)
  5560. for i=1,3 do
  5561. Lightning(hit.Position,hit.Position+vt(math.random(-10,10),math.random(-10,10),math.random(-10,10)),5,1,"White",0.3,0.1,0.5)
  5562. end
  5563. so("http://www.roblox.com/asset/?id=153092334",Torso,1,1)
  5564. for i=0,1,0.2 do
  5565. wait()
  5566. Neck.C0=necko*euler(0,0,-1+2*i)
  5567. RootJoint.C0=RootCF*euler(0,0,1-2*i)
  5568. LW.C0=cf(-1.5,0.5,0)*euler(-0.2,0,-0.6)
  5569. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.77*i,0,1)
  5570. end
  5571. wait(0.4)
  5572. if Anim=="Idle" then
  5573. for i=0,1,0.1 do
  5574. wait()
  5575. Neck.C0=necko*euler(0,0,1-1*i)
  5576. RootJoint.C0=RootCF*euler(0,0,-1+1*i)
  5577. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.4*i,1.57*i,-0.6+0.6*i)
  5578. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  5579. RW.C0=cf(1.5,0.5,0)*euler(-0.2+0.3*i,0,1-1.2*i)
  5580. end
  5581. end
  5582. end
  5583. end)
  5584. for i=0,1,0.2 do
  5585. wait()
  5586. MagicBlock(BrickColor.new("White"),RightArm.CFrame*cf(0,-2.5,0),0.5,0.5,0.5,0.6,0.6,0.6)
  5587. Neck.C0=necko*euler(0,0,-1*i)
  5588. RootJoint.C0=RootCF*euler(0,0,1*i)
  5589. LW.C0=cf(-1.5,0.5,0)*euler(-0.2*i,0,-0.6)
  5590. RW.C0=cf(1.5,0.5,0)*euler(1.57*i,0,0.6+0.4*i)
  5591. end
  5592. for i=0,1,0.1 do
  5593. wait()
  5594. MagicBlock(BrickColor.new("White"),RightArm.CFrame*cf(0,-2.5,0),0.5,0.5,0.5,0.6,0.6,0.6)
  5595. end
  5596. vel.Parent=nil
  5597. wait(0.5)
  5598. if ArmHit==false then
  5599. armcon:disconnect()
  5600. if Anim=="Idle" then
  5601. for i=0,1,0.1 do
  5602. wait()
  5603. Neck.C0=necko*euler(0,0,-1+1*i)
  5604. RootJoint.C0=RootCF*euler(0,0,1-1*i)
  5605. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.4*i,1.57*i,-0.6+0.6*i)
  5606. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  5607. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.47*i,0,1-1.2*i)
  5608. end
  5609. end
  5610. end
  5611. attack=false
  5612. end
  5613.  
  5614. function Electra()
  5615. attack=true
  5616. Mode="Electra"
  5617. Anim="Switching"
  5618. for i=0,1,0.1 do
  5619. wait()
  5620. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.4*i,1.57-1.57*i,-0.2*i)
  5621. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5622. RW.C0=cf(1.5,0.5,0)*euler(0.1-0.3*i,0,-0.2+0.4*i)
  5623. RootJoint.C0=RootCF*cf(0,2*i,0)*euler(0,0,0)
  5624. end
  5625. wait(1)
  5626. attack=false
  5627. end
  5628.  
  5629. function Normal()
  5630. attack=true
  5631. Mode="Normal"
  5632. RootJoint.C0=RootCF
  5633. wait(1)
  5634. attack=false
  5635. end
  5636.  
  5637. function MakeCube()
  5638. attack=true
  5639. for i=0,1,0.1 do
  5640. wait()
  5641. MagicBlock(BrickColor.new("White"),Torso.CFrame*cf(0,0.5,-2),0.5,0.5,0.5,0.3,0.3,0.3)
  5642. ElecEffect(Torso.CFrame*cf(0,0.5,-2),1,1,1)
  5643. Neck.C0=necko*euler(0.1*i,0,0)
  5644. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.27*i,1.57-1.57*i,0.4*i)
  5645. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5646. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.37*i,0,-0.2-0.2*i)
  5647. end
  5648. numb=2
  5649. for i=0,1,0.1 do
  5650. MagicBlock(BrickColor.new("White"),Torso.CFrame*cf(0,0.5,-2),0.5,0.5,0.5,0.3,0.3,0.3)
  5651. ElecEffect(Torso.CFrame*cf(0,0.5,-2),1,1,1)
  5652. Neck.C0=necko*euler(0.1+0.1*(i*numb),0,0)
  5653. LW.C0=cf(-1.5,0.5,0)*euler(1.47+0.1*(i*numb),0,0.4+0.1*(i*numb))
  5654. RW.C0=cf(1.5,0.5,0)*euler(1.47+0.1*(i*numb),0,-0.4-0.1*(i*numb))
  5655. numb=numb-0.1
  5656. wait()
  5657. end
  5658. NewCube()
  5659. wait(0.5)
  5660. for i=0,1,0.1 do
  5661. wait()
  5662. Neck.C0=necko*euler(0.2-0.2*i,0,0)
  5663. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.37*i,1.57*i,0.5-0.5*i)
  5664. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  5665. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.47*i,0,-0.5+0.3*i)
  5666. end
  5667. Neck.C0=necko
  5668. attack=false
  5669. end
  5670.  
  5671. function GetCube()
  5672. if MMouse.Target~=nil and MMouse.Target.Name=="Cube Vertex2" and MMouse.Target.Parent:findFirstChild("Cube Vertex1")~=nil then
  5673. attack=true
  5674. throwcube=false
  5675. print("GOT CUBE")
  5676. mainpart=MMouse.Target
  5677. coroutine.resume(coroutine.create(function(Model)
  5678. while holdz==true do
  5679. wait()
  5680. Model["Cube Vertex1"].CFrame=Torso.CFrame*cf(0,0.5,-2)
  5681. end
  5682. end),mainpart.Parent)
  5683. for i=0,1,0.1 do
  5684. wait()
  5685. ElecEffect(mainpart.CFrame,1,1,1)
  5686. Neck.C0=necko*euler(0.1*i,0,0)
  5687. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.27*i,1.57-1.57*i,0.4*i)
  5688. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5689. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.37*i,0,-0.2-0.2*i)
  5690. end
  5691. while holdz==true do
  5692. wait()
  5693. ElecEffect(mainpart.CFrame,1,1,1)
  5694. end
  5695. if throwcube==false then
  5696. for i=0,1,0.1 do
  5697. wait()
  5698. Neck.C0=necko*euler(0.1-0.1*i,0,0)
  5699. LW.C0=cf(-1.5,0.5,0)*euler(1.47-1.27*i,1.57*i,0.4-0.4*i)
  5700. LW.C1=cf(0, 0.5, 0)*euler(0.2*i,0,0)
  5701. RW.C0=cf(1.5,0.5,0)*euler(1.47-1.37*i,0,-0.4+0.4*i)
  5702. end
  5703. end
  5704. attack=false
  5705. end
  5706. end
  5707.  
  5708. function ThrowCube()
  5709. attack=true
  5710. Main=mainpart.Parent["Cube Vertex1"]
  5711. --[[CF=Main.CFrame
  5712. for i=0,20 do
  5713. wait()
  5714. Main.CFrame=CF*cf(0,0,-i)
  5715. end
  5716. numb=1
  5717. for i=0,1,0.1 do
  5718. wait()
  5719. Main.CFrame=CF*cf(0,0,-20-10*(i*numb))
  5720. numb=numb-0.05
  5721. end]]
  5722. wait()
  5723. Main.CFrame=CFrame.new(MMouse.Hit.p)*cf(math.random(-1,1),math.random(0,1),math.random(-1,1))
  5724. attack=false
  5725. end
  5726.  
  5727. function GatherCubes()
  5728. attack=true
  5729. c=workspace:children()
  5730. for i=1,#c do
  5731. if c[i].Name=="Cube" then
  5732. rand1=math.random(-5,5)
  5733. rand2=math.random(0,5)
  5734. rand3=math.random(-5,5)
  5735. coroutine.resume(coroutine.create(function(Model,Rand1,Rand2,Rand3)
  5736. while holdx==true do
  5737. wait()
  5738. Model["Cube Vertex1"].CFrame=Torso.CFrame*cf(Rand1,Rand2,Rand3)
  5739. ElecEffect(Model["Cube Vertex2"].CFrame,1,1,1)
  5740. end
  5741. end),c[i],rand1,rand2,rand3)
  5742. end
  5743. end
  5744. for i=0,1,0.1 do
  5745. wait()
  5746. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.37*i,1.57-1.57*i,-1.57*i)
  5747. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5748. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.47*i,0,-0.2+1.77*i)
  5749. end
  5750. while holdx==true do
  5751. wait()
  5752. end
  5753. attack=false
  5754. end
  5755.  
  5756. function ThrowCube2()
  5757. wait()
  5758. if MMouse.Target~=nil then
  5759. TargetHit=MMouse.Target
  5760. if TargetHit.Anchored==false then
  5761. c=workspace:children()
  5762. for i=1,#c do
  5763. coroutine.resume(coroutine.create(function(Model)
  5764. if Model.Name=="Cube" then
  5765. while attack==false do
  5766. wait(0.1)
  5767. MainPrt=Model["Cube Vertex1"]
  5768. MainPrt.CFrame=TargetHit.CFrame*cf(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  5769. end
  5770. end
  5771. end),c[i])
  5772. end
  5773. else
  5774. c=workspace:children()
  5775. for i=1,#c do
  5776. if c[i].Name=="Cube" then
  5777. CubModel=c[i]
  5778. MainPrt=CubModel["Cube Vertex1"]
  5779. MainPrt.CFrame=CFrame.new(MMouse.Hit.p)*cf(math.random(-5,5),math.random(0,5),math.random(-5,5))
  5780. end
  5781. end
  5782. end
  5783. end
  5784. end
  5785.  
  5786. function TeleCube()
  5787. if MMouse.Target~=nil and MMouse.Target.Name=="Cube Vertex2" and MMouse.Target.Parent:findFirstChild("Cube Vertex1")~=nil then
  5788. attack=true
  5789. MainPart=MMouse.Target
  5790. so("http://www.roblox.com/asset/?id=2101137",Torso,0.7,1)
  5791. for i=0,1,0.1 do
  5792. wait()
  5793. ElecEffect(MainPart.CFrame,1,1,1)
  5794. ElecEffect(Torso.CFrame,4,2,4)
  5795. Neck.C0=necko*euler(0,0,1.57*i)
  5796. RootJoint.C0=RootCF*euler(0,0,-1.57*i)
  5797. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.37*i,1.57-1.57*i,-1.57*i)
  5798. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5799. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.47*i,0,-0.2+1.77*i)
  5800. end
  5801. for i=0,1,0.1 do
  5802. wait()
  5803. ElecEffect(MainPart.CFrame,1,1,1)
  5804. ElecEffect(Torso.CFrame,4,2,4)
  5805. end
  5806. for i=1,2 do
  5807. MagicBlock(BrickColor.new("White"),Torso.CFrame,0.5,0.5,0.5,2,2,2)
  5808. end
  5809. so("http://roblox.com/asset/?id=2101144",Torso,1,2)
  5810. Torso.CFrame=MainPart.CFrame
  5811. for i=1,2 do
  5812. MagicBlock(BrickColor.new("White"),Torso.CFrame,0.5,0.5,0.5,2,2,2)
  5813. end
  5814. Neck.C0=necko
  5815. RootJoint.C0=RootCF
  5816. attack=false
  5817. end
  5818. end
  5819.  
  5820. function Apocalypse()
  5821. attack=true
  5822. c=workspace:children()
  5823. for i=1,#c do
  5824. if c[i].Name=="Cube" then
  5825. so("http://www.roblox.com/asset/?id=2974249",c[i]["Cube Vertex2"],1,1)
  5826. coroutine.resume(coroutine.create(function(Model)
  5827. while Model.Parent~=nil do
  5828. MagicBlock(BrickColor.new("White"),Model["Cube Vertex2"].CFrame,0.5,0.5,0.5,0.5,0.5,0.5)
  5829. wait()
  5830. end
  5831. end),c[i])
  5832. end
  5833. end
  5834. for i=0,1,0.2 do
  5835. wait()
  5836. LW.C0=cf(-1.5+0.5*i,0.5,-0.5*i)*euler(0.2+0.2*i,1.57-1.57*i,0.6*i)
  5837. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5838. RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(0.1+0.3*i,0,-0.2-0.4*i)
  5839. end
  5840. numb=2
  5841. for i=0,1,0.1 do
  5842. wait()
  5843. Neck.C0=necko*euler(0.1*(i*numb),0,0)
  5844. LW.C0=cf(-1,0.5,-0.5)*euler(0.4+0.2*(i*numb),0,0.6+0.4*(i*numb))
  5845. RW.C0=cf(1,0.5,-0.5)*euler(0.4+0.2*(i*numb),0,-0.6-0.4*(i*numb))
  5846. numb=numb-0.1
  5847. end
  5848. c3=workspace:children()
  5849. for i=1,#c3 do
  5850. if c3[i].Name=="Cube" then
  5851. CubeMod=c3[i]
  5852. for i=1,2 do
  5853. MagicRing(BrickColor.new("White"),CubeMod["Cube Vertex2"].CFrame,1,1,1,math.random(-50,50),math.random(-50,50),math.random(-50,50),3,3,0.5)
  5854. end
  5855. for i=1,3 do
  5856. Lightning(CubeMod["Cube Vertex2"].Position,CubeMod["Cube Vertex2"].Position+vt(math.random(-10,10),math.random(-10,10),math.random(-10,10)),5,1,"White",0.3,0.1,0.8)
  5857. end
  5858. MagicCircle(BrickColor.new("Blue"),CubeMod["Cube Vertex2"].CFrame,1,1,1,3,3,3,0.05)
  5859. local c2=game.Workspace:GetChildren()
  5860. for i=1,#c2 do
  5861. local hum=c2[i]:findFirstChild("Humanoid")
  5862. if hum~=nil and hum.Health~=0 then
  5863. local head=c2[i]:findFirstChild("Head")
  5864. if head~=nil then
  5865. local targ=head.Position - CubeMod["Cube Vertex2"].Position
  5866. local mag=targ.magnitude
  5867. if mag<=15 and c2[i].Name~=Player.Name then
  5868. attackdebounce=false
  5869. Damagefunc1(head,10,20,0)
  5870. end
  5871. end
  5872. end
  5873. end
  5874. local cubesoundprt=part(3,workspace,0,1,BrickColor.new("White"),"Cube Sound Part",vt(1,1,1))
  5875. cubesoundprt.Anchored=true
  5876. cubesoundprt.CFrame=CubeMod["Cube Vertex2"].CFrame
  5877. game.Debris:AddItem(cubesoundprt,3)
  5878. --so("http://www.roblox.com/asset/?id=2974249",Part,1,1)
  5879. so("http://www.roblox.com/asset/?id=1369158",cubesoundprt,1,2)
  5880. CubeMod:Destroy()
  5881. end
  5882. end
  5883. for i=0,1,0.2 do
  5884. wait()
  5885. Neck.C0=necko*euler(0.1+0.05*i,0,0)
  5886. LW.C0=cf(-1-0.5*i,0.5,-0.5+0.5*i)*euler(0.6+0.87*i,0,1-2.47*i)
  5887. RW.C0=cf(1+0.5*i,0.5,-0.5+0.5*i)*euler(0.6+0.87*i,0,-1+2.47*i)
  5888. end
  5889. numb=2
  5890. for i=0,1,0.1 do
  5891. wait()
  5892. Neck.C0=necko*euler(0.15+0.05*i,0,0)
  5893. LW.C0=cf(-1.5,0.5,0)*euler(1.47+0.1*(i*numb),0,-1.47-0.1*(i*numb))
  5894. RW.C0=cf(1.5,0.5,0)*euler(1.47+0.1*(i*numb),0,1.47+0.1*(i*numb))
  5895. numb=numb-0.1
  5896. end
  5897. for i=0,1,0.1 do
  5898. wait()
  5899. Neck.C0=necko*euler(0.2-0.2*i,0,0)
  5900. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.37*i,1.57*i,-1.57+1.57*i)
  5901. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5902. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.47*i,0,1.57-1.37*i)
  5903. end
  5904. attack=false
  5905. end
  5906.  
  5907. function Turbine()
  5908. if MMouse.Target~=nil and MMouse.Target.Name=="Cube Vertex2" and MMouse.Target.Parent:findFirstChild("Cube Vertex1")~=nil then
  5909. BoomCube=MMouse.Target
  5910. TargetPart=BoomCube.Parent["Cube Vertex1"]
  5911. attack=true
  5912. bg=Instance.new("BodyGyro")
  5913. bg.maxTorque = vt(0,math.huge,0)
  5914. bg.P = 3000
  5915. bg.cframe = cf(RootPart.Position,BoomCube.Position)
  5916. bg.Parent = RootPart
  5917. so("http://www.roblox.com/asset/?id=2101137",BoomCube,1,1)
  5918. for i=0,1,0.2 do
  5919. wait()
  5920. Neck.C0=necko*euler(0,0,1*i)
  5921. RootJoint.C0=RootCF*euler(0,0,-1*i)
  5922. LW.C0=cf(-1.5,0.5,0)*euler(0.2+1.37*i,1.57-1.57*i,-1*i)
  5923. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  5924. RW.C0=cf(1.5,0.5,0)*euler(0.1+1.47*i,0,-0.2+1.77*i)
  5925. Lightning(LeftArm.Position,BoomCube.Position,5,1,"White",0.3,0.1,0.1)
  5926. end
  5927. for i=1,10 do
  5928. wait()
  5929. Lightning(LeftArm.Position,BoomCube.Position,5,1,"White",0.3,0.1,0.1)
  5930. end
  5931. for i=1,2 do
  5932. MagicBlock(BrickColor.new("White"),BoomCube.CFrame,0.5,0.5,0.5,2,2,2)
  5933. end
  5934. MagicCircle(BrickColor.new("Blue"),BoomCube.CFrame,1,1,1,2,2,2,0.08)
  5935. so("http://www.roblox.com/asset/?id=2697431",BoomCube,1,0.2)
  5936. local c2=game.Workspace:GetChildren()
  5937. for i=1,#c2 do
  5938. local hum=c2[i]:findFirstChild("Humanoid")
  5939. if hum~=nil and hum.Health~=0 then
  5940. local head=c2[i]:findFirstChild("Head")
  5941. if head~=nil then
  5942. local targ=head.Position - BoomCube.Position
  5943. local mag=targ.magnitude
  5944. if mag<=12 and c2[i].Name~=Player.Name then
  5945. attackdebounce=false
  5946. Damagefunc2(head,10,20,0,BoomCube)
  5947. end
  5948. end
  5949. end
  5950. end
  5951. TargetPart.CFrame=LeftArm.CFrame*cf(0,-3,0)
  5952. wait(0.5)
  5953. for i=0,1,0.1 do
  5954. wait()
  5955. Neck.C0=necko*euler(0,0,1-1*i)
  5956. RootJoint.C0=RootCF*euler(0,0,-1+1*i)
  5957. LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.37*i,1.57*i,-1+1*i)
  5958. LW.C1=cf(0, 0.5, 0)*euler(0.2*i,0,0)
  5959. RW.C0=cf(1.5,0.5,0)*euler(1.57-1.47*i,0,1.57-1.77*i)
  5960. end
  5961. bg.Parent=nil
  5962. attack=false
  5963. end
  5964. end
  5965.  
  5966. function NewCube()
  5967. Cube=Instance.new("Model")
  5968. Cube.Parent=workspace
  5969. Cube.Name="Cube"
  5970. local cubevertex=part(3,Cube,0,0.6,BrickColor.new("White"),"Cube Vertex1",vt(1,1,1))
  5971. cubevertex.Anchored=true
  5972. cubevertex.CFrame=Torso.CFrame*cf(0,0.5,-2)
  5973. cubevertexmsh=mesh("SpecialMesh",cubevertex,"Sphere","",vt(0,0,0),vt(0.3,0.3,0.3))
  5974. local cube=part(3,Cube,0,0.2,BrickColor.new("White"),"Cube Vertex2",vt(1.5,1.5,1.5))
  5975. cube.CFrame=Torso.CFrame
  5976. cubemsh=mesh("BlockMesh",cube,"","",vt(0,0,0),vt(0.4,0.4,0.4))
  5977. cubemsh=mesh("SpecialMesh",cube,"Sphere","",vt(0,0,0),vt(0.2,0.2,0.2))
  5978. local actualcube=part(3,Cube,0,0.3,BrickColor.new("Bright blue"),"Cube",vt(1,1,1))
  5979. actualcube.CFrame=Torso.CFrame
  5980. --actualcubemsh=mesh("SpecialMesh",actualcube,"Sphere","",vt(0,0,0),vt(0.4,0.4,0.4))
  5981. actualcubemsh=mesh("BlockMesh",actualcube,"","",vt(0,0,0),vt(0.7,0.7,0.7))
  5982. local cubewld=weld(actualcube,actualcube,cube,cf(0,0,0))
  5983. coroutine.resume(coroutine.create(function(Part,Model)
  5984. while Part.Parent~=nil do
  5985. wait()
  5986. end
  5987. Model.Parent=nil
  5988. end),actualcube,Cube)
  5989. local spark=Instance.new("Sparkles")
  5990. spark.Parent=cube
  5991. spark.Color=Color3.new(0,0,255)
  5992. spark.Enabled=true
  5993. light=Instance.new("PointLight")
  5994. light.Brightness=.8
  5995. light.Color=Color3.new(.2,.2,255)
  5996. light.Range=10
  5997. light.Parent=cube
  5998. coroutine.resume(coroutine.create(function(Part,Weld)
  5999. numb1=0
  6000. numb2=0
  6001. numb3=0
  6002. while Part.Parent~=nil do
  6003. wait()
  6004. Weld.C0=Weld.C0*angles(numb1,numb2,numb3)
  6005. numb1=math.pi/math.random(10,20)
  6006. numb2=math.pi/math.random(20,30)
  6007. numb3=math.pi/math.random(20,30)
  6008. end
  6009. end),actualcube,cubewld)
  6010. prop=Instance.new("RocketPropulsion")
  6011. prop.MaxSpeed=5000
  6012. prop.CartoonFactor=0
  6013. prop.MaxThrust=10000
  6014. prop.Parent=cube
  6015. prop.Target=cubevertex
  6016. prop.ThrustD=1.5
  6017. prop.TurnD=0
  6018. prop.TurnP=0
  6019. print(prop.ThrustD)
  6020. prop:Fire()
  6021. end
  6022.  
  6023. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  6024. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  6025. end
  6026.  
  6027. function Lightning(p0,p1,tym,ofs,col,th,tra,last)
  6028. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  6029. for i=1,tym do
  6030. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true li.Transparency = tra or 0.4 li.BrickColor = BrickColor.new(col)
  6031. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  6032. light1=Instance.new("PointLight")
  6033. light1.Brightness=.8
  6034. light1.Color=Color3.new(.2,255,.2)
  6035. light1.Range=8
  6036. light1.Parent=li
  6037. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  6038. if tym == i then
  6039. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  6040. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  6041. else
  6042. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  6043. end
  6044. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,last)
  6045. end
  6046. end
  6047.  
  6048. function ElecEffect(cff,x,y,z)
  6049. local prt=part(3,workspace,0,0,BrickColor.new("White"),"Part",vt(1,1,1))
  6050. prt.Anchored=true
  6051. xval=math.random()
  6052. yval=math.random()
  6053. zval=math.random()
  6054. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(xval,yval,zval))
  6055. coroutine.resume(coroutine.create(function(Part,Mesh,Frame,xvaal,yvaal,zvaal)
  6056. Part.CFrame=Frame*cf(math.random(-x,x),math.random(-y,y),math.random(-z,z))
  6057. for i=1,8 do
  6058. wait()
  6059. xvaal=xvaal-0.1
  6060. yvaal=yvaal-0.1
  6061. zvaal=zvaal-0.1
  6062. Mesh.Scale=vt(xvaal,yvaal,zvaal)
  6063. Part.Transparency=Part.Transparency+0.09
  6064. end
  6065. Part.Parent=nil
  6066. end),prt,msh,cff,xval,yval,zval)
  6067. end
  6068.  
  6069. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  6070. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  6071. prt.Anchored=true
  6072. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  6073. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  6074. coroutine.resume(coroutine.create(function(Part,Mesh)
  6075. for i=0,1,0.1 do
  6076. wait()
  6077. Part.CFrame=Part.CFrame
  6078. Part.Transparency=i
  6079. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  6080. end
  6081. Part.Parent=nil
  6082. end),prt,msh)
  6083. end
  6084.  
  6085. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  6086. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  6087. prt.Anchored=true
  6088. prt.CFrame=cframe
  6089. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  6090. coroutine.resume(coroutine.create(function(Part,Mesh)
  6091. for i=0,1,delay do
  6092. wait()
  6093. Part.CFrame=Part.CFrame
  6094. Part.Transparency=i
  6095. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  6096. end
  6097. Part.Parent=nil
  6098. end),prt,msh)
  6099. end
  6100.  
  6101. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  6102. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  6103. prt.Anchored=true
  6104. prt.CFrame=cframe*euler(x2,y2,z2)
  6105. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  6106. coroutine.resume(coroutine.create(function(Part,Mesh)
  6107. for i=0,1,0.03 do
  6108. wait()
  6109. Part.CFrame=Part.CFrame
  6110. Part.Transparency=i
  6111. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  6112. end
  6113. Part.Parent=nil
  6114. end),prt,msh)
  6115. end
  6116.  
  6117. so = function(id,par,vol,pit)
  6118. coroutine.resume(coroutine.create(function()
  6119. local sou = Instance.new("Sound",par or workspace)
  6120. sou.Volume=vol
  6121. sou.Pitch=pit or 1
  6122. sou.SoundId=id
  6123. wait()
  6124. sou:play()
  6125. wait(6)
  6126. sou:Remove()
  6127. end))
  6128. end
  6129.  
  6130. function findNearestTorso(pos)
  6131. local list = game:service("Workspace"):children()
  6132. local torso = nil
  6133. local dist = 50
  6134. local temp = nil
  6135. local human = nil
  6136. local temp2 = nil
  6137. for x = 1, #list do
  6138. temp2 = list[x]
  6139. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
  6140. temp = temp2:findFirstChild("Torso")
  6141. human = temp2:findFirstChild("Humanoid")
  6142. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  6143. if (temp.Position - pos).magnitude < dist then
  6144. torso = temp
  6145. dist = (temp.Position - pos).magnitude
  6146. end
  6147. end
  6148. end
  6149. end
  6150. return torso
  6151. end
  6152.  
  6153. Damagefunc1=function(hit,minim,maxim,Knockback)
  6154. if hit.Parent==nil then
  6155. return
  6156. end
  6157. CPlayer=Bin
  6158. h=hit.Parent:FindFirstChild("Humanoid")
  6159. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  6160. if attackdebounce == false then
  6161. attackdebounce = true
  6162. coroutine.resume(coroutine.create(function()
  6163. wait(0.2)
  6164. attackdebounce = false
  6165. end))
  6166. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  6167. return
  6168. end]]
  6169. -- hs(hit,1.2)
  6170. c=Instance.new("ObjectValue")
  6171. c.Name="creator"
  6172. c.Value=game:service("Players").LocalPlayer
  6173. c.Parent=h
  6174. game:GetService("Debris"):AddItem(c,.5)
  6175. Damage=math.random(minim,maxim)
  6176. -- h:TakeDamage(Damage)
  6177. blocked=false
  6178. block=hit.Parent:findFirstChild("Block")
  6179. if block~=nil then
  6180. print("herp")
  6181. if block.Value>0 then
  6182. blocked=true
  6183. block.Value=block.Value-1
  6184. print(block.Value)
  6185. end
  6186. end
  6187. if blocked==false then
  6188. -- h:TakeDamage(Damage)
  6189. h.Health=h.Health-Damage
  6190. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  6191. else
  6192. h.Health=h.Health-(Damage/2)
  6193. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  6194. end
  6195. vp=Instance.new("BodyVelocity")
  6196. vp.P=500
  6197. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  6198. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  6199. vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  6200. if Knockback>0 then
  6201. vp.Parent=hit.Parent.Torso
  6202. end
  6203. game:GetService("Debris"):AddItem(vp,.25)
  6204. c=Instance.new("ObjectValue")
  6205. c.Name="creator"
  6206. c.Value=Player
  6207. c.Parent=h
  6208. game:GetService("Debris"):AddItem(c,.5)
  6209. CRIT=false
  6210. hitDeb=true
  6211. AttackPos=6
  6212. end
  6213. end
  6214. end
  6215.  
  6216. Damagefunc2=function(hit,minim,maxim,Knockback,MainPart)
  6217. if hit.Parent==nil then
  6218. return
  6219. end
  6220. CPlayer=Bin
  6221. h=hit.Parent:FindFirstChild("Humanoid")
  6222. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  6223. if attackdebounce == false then
  6224. attackdebounce = true
  6225. coroutine.resume(coroutine.create(function()
  6226. wait(0.2)
  6227. attackdebounce = false
  6228. end))
  6229. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  6230. return
  6231. end]]
  6232. -- hs(hit,1.2)
  6233. c=Instance.new("ObjectValue")
  6234. c.Name="creator"
  6235. c.Value=game:service("Players").LocalPlayer
  6236. c.Parent=h
  6237. game:GetService("Debris"):AddItem(c,.5)
  6238. Damage=math.random(minim,maxim)
  6239. -- h:TakeDamage(Damage)
  6240. blocked=false
  6241. block=hit.Parent:findFirstChild("Block")
  6242. if block~=nil then
  6243. print("herp")
  6244. if block.Value>0 then
  6245. blocked=true
  6246. block.Value=block.Value-1
  6247. print(block.Value)
  6248. end
  6249. end
  6250. if blocked==false then
  6251. -- h:TakeDamage(Damage)
  6252. h.Health=h.Health-Damage
  6253. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  6254. else
  6255. h.Health=h.Health-(Damage/2)
  6256. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  6257. end
  6258. newpos2=MainPart.Position
  6259. local angle = (hit.Position-(newpos2+Vector3.new(0,-3,0))).unit
  6260. print(angle)
  6261. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  6262. rl=Instance.new("BodyAngularVelocity")
  6263. rl.P=3000
  6264. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  6265. rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  6266. rl.Parent=hit
  6267. game:GetService("Debris"):AddItem(rl,1)
  6268. --end
  6269. local bodyVelocity=Instance.new("BodyVelocity")
  6270. bodyVelocity.velocity=angle*40+Vector3.new(0,35,0)
  6271. bodyVelocity.P=5000
  6272. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  6273. bodyVelocity.Parent=hit
  6274. game:GetService("Debris"):AddItem(bodyVelocity,.7)
  6275. c=Instance.new("ObjectValue")
  6276. c.Name="creator"
  6277. c.Value=Player
  6278. c.Parent=h
  6279. game:GetService("Debris"):AddItem(c,.5)
  6280. CRIT=false
  6281. hitDeb=true
  6282. AttackPos=6
  6283. end
  6284. end
  6285. end
  6286.  
  6287. showDamage=function(Char,Dealt,du,Color)
  6288. m=Instance.new("Model")
  6289. m.Name=tostring(Dealt)
  6290. h=Instance.new("Humanoid")
  6291. h.Health=0
  6292. h.MaxHealth=0
  6293. h.Parent=m
  6294. c=Instance.new("Part")
  6295. c.Transparency=0
  6296. c.BrickColor=Color
  6297. c.Name="Head"
  6298. c.TopSurface=0
  6299. c.BottomSurface=0
  6300. c.formFactor="Plate"
  6301. c.Size=Vector3.new(1,.4,1)
  6302. ms=Instance.new("CylinderMesh")
  6303. ms.Scale=Vector3.new(.8,.8,.8)
  6304. if CRIT==true then
  6305. ms.Scale=Vector3.new(1,1.25,1)
  6306. end
  6307. ms.Parent=c
  6308. c.Reflectance=0
  6309. Instance.new("BodyGyro").Parent=c
  6310. c.Parent=m
  6311. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  6312. f=Instance.new("BodyPosition")
  6313. f.P=2000
  6314. f.D=100
  6315. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  6316. f.position=c.Position+Vector3.new(0,3,0)
  6317. f.Parent=c
  6318. game:GetService("Debris"):AddItem(m,.5+du)
  6319. c.CanCollide=false
  6320. m.Parent=workspace
  6321. c.CanCollide=false
  6322. end
  6323.  
  6324. function ob1d(mouse)
  6325. if holdz==true then
  6326. throwcube=true
  6327. holdz=false
  6328. ThrowCube()
  6329. return end
  6330. if holdx==true then
  6331. throwcube=true
  6332. holdx=false
  6333. ThrowCube2()
  6334. return end
  6335. if attack == true then return end
  6336. hold=true
  6337. if combo==0 then
  6338. combo=1
  6339. attackone()
  6340. elseif combo==1 then
  6341. combo=2
  6342. attacktwo()
  6343. elseif combo==2 then
  6344. combo=3
  6345. attackthree()
  6346. end
  6347. coroutine.resume(coroutine.create(function()
  6348. wait(0.5)
  6349. if attack==false then
  6350. combo=0
  6351. Neck.C0=necko
  6352. RootJoint.C0=RootCF
  6353. LW.C0=cf(-1.5,0.5,0)*euler(0.2,1.57,0)
  6354. LW.C1=cf(0, 0.5, 0)*euler(-0.2,0,0)
  6355. RW.C0=cf(1.5,0.5,0)*euler(0.1,0,-0.2)
  6356. end
  6357. end))
  6358. end
  6359.  
  6360. function ob1u(mouse)
  6361. hold = false
  6362. end
  6363.  
  6364. buttonhold = false
  6365. holdz=false
  6366. holdx=false
  6367.  
  6368. eul=0
  6369. function key(key)
  6370. if attack == true then return end
  6371. --[[if key=="f" then
  6372. if Mode=="Normal" then
  6373. Electra()
  6374. elseif Mode=="Electra" then
  6375. Normal()
  6376. end
  6377. end]]
  6378. if key=="q" then
  6379. Apocalypse()
  6380. end
  6381. if key=="e" then
  6382. Turbine()
  6383. end
  6384. if key=="f" then
  6385. MakeCube()
  6386. end
  6387. if key=="z" then
  6388. holdz=true
  6389. GetCube()
  6390. end
  6391. if key=="x" then
  6392. holdx=true
  6393. GatherCubes()
  6394. end
  6395. if key=="c" then
  6396. TeleCube()
  6397. end
  6398. end
  6399.  
  6400. function key2(key)
  6401. if key=="z" then
  6402. holdz=false
  6403. end
  6404. if key=="x" then
  6405. holdx=false
  6406. end
  6407. end
  6408.  
  6409. function s(mouse)
  6410. mouse.Button1Down:connect(function() ob1d(mouse) end)
  6411. mouse.Button1Up:connect(function() ob1u(mouse) end)
  6412. mouse.KeyDown:connect(key)
  6413. mouse.KeyUp:connect(key2)
  6414. unsheathed = true
  6415. player = Player
  6416. ch = Character
  6417. MMouse = mouse
  6418. RSH = ch.Torso["Right Shoulder"]
  6419. LSH = ch.Torso["Left Shoulder"]
  6420. --
  6421. RSH.Parent = nil
  6422. LSH.Parent = nil
  6423. --
  6424. RW.Part0 = ch.Torso
  6425. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  6426. RW.C1 = CFrame.new(0, 0.5, 0)
  6427. RW.Part1 = ch["Right Arm"]
  6428. RW.Parent = ch.Torso
  6429. --_G.R = RW
  6430. --
  6431. LW.Part0 = ch.Torso
  6432. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  6433. LW.C1 = CFrame.new(0, 0.5, 0)
  6434. LW.Part1 = ch["Left Arm"]
  6435. LW.Parent = ch.Torso
  6436. --_G.L = LW
  6437. --
  6438. equipanim()
  6439. end
  6440.  
  6441. function ds(mouse)
  6442. hideanim()
  6443. wait(0)
  6444. RW.Parent = nil
  6445. LW.Parent = nil
  6446. RSH.Parent = player.Character.Torso
  6447. LSH.Parent = player.Character.Torso
  6448. end
  6449.  
  6450. Bin.Selected:connect(s)
  6451. Bin.Deselected:connect(ds)
  6452. Humanoid.Died:connect(function()
  6453. c=workspace:children()
  6454. for i=1,#c do
  6455. if c[i].Name=="Cube" then
  6456. c[i]:Remove()
  6457. end
  6458. end
  6459. end)
  6460. --[[function onRunning(speed)
  6461. if attack==true then return end
  6462. if speed>0 then
  6463. walking = true
  6464. for i = 0,1,0.1 do
  6465. wait()
  6466. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.4*i,1.57,0)
  6467. end
  6468. else
  6469. walking = false
  6470. for i = 0,1,0.1 do
  6471. wait()
  6472. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.4*i,1.57,0)
  6473. end
  6474. end
  6475. end
  6476. Character.Humanoid.Running:connect(onRunning) ]]
  6477. Anim="Idle"
  6478. walkoffset1=0
  6479. walkoffset2=0
  6480. Switching=false
  6481. while true do
  6482. wait()
  6483. if Mode=="Normal" then
  6484. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6485. if RootPart.Velocity.y > 2 then
  6486. if Anim~="Jump" then
  6487. Anim="Jump"
  6488. coroutine.resume(coroutine.create(function()
  6489. for i=0,1,0.2 do
  6490. wait()
  6491. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.6*i,1.57-1.57*i,0)
  6492. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  6493. RW.C0=cf(1.5,0.5,0)*euler(0.1-0.1*i,0,-0.2)
  6494. end
  6495. end))
  6496. end
  6497. elseif RootPart.Velocity.y < -2 then
  6498. if Anim~="Fall" then
  6499. Anim="Fall"
  6500. coroutine.resume(coroutine.create(function()
  6501. for i=0,1,0.2 do
  6502. wait()
  6503. LW.C0=cf(-1.5,0.5,0)*euler(-0.4+2.8*i,0,0)
  6504. RW.C0=cf(1.5,0.5,0)*euler(0,0,-0.2)
  6505. end
  6506. end))
  6507. end
  6508. elseif torvel < 1 then
  6509. if Anim~="Idle" then
  6510. Anim="Idle"
  6511. coroutine.resume(coroutine.create(function()
  6512. wait(0.1)
  6513. while Switching==true do
  6514. wait()
  6515. end
  6516. while Anim=="Idle" do
  6517. for i = 0,1,0.02 do
  6518. if Anim=="Idle" and attack==false then
  6519. wait()
  6520. LW.C0=cf(-1.5,0.5,0)*euler(0.2-0.1*i,1.57-0.05*i,0)
  6521. RW.C0=cf(1.5,0.5-0.1*i,0)*euler(0.1+0.1*i,0,-0.2)
  6522. end
  6523. end
  6524. for i = 0,1,0.02 do
  6525. if Anim=="Idle" and attack==false then
  6526. wait()
  6527. LW.C0=cf(-1.5,0.5,0)*euler(0.1+0.1*i,1.52+0.05*i,0)
  6528. RW.C0=cf(1.5,0.4+0.1*i,0)*euler(0.2-0.1*i,0,-0.2)
  6529. end
  6530. end
  6531. wait(0)
  6532. end
  6533. if Anim=="Walk" and attack==false then
  6534. print("Switch to Walk")
  6535. Switching=true
  6536. walkoffset1=0
  6537. walkoffset2=0
  6538. for i=0,1,0.15 do
  6539. wait()
  6540. walkoffset1=0.2+0.8*i
  6541. walkoffset2=0.1-0.9*i
  6542. LW.C0=cf(-1.5,0.5,0)*euler(walkoffset1,1.57-1.57*i,0)
  6543. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  6544. RW.C0=cf(1.5,0.5,0)*euler(walkoffset2,0,-0.2+0.2*i)
  6545. end
  6546. Switching=false
  6547. elseif Anim=="Run" and attack==false then
  6548. print("Switch to Run")
  6549. Switching=true
  6550. for i=0,1,0.1 do
  6551. wait()
  6552. if Anim=="Run" and attack==false then
  6553. print("runnin")
  6554. RootJoint.C0=RootCF*euler(0.5*i,0,0)
  6555. Neck.C0=necko*euler(-0.3*i,0,0)
  6556. LW.C0=cf(-1.5,0.5,0)*euler(0.2-1.2*i,1.57-1.57*i,0)
  6557. LW.C1=cf(0, 0.5, 0)*euler(-0.2+0.2*i,0,0)
  6558. RW.C0=cf(1.5,0.5,0)*euler(0.1-1.1*i,0,-0.2+0.2*i)
  6559. end
  6560. end
  6561. Switching=false
  6562. end
  6563. end))
  6564. end
  6565. elseif torvel < 19 then
  6566. if Anim~="Walk" then
  6567. Anim="Walk"
  6568. coroutine.resume(coroutine.create(function()
  6569. wait(0.1)
  6570. while Switching==true do
  6571. wait()
  6572. end
  6573. while Anim=="Walk" do
  6574. for i=0,1,0.15 do
  6575. if Anim=="Walk" and attack==false then
  6576. wait()
  6577. walkoffset1=1-2*i
  6578. walkoffset2=-1+2*i
  6579. LW.C0=cf(-1.5,0.5,0)*euler(walkoffset1,0,0)
  6580. RW.C0=cf(1.5,0.5,0)*euler(walkoffset2,0,0)
  6581. end
  6582. end
  6583. for i=0,1,0.15 do
  6584. if Anim=="Walk" and attack==false then
  6585. wait()
  6586. walkoffset1=-1+2*i
  6587. walkoffset2=1-2*i
  6588. LW.C0=cf(-1.5,0.5,0)*euler(walkoffset1,0,0)
  6589. RW.C0=cf(1.5,0.5,0)*euler(walkoffset2,0,0)
  6590. end
  6591. end
  6592. wait(0)
  6593. end
  6594. if Anim=="Idle" and attack==false then
  6595. print("Switch to Idle")
  6596. Switching=true
  6597. for i=0,1,0.1 do
  6598. wait()
  6599. if Anim=="Idle" and attack==false then
  6600. LW.C0=cf(-1.5,0.5,0)*euler((walkoffset1-walkoffset1*i)+(0.2*i),1.57*i,0)
  6601. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  6602. RW.C0=cf(1.5,0.5,0)*euler((walkoffset2-walkoffset2*i)+(0.1*i),0,-0.2*i)
  6603. end
  6604. end
  6605. walkoffset1=0
  6606. walkoffset2=0
  6607. Switching=false
  6608. end
  6609. end))
  6610. end
  6611. elseif torvel >= 30 then
  6612. if Anim~="Run" then
  6613. Anim="Run"
  6614. coroutine.resume(coroutine.create(function()
  6615. while Anim=="Run" do
  6616. wait()
  6617. if Anim=="Run" and attack==false then
  6618. LW.C0=cf(-1.5,0.5,0)*euler(-1,0,0)
  6619. LW.C1=cf(0, 0.5, 0)*euler(0,0,0)
  6620. RW.C0=cf(1.5,0.5,0)*euler(-1,0,0)
  6621. end
  6622. end
  6623. if Anim=="Idle" and attack==false then
  6624. print("Switch to Idle")
  6625. Switching=true
  6626. for i=0,1,0.1 do
  6627. wait()
  6628. RootJoint.C0=RootCF*euler(0.5-0.5*i,0,0)
  6629. Neck.C0=necko*euler(-0.3+0.3*i,0,0)
  6630. LW.C0=cf(-1.5,0.5,0)*euler(-1+1.2*i,1.57*i,0)
  6631. LW.C1=cf(0, 0.5, 0)*euler(-0.2*i,0,0)
  6632. RW.C0=cf(1.5,0.5,0)*euler(-1+1.1*i,0,-0.2*i)
  6633. end
  6634. Switching=false
  6635. end
  6636. end))
  6637. end
  6638. end
  6639. elseif Mode=="Electra" then
  6640. end
  6641. end
  6642. print("Mechanic Gauntlets loaded.")
  6643.  
  6644. --[[
  6645. Copyrighted (C) Fenrier 2014
  6646. ]]
  6647.  
  6648.  
  6649.  
  6650.  
  6651.  
  6652.  
  6653. --bird wings Gifted by harrypotterfan249, Local Script!
  6654. --Jump Two Time
  6655. --Down Press Q
  6656.  
  6657. script.Parent = nil
  6658.  
  6659. function fly()
  6660.  
  6661. for i,v in pairs(script:GetChildren()) do
  6662.  
  6663. pcall(function() v.Value = "" end)
  6664.  
  6665. game:GetService("Debris"):AddItem(v,.1)
  6666.  
  6667. end
  6668.  
  6669. function weld(p0,p1,c0,c1,par)
  6670.  
  6671. local w = Instance.new("Weld",p0 or par)
  6672.  
  6673. w.Part0 = p0
  6674.  
  6675. w.Part1 = p1
  6676.  
  6677. w.C0 = c0 or CFrame.new()
  6678.  
  6679. w.C1 = c1 or CFrame.new()
  6680.  
  6681. return w
  6682.  
  6683. end
  6684.  
  6685. local motors = {}
  6686.  
  6687. function motor(p0,p1,c0,c1,des,vel,par)
  6688.  
  6689. local w = Instance.new("Motor6D",p0 or par)
  6690.  
  6691. w.Part0 = p0
  6692.  
  6693. w.Part1 = p1
  6694.  
  6695. w.C0 = c0 or CFrame.new()
  6696.  
  6697. w.C1 = c1 or CFrame.new()
  6698.  
  6699. w.MaxVelocity = tonumber(vel) or .05
  6700.  
  6701. w.DesiredAngle = tonumber(des) or 0
  6702.  
  6703. return w
  6704.  
  6705. end
  6706.  
  6707. function lerp(a,b,c)
  6708.  
  6709. return a+(b-a)*c
  6710.  
  6711. end
  6712.  
  6713. function clerp(c1,c2,al)
  6714.  
  6715. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  6716.  
  6717. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  6718.  
  6719. for i,v in pairs(com1) do
  6720.  
  6721. com1[i] = lerp(v,com2[i],al)
  6722.  
  6723. end
  6724.  
  6725. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  6726.  
  6727. end
  6728.  
  6729. function ccomplerp(c1,c2,al)
  6730.  
  6731. local com1 = {c1:components()}
  6732.  
  6733. local com2 = {c2:components()}
  6734.  
  6735. for i,v in pairs(com1) do
  6736.  
  6737. com1[i] = lerp(v,com2[i],al)
  6738.  
  6739. end
  6740.  
  6741. return CFrame.new(unpack(com1))
  6742.  
  6743. end
  6744.  
  6745. function tickwave(time,length,offset)
  6746.  
  6747. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  6748.  
  6749. end
  6750.  
  6751. function invcol(c)
  6752.  
  6753. c = c.Color
  6754.  
  6755. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  6756.  
  6757. end
  6758.  
  6759. local oc = oc or function(...) return ... end
  6760.  
  6761. local plr = game.Players.LocalPlayer
  6762.  
  6763. local char = plr.Character
  6764.  
  6765. local tor = char.Torso
  6766.  
  6767. local hum = char.Humanoid
  6768.  
  6769. hum.PlatformStand = false
  6770.  
  6771. pcall(function()
  6772.  
  6773. char.Wings:Destroy()
  6774.  
  6775. end)
  6776.  
  6777. pcall(function()
  6778.  
  6779. char.Angel:Destroy() -- hat
  6780.  
  6781. end)
  6782.  
  6783. local mod = Instance.new("Model",char)
  6784.  
  6785. mod.Name = "Wings"
  6786.  
  6787. local special = {
  6788.  
  6789. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  6790.  
  6791. antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  6792.  
  6793. --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  6794.  
  6795. taart = {"Royal purple",nil,.4,.4,true},
  6796.  
  6797. mitta = {"Black",nil,0,0,false},
  6798.  
  6799. penjuin3 = {"White",nil,0,0,false},
  6800.  
  6801. thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  6802.  
  6803. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  6804.  
  6805. littleau999 = {"Reddish brown",1030,0,0,false},
  6806.  
  6807. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  6808.  
  6809. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  6810.  
  6811. krodmiss = {"Really black",nil,0,0,false},
  6812.  
  6813. }
  6814.  
  6815. local topcolor = invcol(char.Torso.BrickColor)
  6816.  
  6817. local feacolor = char.Torso.BrickColor
  6818.  
  6819. local ptrans = 0
  6820.  
  6821. local pref = 0
  6822.  
  6823. local fire = false
  6824.  
  6825. local fmcol = Color3.new()
  6826.  
  6827. local fscol = Color3.new()
  6828.  
  6829. local spec = special[plr.Name:lower()]
  6830.  
  6831. if spec then
  6832.  
  6833. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  6834.  
  6835. end
  6836.  
  6837. local part = Instance.new("Part")
  6838.  
  6839. part.FormFactor = "Custom"
  6840.  
  6841. part.Size = Vector3.new(.2,.2,.2)
  6842.  
  6843. part.TopSurface,part.BottomSurface = 0,0
  6844.  
  6845. part.CanCollide = false
  6846.  
  6847. part.BrickColor = topcolor
  6848.  
  6849. part.Transparency = ptrans
  6850.  
  6851. part.Reflectance = pref
  6852.  
  6853. local ef = Instance.new("Fire",fire and part or nil)
  6854.  
  6855. ef.Size = .15
  6856.  
  6857. ef.Color = fmcol or Color3.new()
  6858.  
  6859. ef.SecondaryColor = fscol or Color3.new()
  6860.  
  6861. part:BreakJoints()
  6862.  
  6863.  
  6864. function newpart()
  6865.  
  6866. local clone = part:Clone()
  6867.  
  6868. clone.Parent = mod
  6869.  
  6870. clone:BreakJoints()
  6871.  
  6872. return clone
  6873.  
  6874. end
  6875.  
  6876. local feath = newpart()
  6877.  
  6878. feath.BrickColor = feacolor
  6879.  
  6880. feath.Transparency = 0
  6881.  
  6882. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  6883.  
  6884. function newfeather()
  6885.  
  6886. local clone = feath:Clone()
  6887.  
  6888. clone.Parent = mod
  6889.  
  6890. clone:BreakJoints()
  6891.  
  6892. return clone
  6893.  
  6894. end
  6895.  
  6896.  
  6897. ---------- RIGHT WING
  6898.  
  6899. local r1 = newpart()
  6900.  
  6901. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  6902.  
  6903. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  6904.  
  6905. local r2 = newpart()
  6906.  
  6907. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  6908.  
  6909. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  6910.  
  6911. local r3 = newpart()
  6912.  
  6913. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  6914.  
  6915. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  6916.  
  6917. local r4 = newpart()
  6918.  
  6919. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  6920.  
  6921. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  6922.  
  6923. local feather = newfeather()
  6924.  
  6925. feather.Mesh.Scale = Vector3.new(1,1,1)
  6926.  
  6927. feather.Size = Vector3.new(.4,3,.3)
  6928.  
  6929. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  6930.  
  6931. feather = newfeather()
  6932.  
  6933. feather.Mesh.Scale = Vector3.new(1,1,1)
  6934.  
  6935. feather.Size = Vector3.new(.4,2.3,.3)
  6936.  
  6937. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  6938.  
  6939. feather = newfeather()
  6940.  
  6941. feather.Mesh.Scale = Vector3.new(1,1,1)
  6942.  
  6943. feather.Size = Vector3.new(.35,2.2,.25)
  6944.  
  6945. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  6946.  
  6947. local rf3 = {}
  6948.  
  6949. for i=0,7 do
  6950.  
  6951. feather = newfeather()
  6952.  
  6953. feather.Mesh.Scale = Vector3.new(1,1,1)
  6954.  
  6955. feather.Size = Vector3.new(.45,2.2,.35)
  6956.  
  6957. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  6958.  
  6959. end
  6960.  
  6961. local rf2 = {}
  6962.  
  6963. for i=0,6 do
  6964.  
  6965. feather = newfeather()
  6966.  
  6967. feather.Mesh.Scale = Vector3.new(1,1,1)
  6968.  
  6969. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  6970.  
  6971. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  6972.  
  6973. end
  6974.  
  6975. local rf1 = {}
  6976.  
  6977. for i=0,6 do
  6978.  
  6979. feather = newfeather()
  6980.  
  6981. feather.Mesh.Scale = Vector3.new(1,1,1)
  6982.  
  6983. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  6984.  
  6985. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  6986.  
  6987. end
  6988.  
  6989. ---------- LEFT WING
  6990.  
  6991. local l1 = newpart()
  6992.  
  6993. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  6994.  
  6995. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  6996.  
  6997. local l2 = newpart()
  6998.  
  6999. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  7000.  
  7001. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  7002.  
  7003. local l3 = newpart()
  7004.  
  7005. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  7006.  
  7007. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  7008.  
  7009. local l4 = newpart()
  7010.  
  7011. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  7012.  
  7013. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  7014.  
  7015. local feather = newfeather()
  7016.  
  7017. feather.Mesh.Scale = Vector3.new(1,1,1)
  7018.  
  7019. feather.Size = Vector3.new(.4,3,.3)
  7020.  
  7021. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  7022.  
  7023. feather = newfeather()
  7024.  
  7025. feather.Mesh.Scale = Vector3.new(1,1,1)
  7026.  
  7027. feather.Size = Vector3.new(.4,2.3,.3)
  7028.  
  7029. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  7030.  
  7031. feather = newfeather()
  7032.  
  7033. feather.Mesh.Scale = Vector3.new(1,1,1)
  7034.  
  7035. feather.Size = Vector3.new(.35,2.2,.25)
  7036.  
  7037. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  7038.  
  7039. local lf3 = {}
  7040.  
  7041. for i=0,7 do
  7042.  
  7043. feather = newfeather()
  7044.  
  7045. feather.Mesh.Scale = Vector3.new(1,1,1)
  7046.  
  7047. feather.Size = Vector3.new(.45,2.2,.35)
  7048.  
  7049. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  7050.  
  7051. end
  7052.  
  7053. local lf2 = {}
  7054.  
  7055. for i=0,6 do
  7056.  
  7057. feather = newfeather()
  7058.  
  7059. feather.Mesh.Scale = Vector3.new(1,1,1)
  7060.  
  7061. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  7062.  
  7063. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  7064.  
  7065. end
  7066.  
  7067. local lf1 = {}
  7068.  
  7069. for i=0,6 do
  7070.  
  7071. feather = newfeather()
  7072.  
  7073. feather.Mesh.Scale = Vector3.new(1,1,1)
  7074.  
  7075. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  7076.  
  7077. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  7078.  
  7079. end
  7080.  
  7081. local rwing = {rm1,rm2,rm3,rm4}
  7082.  
  7083. local lwing = {lm1,lm2,lm3,lm4}
  7084.  
  7085. local oc0 = {}
  7086.  
  7087. for i,v in pairs(rwing) do
  7088.  
  7089. oc0[v] = v.C0
  7090.  
  7091. end
  7092.  
  7093. for i,v in pairs(lwing) do
  7094.  
  7095. oc0[v] = v.C0
  7096.  
  7097. end
  7098.  
  7099. function gotResized()
  7100.  
  7101. if lastsize then
  7102.  
  7103. if tor.Size == lastsize then return end -- This shouldn't happen?
  7104.  
  7105. local scaleVec = tor.Size/lastsize
  7106.  
  7107. for i,v in pairs(oc0) do
  7108.  
  7109. oc0[i] = v-v.p+scaleVec*v.p
  7110.  
  7111. end
  7112.  
  7113. lastsize = tor.Size
  7114.  
  7115. end
  7116.  
  7117. lastsize = tor.Size
  7118.  
  7119. end
  7120.  
  7121. tor.Changed:connect(function(p)
  7122.  
  7123. if p == "Size" then
  7124.  
  7125. gotResized()
  7126.  
  7127. end
  7128.  
  7129. end)
  7130.  
  7131. gotResized()
  7132.  
  7133. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  7134.  
  7135. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  7136.  
  7137. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  7138.  
  7139. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  7140.  
  7141. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  7142.  
  7143. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  7144.  
  7145.  
  7146. function setwings(tab,time)
  7147.  
  7148. time = time or 10
  7149.  
  7150. for i=1,4 do
  7151.  
  7152. rwing[i].DesiredAngle = tab[i]
  7153.  
  7154. lwing[i].DesiredAngle = tab[i]
  7155.  
  7156. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  7157.  
  7158. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  7159.  
  7160. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  7161.  
  7162. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  7163.  
  7164. end
  7165.  
  7166. for i,v in pairs(rf1) do
  7167.  
  7168. v.DesiredAngle = tab[9]
  7169.  
  7170. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7171.  
  7172. end
  7173.  
  7174. for i,v in pairs(lf1) do
  7175.  
  7176. v.DesiredAngle = tab[9]
  7177.  
  7178. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7179.  
  7180. end
  7181.  
  7182. for i,v in pairs(rf2) do
  7183.  
  7184. v.DesiredAngle = tab[10]
  7185.  
  7186. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7187.  
  7188. end
  7189.  
  7190. for i,v in pairs(lf2) do
  7191.  
  7192. v.DesiredAngle = tab[10]
  7193.  
  7194. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7195.  
  7196. end
  7197.  
  7198. for i,v in pairs(rf3) do
  7199.  
  7200. v.DesiredAngle = tab[11]
  7201.  
  7202. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7203.  
  7204. end
  7205.  
  7206. for i,v in pairs(lf3) do
  7207.  
  7208. v.DesiredAngle = tab[11]
  7209.  
  7210. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  7211.  
  7212. end
  7213.  
  7214. end
  7215.  
  7216. setwings(outhigh,1)
  7217.  
  7218. flying = false
  7219.  
  7220. moving = false
  7221.  
  7222. for i,v in pairs(tor:GetChildren()) do
  7223.  
  7224. if v.ClassName:lower():match("body") then
  7225.  
  7226. v:Destroy()
  7227.  
  7228. end
  7229.  
  7230. end
  7231.  
  7232. local ctor = tor:Clone()
  7233.  
  7234. ctor:ClearAllChildren()
  7235.  
  7236. ctor.Name = "cTorso"
  7237.  
  7238. ctor.Transparency = 1
  7239.  
  7240. ctor.CanCollide = false
  7241.  
  7242. ctor.FormFactor = "Custom"
  7243.  
  7244. ctor.Size = Vector3.new(.2,.2,.2)
  7245.  
  7246. ctor.Parent = mod
  7247.  
  7248. weld(tor,ctor)
  7249.  
  7250. local bg = Instance.new("BodyGyro",ctor)
  7251.  
  7252. bg.maxTorque = Vector3.new()
  7253.  
  7254. bg.P = 15000
  7255.  
  7256. bg.D = 1000
  7257.  
  7258. local bv = Instance.new("BodyVelocity",ctor)
  7259.  
  7260. bv.maxForce = Vector3.new()
  7261.  
  7262. bv.P = 15000
  7263.  
  7264. vel = Vector3.new()
  7265.  
  7266. cf = CFrame.new()
  7267.  
  7268. flspd = 0
  7269.  
  7270.  
  7271. keysdown = {}
  7272.  
  7273. keypressed = {}
  7274.  
  7275. ktime = {}
  7276.  
  7277. descendtimer = 0
  7278.  
  7279. jumptime = tick()
  7280.  
  7281. hum.Jumping:connect(function()
  7282.  
  7283. jumptime = tick()
  7284.  
  7285. end)
  7286.  
  7287. cam = workspace.CurrentCamera
  7288.  
  7289. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  7290.  
  7291. keysdown[key] = true
  7292.  
  7293. keypressed[key] = true
  7294.  
  7295. if key == "q" then
  7296.  
  7297. descendtimer = tick()
  7298.  
  7299. elseif key == " " and not hum.Jump then
  7300.  
  7301. jumptime = tick()
  7302.  
  7303. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  7304.  
  7305. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  7306.  
  7307. end
  7308.  
  7309. ktime[key] = tick()
  7310.  
  7311. end))
  7312.  
  7313. ku = plr:GetMouse().KeyUp:connect(function(key)
  7314.  
  7315. keysdown[key] = false
  7316.  
  7317. if key == " " then
  7318.  
  7319. descendtimer = tick()
  7320.  
  7321. end
  7322.  
  7323. end)
  7324.  
  7325. function mid(a,b,c)
  7326.  
  7327. return math.max(a,math.min(b,c or -a))
  7328.  
  7329. end
  7330.  
  7331. function bn(a)
  7332.  
  7333. return a and 1 or 0
  7334.  
  7335. end
  7336.  
  7337. function gm(tar)
  7338.  
  7339. local m = 0
  7340.  
  7341. for i,v in pairs(tar:GetChildren()) do
  7342.  
  7343. if v:IsA("BasePart") then
  7344.  
  7345. m = m + v:GetMass()
  7346.  
  7347. end
  7348.  
  7349. m = m + gm(v)
  7350.  
  7351. end
  7352.  
  7353. return m
  7354.  
  7355. end
  7356.  
  7357. reqrotx = 0
  7358.  
  7359. local grav = 196.2
  7360.  
  7361. local con
  7362.  
  7363. con = game:GetService("RunService").Stepped:connect(oc(function()
  7364.  
  7365. --[[if not mod:IsDescendantOf(workspace) then
  7366.  
  7367. pcall(function() kd:disconnect() end)
  7368.  
  7369. pcall(function() ku:disconnect() end)
  7370.  
  7371. bg:Destroy()
  7372.  
  7373. bv:Destroy()
  7374.  
  7375. con:disconnect()
  7376.  
  7377. script:Destroy()
  7378.  
  7379. return
  7380.  
  7381. end]]
  7382.  
  7383. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  7384.  
  7385. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  7386.  
  7387. if flying then
  7388.  
  7389. local lfldir = fldir
  7390.  
  7391. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  7392.  
  7393. local lmoving = moving
  7394.  
  7395. moving = fldir.magnitude > .1
  7396.  
  7397. if lmoving and not moving then
  7398.  
  7399. idledir = lfldir*Vector3.new(1,0,1)
  7400.  
  7401. descendtimer = tick()
  7402.  
  7403. end
  7404.  
  7405. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  7406.  
  7407. if moving and keysdown["0"] and lmoving then
  7408.  
  7409. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  7410.  
  7411. end
  7412.  
  7413. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  7414.  
  7415. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  7416.  
  7417. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  7418.  
  7419. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  7420.  
  7421. hum.PlatformStand = true
  7422.  
  7423. bg.maxTorque = Vector3.new(1,1,1)*9e5
  7424.  
  7425. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  7426.  
  7427. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  7428.  
  7429. reqrotx = reqrotx - reqrotx/10
  7430.  
  7431. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  7432.  
  7433. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  7434.  
  7435. local ani = tickwave(1.5-anioff,1)
  7436.  
  7437. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  7438.  
  7439. vel = moving and cf.lookVector*flspd or Vector3.new()
  7440.  
  7441. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  7442.  
  7443. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  7444.  
  7445. for i=1,4 do
  7446.  
  7447. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  7448.  
  7449. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  7450.  
  7451. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  7452.  
  7453. end
  7454.  
  7455. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  7456.  
  7457. if hit and down.Y < -.85 and tick()-flystart > 1 then
  7458.  
  7459. flying = false
  7460.  
  7461. hum.PlatformStand = false
  7462.  
  7463. tor.Velocity = Vector3.new()
  7464.  
  7465. end
  7466.  
  7467. else
  7468.  
  7469. bg.maxTorque = Vector3.new()
  7470.  
  7471. bv.maxForce = Vector3.new()
  7472.  
  7473. local ani = tickwave(walking and .8 or 4.5,1)
  7474.  
  7475. setwings(idle,10)
  7476.  
  7477. local x,y,z = fspd/160,uspd/700,sspd/900
  7478.  
  7479. for i=1,4 do
  7480.  
  7481. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  7482.  
  7483. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  7484.  
  7485. end
  7486.  
  7487. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  7488.  
  7489. vel = Vector3.new(0,50,0)
  7490.  
  7491. bv.velocity = vel
  7492.  
  7493. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  7494.  
  7495. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  7496.  
  7497. tor.CFrame = cf
  7498.  
  7499. bg.cframe = cf
  7500.  
  7501. flystart = tick()
  7502.  
  7503. flying = true
  7504.  
  7505. end
  7506.  
  7507. end
  7508.  
  7509. keypressed = {}
  7510.  
  7511. end))
  7512.  
  7513.  
  7514.  
  7515. end fly()
  7516.  
  7517. --Bird Wings By Rosemarijohn2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement