Advertisement
ManlyMemeScripter

Tactical shotgun

Mar 6th, 2018
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.93 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Backpack = Player.Backpack
  5. Torso = Character.Torso
  6. Head = Character.Head
  7. Humanoid = Character.Humanoid
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. PlayerGui = Player.PlayerGui
  13. Backpack = Player.Backpack
  14. Torso = Character.Torso
  15. Head = Character.Head
  16. Humanoid = Character.Humanoid
  17. LeftArm = Character["Left Arm"]
  18. LeftLeg = Character["Left Leg"]
  19. RightArm = Character["Right Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LS = Torso["Left Shoulder"]
  22. RS = Torso["Right Shoulder"]
  23. Neck = Torso.Neck
  24. attacktype = 1
  25. vt = Vector3.new
  26. cf = CFrame.new
  27. euler = CFrame.fromEulerAnglesXYZ
  28. angles = CFrame.Angles
  29. necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  32. LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  33. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  34. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  35. RootPart = Character.HumanoidRootPart
  36. RootJoint = RootPart.RootJoint
  37. RootCF = euler(-1.57, 0, 3.14)
  38. attack = false
  39. equipped = false
  40. local Anim = "Idle"
  41. local Effects = {}
  42. cam = workspace.CurrentCamera
  43. ZTarget = nil
  44. RocketTarget = nil
  45. local RbxUtility = LoadLibrary("RbxUtility")
  46. local Create = RbxUtility.Create
  47. local m = Create("Model"){
  48. Parent = Character,
  49. Name = "WeaponModel",
  50. }
  51. mouse = Player:GetMouse()
  52. RSH = Torso["Right Shoulder"]
  53. LSH = Torso["Left Shoulder"]
  54. RHP = Character.Torso["Right Hip"]
  55. LHP = Character.Torso["Left Hip"]
  56.  
  57. function NoOutline(Part)
  58. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  59. end
  60. function swait(num)
  61. if num == 0 or num == nil then
  62. game:service'RunService'.Heartbeat:wait()
  63. else
  64. for i = 0, num do
  65. game:service'RunService'.Heartbeat:wait()
  66. end
  67. end
  68. end
  69.  
  70. function nooutline(part)
  71. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  72. end
  73.  
  74. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  75. local fp = Create("Part"){
  76. formFactor = formfactor,
  77. Parent = parent,
  78. Reflectance = reflectance,
  79. Transparency = transparency,
  80. CanCollide = false,
  81. Locked = true,
  82. BrickColor = BrickColor.new(tostring(brickcolor)),
  83. Name = name,
  84. Size = size,
  85. Position = Character.Torso.Position,
  86. Material = material,
  87. }
  88. nooutline(fp)
  89. return fp
  90. end
  91.  
  92. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  93. local Msh = Create(Mesh){
  94. Parent = part,
  95. Offset = offset,
  96. Scale = scale,
  97. }
  98. if Mesh == "SpecialMesh" then
  99. Msh.MeshType = meshtype
  100. Msh.MeshId = meshid
  101. end
  102. return Msh
  103. end
  104.  
  105. function weld(parent, part0, part1, c0, c1)
  106. local Weld = Create("Weld"){
  107. Parent = parent,
  108. Part0 = part0,
  109. Part1 = part1,
  110. C0 = c0,
  111. C1 = c1,
  112. }
  113. return Weld
  114. end
  115.  
  116.  
  117. local function CFrameFromTopBack(at, top, back)
  118. local right = top:Cross(back)
  119. return CFrame.new(at.x, at.y, at.z,
  120. right.x, top.x, back.x,
  121. right.y, top.y, back.y,
  122. right.z, top.z, back.z)
  123. end
  124.  
  125. function Triangle(a, b, c)
  126. local edg1 = (c - a):Dot((b - a).unit)
  127. local edg2 = (a - b):Dot((c - b).unit)
  128. local edg3 = (b - c):Dot((a - c).unit)
  129. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  130. a, b, c = a, b, c
  131. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  132. a, b, c = b, c, a
  133. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  134. a, b, c = c, a, b
  135. else
  136. assert(false, "unreachable")
  137. end
  138.  
  139. local len1 = (c - a):Dot((b - a).unit)
  140. local len2 = (b - a).magnitude - len1
  141. local width = (a + (b - a).unit * len1 - c).magnitude
  142.  
  143. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  144.  
  145. local list = {}
  146.  
  147. local Color = BrickColor.new("Dark stone grey")
  148.  
  149. if len1 > 0.01 then
  150. local w1 = Create('WedgePart', m){
  151. Material = "SmoothPlastic",
  152. FormFactor = 'Custom',
  153. BrickColor = Color,
  154. Transparency = 0,
  155. Reflectance = 0,
  156. Material = "SmoothPlastic",
  157. CanCollide = false,
  158. Anchored = true,
  159. Parent = workspace,
  160. Transparency = 0.3,
  161. }
  162. game:GetService("Debris"):AddItem(w1, 5)
  163. NoOutline(w1)
  164. local sz = Vector3.new(0.2, width, len1)
  165. w1.Size = sz
  166. local sp = Create("SpecialMesh"){
  167. Parent = w1,
  168. MeshType = "Wedge",
  169. Scale = Vector3.new(0, 1, 1) * sz / w1.Size,
  170. }
  171. w1:BreakJoints()
  172. table.insert(Effects, {
  173. w1,
  174. "Disappear",
  175. .03
  176. })
  177. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  178. table.insert(list, w1)
  179. end
  180. if len2 > 0.01 then
  181. local w2 = Create('WedgePart', m){
  182. Material = "SmoothPlastic",
  183. FormFactor = 'Custom',
  184. BrickColor = Color,
  185. Transparency = 0,
  186. Reflectance = 0,
  187. Material = "SmoothPlastic",
  188. CanCollide = false,
  189. Anchored = true,
  190. Parent = workspace,
  191. Transparency = 0.3,
  192. }
  193. game:GetService("Debris"):AddItem(w2, 5)
  194. NoOutline(w2)
  195. local sz = Vector3.new(0.2, width, len2)
  196. w2.Size = sz
  197. local sp = Create("SpecialMesh"){
  198. Parent = w2,
  199. MeshType = "Wedge",
  200. Scale = Vector3.new(0, 1, 1) * sz / w2.Size,
  201. }
  202. w2:BreakJoints()
  203. table.insert(Effects, {
  204. w2,
  205. "Disappear",
  206. .03
  207. })
  208. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  209. table.insert(list, w2)
  210. end
  211. return unpack(list)
  212. end
  213.  
  214. function so(id, par, vol, pit)
  215. coroutine.resume(coroutine.create(function()
  216. local sou = Instance.new("Sound", par or workspace)
  217. sou.Volume = vol
  218. sou.Pitch = pit or 1
  219. sou.SoundId = id
  220. swait()
  221. sou:play()
  222. swait(6)
  223. sou:Remove()
  224. end))
  225. end
  226.  
  227. function clerp(a, b, t)
  228.  
  229. local function QuaternionFromCFrame(cf)
  230. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  231. local trace = m00 + m11 + m22
  232. if trace > 0 then
  233. local s = math.sqrt(1 + trace)
  234. local recip = 0.5 / s
  235. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  236. else
  237. local i = 0
  238. if m11 > m00 then
  239. i = 1
  240. end
  241. if m22 > (i == 0 and m00 or m11) then
  242. i = 2
  243. end
  244. if i == 0 then
  245. local s = math.sqrt(m00 - m11 - m22 + 1)
  246. local recip = 0.5 / s
  247. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  248. elseif i == 1 then
  249. local s = math.sqrt(m11 - m22 - m00 + 1)
  250. local recip = 0.5 / s
  251. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  252. elseif i == 2 then
  253. local s = math.sqrt(m22 - m00 - m11 + 1)
  254. local recip = 0.5 / s
  255. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  256. end
  257. end
  258. end
  259.  
  260. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  261. local xs, ys, zs = x + x, y + y, z + z
  262. local wx, wy, wz = w * xs, w * ys, w * zs
  263. local xx = x * xs
  264. local xy = x * ys
  265. local xz = x * zs
  266. local yy = y * ys
  267. local yz = y * zs
  268. local zz = z * zs
  269. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  270. end
  271.  
  272. local function QuaternionSlerp(a, b, t)
  273. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  274. local startInterp, finishInterp;
  275. if cosTheta >= 0.0001 then
  276. if (1 - cosTheta) > 0.0001 then
  277. local theta = math.acos(cosTheta)
  278. local invSinTheta = 1 / math.sin(theta)
  279. startInterp = math.sin((1 - t) * theta) * invSinTheta
  280. finishInterp = math.sin(t * theta) * invSinTheta
  281. else
  282. startInterp = 1 - t
  283. finishInterp = t
  284. end
  285. else
  286. if (1 + cosTheta) > 0.0001 then
  287. local theta = math.acos(-cosTheta)
  288. local invSinTheta = 1 / math.sin(theta)
  289. startInterp = math.sin((t - 1) * theta) * invSinTheta
  290. finishInterp = math.sin(t * theta) * invSinTheta
  291. else
  292. startInterp = t - 1
  293. finishInterp = t
  294. end
  295. end
  296. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  297. end
  298.  
  299. local qa = {
  300. QuaternionFromCFrame(a)
  301. }
  302. local qb = {
  303. QuaternionFromCFrame(b)
  304. }
  305. local ax, ay, az = a.x, a.y, a.z
  306. local bx, by, bz = b.x, b.y, b.z
  307.  
  308. local _t = 1 - t
  309. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  310. end
  311.  
  312. function rayCast(Pos, Dir, Max, Ignore)
  313. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  314. end
  315.  
  316. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  317. if hit.Parent == nil then
  318. return
  319. end
  320. local h = hit.Parent:FindFirstChild("Humanoid")
  321. for _, v in pairs(hit.Parent:children()) do
  322. if v:IsA("Humanoid") then
  323. h = v
  324. end
  325. end
  326. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  327. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  328. if hit.Parent.DebounceHit.Value == true then
  329. return
  330. end
  331. end
  332. if h.MaxHealth >= math.huge then
  333. hit:BreakJoints()
  334. end
  335. local c = Create("ObjectValue"){
  336. Name = "creator",
  337. Value = game:service("Players").LocalPlayer,
  338. Parent = h,
  339. }
  340. game:GetService("Debris"):AddItem(c, .5)
  341. if HitSound ~= nil and HitPitch ~= nil then
  342. so(HitSound, hit, 1, HitPitch)
  343. end
  344. local Damage = math.random(minim, maxim)
  345. local blocked = false
  346. local block = hit.Parent:findFirstChild("Block")
  347. if block ~= nil then
  348. if block.className == "IntValue" then
  349. if block.Value > 0 then
  350. blocked = true
  351. block.Value = block.Value - 1
  352. print(block.Value)
  353. end
  354. end
  355. end
  356. if blocked == false then
  357. h.Health = h.Health - Damage
  358. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color, Handle.BrickColor.Color)
  359. else
  360. h.Health = h.Health - (Damage / 2)
  361. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color, Handle.BrickColor.Color)
  362. end
  363. if Type == "Knockdown" then
  364. local hum = hit.Parent.Humanoid
  365. hum.PlatformStand = true
  366. coroutine.resume(coroutine.create(function(HHumanoid)
  367. swait(1)
  368. HHumanoid.PlatformStand = false
  369. end), hum)
  370. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  371. local bodvol = Create("BodyVelocity"){
  372. velocity = angle * knockback,
  373. P = 5000,
  374. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  375. Parent = hit,
  376. }
  377. local rl = Create("BodyAngularVelocity"){
  378. P = 3000,
  379. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  380. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  381. Parent = hit,
  382. }
  383. game:GetService("Debris"):AddItem(bodvol, .5)
  384. game:GetService("Debris"):AddItem(rl, .5)
  385. elseif Type == "Normal" then
  386. local vp = Create("BodyVelocity"){
  387. P = 500,
  388. maxForce = Vector3.new(math.huge, 0, math.huge),
  389. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  390. }
  391. if knockback > 0 then
  392. vp.Parent = hit.Parent.Torso
  393. end
  394. game:GetService("Debris"):AddItem(vp, .5)
  395. elseif Type == "Up" then
  396. local bodyVelocity = Create("BodyVelocity"){
  397. velocity = vt(0, 20, 0),
  398. P = 5000,
  399. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  400. Parent = hit,
  401. }
  402. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  403. elseif Type == "Snare" then
  404. local bp = Create("BodyPosition"){
  405. P = 2000,
  406. D = 100,
  407. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  408. position = hit.Parent.Torso.Position,
  409. Parent = hit.Parent.Torso,
  410. }
  411. game:GetService("Debris"):AddItem(bp, 1)
  412. elseif Type == "Freeze" then
  413. local BodPos = Create("BodyPosition"){
  414. P = 50000,
  415. D = 1000,
  416. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  417. position = hit.Parent.Torso.Position,
  418. Parent = hit.Parent.Torso,
  419. }
  420. local BodGy = Create("BodyGyro") {
  421. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  422. P = 20e+003,
  423. Parent = hit.Parent.Torso,
  424. cframe = hit.Parent.Torso.CFrame,
  425. }
  426. hit.Parent.Torso.Anchored = true
  427. coroutine.resume(coroutine.create(function(Part)
  428. swait(1.5)
  429. Part.Anchored = false
  430. end), hit.Parent.Torso)
  431. game:GetService("Debris"):AddItem(BodPos, 3)
  432. game:GetService("Debris"):AddItem(BodGy, 3)
  433. end
  434. local debounce = Create("BoolValue"){
  435. Name = "DebounceHit",
  436. Parent = hit.Parent,
  437. Value = true,
  438. }
  439. game:GetService("Debris"):AddItem(debounce, Delay)
  440. c = Instance.new("ObjectValue")
  441. c.Name = "creator"
  442. c.Value = Player
  443. c.Parent = h
  444. game:GetService("Debris"):AddItem(c, .5)
  445. end
  446. end
  447.  
  448. function ShowDamage(Pos, Text, Time, Color, Color2)
  449. local Rate = (1 / 30)
  450. local Pos = (Pos or Vector3.new(0, 0, 0))
  451. local Text = (Text or "")
  452. local Time = (Time or 2)
  453. local Color = (Color or Color3.new(1, 0, 0))
  454. local EffectPart = part("Custom", workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  455. EffectPart.Anchored = true
  456. local BillboardGui = Create("BillboardGui"){
  457. Size = UDim2.new(3, 0, 3, 0),
  458. Adornee = EffectPart,
  459. Parent = EffectPart,
  460. }
  461. local TextLabel = Create("TextLabel"){
  462. BackgroundTransparency = 1,
  463. Size = UDim2.new(1, 0, 1, 0),
  464. Text = Text,
  465. TextColor3 = Color,
  466. TextScaled = true,
  467. Font = Enum.Font.ArialBold,
  468. FontSize = Enum.FontSize.Size10,
  469. TextStrokeColor3 = Color2,
  470. TextStrokeTransparency = 0.8,
  471. Parent = BillboardGui,
  472. }
  473. game.Debris:AddItem(EffectPart, (Time + 0.1))
  474. EffectPart.Parent = game:GetService("Workspace")
  475. delay(0, function()
  476. local Frames = (Time / Rate)
  477. for Frame = 1, Frames do
  478. wait(Rate)
  479. local Percent = (Frame / Frames)
  480. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  481. TextLabel.TextTransparency = Percent
  482. end
  483. if EffectPart and EffectPart.Parent then
  484. EffectPart:Destroy()
  485. end
  486. end)
  487. end
  488.  
  489. Handle=local Part1 = Instance.new("Part", Model)
  490. Part1.Name = "Part"
  491. Part1.Reflectance = 0
  492. Part1.Transparency = 0
  493. Part1.Anchored = false
  494. Part1.Archivable = true
  495. Part1.CanCollide = false
  496. Part1.Locked = false
  497. Part1.BrickColor = BrickColor.new("Black")
  498. Part1.Material = Enum.Material.SmoothPlastic
  499. Part1.Position = Vector3.new(164.90884399414, 41.163925170898, -103.25901794434)
  500. Part1.Size = Vector3.new(0.069400206208229, 0.069400206208229, 0.25493285059929)
  501. Part1.Rotation = Vector3.new(25.789999008179, -24.329999923706, -13.179999351501)
  502. ---------------------------------------------
  503. local Part2 = Instance.new("Part", Model)
  504. Part2.Name = "Part"
  505. Part2.Reflectance = 0
  506. Part2.Transparency = 0
  507. Part2.Anchored = false
  508. Part2.Archivable = true
  509. Part2.CanCollide = false
  510. Part2.Locked = false
  511. Part2.BrickColor = BrickColor.new("Really black")
  512. Part2.Material = Enum.Material.SmoothPlastic
  513. Part2.Position = Vector3.new(165.0224609375, 41.413940429688, -103.30830383301)
  514. Part2.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  515. Part2.Rotation = Vector3.new(-157.62998962402, 9.1799993515015, -83.430000305176)
  516. ---------------------------------------------
  517. local Part3 = Instance.new("Part", Model)
  518. Part3.Name = "Part"
  519. Part3.Reflectance = 0
  520. Part3.Transparency = 0
  521. Part3.Anchored = false
  522. Part3.Archivable = true
  523. Part3.CanCollide = false
  524. Part3.Locked = false
  525. Part3.BrickColor = BrickColor.new("Bright red")
  526. Part3.Material = Enum.Material.SmoothPlastic
  527. Part3.Position = Vector3.new(166.67388916016, 41.023059844971, -102.93870544434)
  528. Part3.Size = Vector3.new(0.082514435052872, 0.090519063174725, 0.069400206208229)
  529. Part3.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  530. ---------------------------------------------
  531. local Part4 = Instance.new("Part", Model)
  532. Part4.Name = "Part"
  533. Part4.Reflectance = 0
  534. Part4.Transparency = 0
  535. Part4.Anchored = false
  536. Part4.Archivable = true
  537. Part4.CanCollide = false
  538. Part4.Locked = false
  539. Part4.BrickColor = BrickColor.new("Really black")
  540. Part4.Material = Enum.Material.SmoothPlastic
  541. Part4.Position = Vector3.new(165.45693969727, 41.015502929688, -102.94741821289)
  542. Part4.Size = Vector3.new(0.24631232023239, 0.069400206208229, 0.069400206208229)
  543. Part4.Rotation = Vector3.new(5.7300000190735, 29.5, -11.509999275208)
  544. ---------------------------------------------
  545. local Part5 = Instance.new("Part", Model)
  546. Part5.Name = "Part"
  547. Part5.Reflectance = 0
  548. Part5.Transparency = 0
  549. Part5.Anchored = false
  550. Part5.Archivable = true
  551. Part5.CanCollide = true
  552. Part5.Locked = false
  553. Part5.BrickColor = BrickColor.new("Smoky grey")
  554. Part5.Material = Enum.Material.SmoothPlastic
  555. Part5.Position = Vector3.new(164.52278137207, 40.984851837158, -103.09474182129)
  556. Part5.Size = Vector3.new(0.38732472062111, 0.31897461414337, 0.19581814110279)
  557. Part5.Rotation = Vector3.new(0.0099999997764826, 0, 51.569999694824)
  558. ---------------------------------------------
  559. local Part6 = Instance.new("Part", Model)
  560. Part6.Name = "Part"
  561. Part6.Reflectance = 1
  562. Part6.Transparency = 0
  563. Part6.Anchored = false
  564. Part6.Archivable = true
  565. Part6.CanCollide = false
  566. Part6.Locked = false
  567. Part6.BrickColor = BrickColor.new("Medium stone grey")
  568. Part6.Material = Enum.Material.Metal
  569. Part6.Position = Vector3.new(166.54708862305, 40.568359375, -103.24775695801)
  570. Part6.Size = Vector3.new(0.086209401488304, 0.069400206208229, 0.076356701552868)
  571. Part6.Rotation = Vector3.new(172, -1.4499999284744, -159.87998962402)
  572. ---------------------------------------------
  573. local Part7 = Instance.new("Part", Model)
  574. Part7.Name = "Part"
  575. Part7.Reflectance = 0
  576. Part7.Transparency = 0
  577. Part7.Anchored = false
  578. Part7.Archivable = true
  579. Part7.CanCollide = false
  580. Part7.Locked = false
  581. Part7.BrickColor = BrickColor.new("Bright red")
  582. Part7.Material = Enum.Material.SmoothPlastic
  583. Part7.Position = Vector3.new(166.2642364502, 41.095203399658, -102.93872070313)
  584. Part7.Size = Vector3.new(0.10406660288572, 0.10345050692558, 0.069400206208229)
  585. Part7.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  586. ---------------------------------------------
  587. local Part8 = Instance.new("Part", Model)
  588. Part8.Name = "Part"
  589. Part8.Reflectance = 0
  590. Part8.Transparency = 0
  591. Part8.Anchored = false
  592. Part8.Archivable = true
  593. Part8.CanCollide = false
  594. Part8.Locked = false
  595. Part8.BrickColor = BrickColor.new("Bright red")
  596. Part8.Material = Enum.Material.SmoothPlastic
  597. Part8.Position = Vector3.new(166.46594238281, 41.067005157471, -103.24800109863)
  598. Part8.Size = Vector3.new(0.51109778881073, 0.10345050692558, 0.069400206208229)
  599. Part8.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  600. ---------------------------------------------
  601. local Part9 = Instance.new("Part", Model)
  602. Part9.Name = "Part"
  603. Part9.Reflectance = 0
  604. Part9.Transparency = 0
  605. Part9.Anchored = false
  606. Part9.Archivable = true
  607. Part9.CanCollide = false
  608. Part9.Locked = false
  609. Part9.BrickColor = BrickColor.new("Really black")
  610. Part9.Material = Enum.Material.Neon
  611. Part9.Position = Vector3.new(166.05349731445, 41.131248474121, -102.95325469971)
  612. Part9.Size = Vector3.new(0.10406704992056, 0.069400206208229, 0.069400206208229)
  613. Part9.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  614. ---------------------------------------------
  615. local Part10 = Instance.new("Part", Model)
  616. Part10.Name = "Part"
  617. Part10.Reflectance = 0
  618. Part10.Transparency = 0
  619. Part10.Anchored = false
  620. Part10.Archivable = true
  621. Part10.CanCollide = false
  622. Part10.Locked = false
  623. Part10.BrickColor = BrickColor.new("Bright red")
  624. Part10.Material = Enum.Material.SmoothPlastic
  625. Part10.Position = Vector3.new(166.44909667969, 40.97155380249, -102.97232055664)
  626. Part10.Size = Vector3.new(0.51109778881073, 0.12315548211336, 0.069400206208229)
  627. Part10.Rotation = Vector3.new(35.829998016357, -5.9000000953674, -8.0900001525879)
  628. ---------------------------------------------
  629. local WedgePart11 = Instance.new("WedgePart", Model)
  630. WedgePart11.Name = "Wedge"
  631. WedgePart11.Reflectance = 0
  632. WedgePart11.Transparency = 0
  633. WedgePart11.Anchored = false
  634. WedgePart11.Archivable = true
  635. WedgePart11.CanCollide = true
  636. WedgePart11.Locked = false
  637. WedgePart11.BrickColor = BrickColor.new("Fossil")
  638. WedgePart11.Material = Enum.Material.Metal
  639. WedgePart11.Position = Vector3.new(164.51707458496, 41.301322937012, -103.09078979492)
  640. WedgePart11.Size = Vector3.new(0.20197606086731, 0.083130426704884, 0.47722944617271)
  641. WedgePart11.Rotation = Vector3.new(-89.98999786377, 58.430000305176, 91.430000305176)
  642. ---------------------------------------------
  643. local Part12 = Instance.new("Part", Model)
  644. Part12.Name = "Part"
  645. Part12.Reflectance = 1
  646. Part12.Transparency = 0
  647. Part12.Anchored = false
  648. Part12.Archivable = true
  649. Part12.CanCollide = false
  650. Part12.Locked = false
  651. Part12.BrickColor = BrickColor.new("Medium stone grey")
  652. Part12.Material = Enum.Material.Metal
  653. Part12.Position = Vector3.new(166.23904418945, 40.668403625488, -102.9602355957)
  654. Part12.Size = Vector3.new(0.086825184524059, 0.069400206208229, 0.069400206208229)
  655. Part12.Rotation = Vector3.new(-4.4000000953674, 0.76999998092651, 0.23999999463558)
  656. ---------------------------------------------
  657. local Part13 = Instance.new("Part", Model)
  658. Part13.Name = "Part"
  659. Part13.Reflectance = 1
  660. Part13.Transparency = 0
  661. Part13.Anchored = false
  662. Part13.Archivable = true
  663. Part13.CanCollide = false
  664. Part13.Locked = false
  665. Part13.BrickColor = BrickColor.new("Medium stone grey")
  666. Part13.Material = Enum.Material.Metal
  667. Part13.Position = Vector3.new(166.23558044434, 40.719066619873, -102.98107910156)
  668. Part13.Size = Vector3.new(0.089288309216499, 0.069400206208229, 0.069400206208229)
  669. Part13.Rotation = Vector3.new(-4.4000000953674, 0.76999998092651, 0.23999999463558)
  670. ---------------------------------------------
  671. local Part14 = Instance.new("Part", Model)
  672. Part14.Name = "Part"
  673. Part14.Reflectance = 0
  674. Part14.Transparency = 0
  675. Part14.Anchored = false
  676. Part14.Archivable = true
  677. Part14.CanCollide = false
  678. Part14.Locked = false
  679. Part14.BrickColor = BrickColor.new("Really red")
  680. Part14.Material = Enum.Material.SmoothPlastic
  681. Part14.Position = Vector3.new(163.55668640137, 40.970157623291, -103.10987854004)
  682. Part14.Size = Vector3.new(0.2623225748539, 0.069400206208229, 0.24939115345478)
  683. Part14.Rotation = Vector3.new(0.0099999997764826, 0, -140)
  684. ---------------------------------------------
  685. local Part15 = Instance.new("Part", Model)
  686. Part15.Name = "Part"
  687. Part15.Reflectance = 0
  688. Part15.Transparency = 0
  689. Part15.Anchored = false
  690. Part15.Archivable = true
  691. Part15.CanCollide = true
  692. Part15.Locked = false
  693. Part15.BrickColor = BrickColor.new("Fossil")
  694. Part15.Material = Enum.Material.Metal
  695. Part15.Position = Vector3.new(165.00764465332, 41.305137634277, -103.09066772461)
  696. Part15.Size = Vector3.new(0.65950012207031, 0.2186021655798, 0.20136019587517)
  697. Part15.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  698. ---------------------------------------------
  699. local Part16 = Instance.new("Part", Model)
  700. Part16.Name = "Part"
  701. Part16.Reflectance = 0
  702. Part16.Transparency = 0
  703. Part16.Anchored = false
  704. Part16.Archivable = true
  705. Part16.CanCollide = false
  706. Part16.Locked = false
  707. Part16.BrickColor = BrickColor.new("Really black")
  708. Part16.Material = Enum.Material.SmoothPlastic
  709. Part16.Position = Vector3.new(165.09143066406, 41.172832489014, -102.95893096924)
  710. Part16.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  711. Part16.Rotation = Vector3.new(-7.6900000572205, -6.4099998474121, -30.429998397827)
  712. ---------------------------------------------
  713. local Part17 = Instance.new("Part", Model)
  714. Part17.Name = "Part"
  715. Part17.Reflectance = 0
  716. Part17.Transparency = 0
  717. Part17.Anchored = false
  718. Part17.Archivable = true
  719. Part17.CanCollide = false
  720. Part17.Locked = false
  721. Part17.BrickColor = BrickColor.new("Smoky grey")
  722. Part17.Material = Enum.Material.SmoothPlastic
  723. Part17.Position = Vector3.new(165.06517028809, 40.406719207764, -103.095703125)
  724. Part17.Size = Vector3.new(0.069400206208229, 0.42673635482788, 0.069400206208229)
  725. Part17.Rotation = Vector3.new(0.0099999997764826, 0, 161.00999450684)
  726. ---------------------------------------------
  727. local Part18 = Instance.new("Part", Model)
  728. Part18.Name = "Part"
  729. Part18.Reflectance = 0
  730. Part18.Transparency = 0
  731. Part18.Anchored = false
  732. Part18.Archivable = true
  733. Part18.CanCollide = true
  734. Part18.Locked = false
  735. Part18.BrickColor = BrickColor.new("Fossil")
  736. Part18.Material = Enum.Material.Metal
  737. Part18.Position = Vector3.new(164.16064453125, 40.877319335938, -103.11262512207)
  738. Part18.Size = Vector3.new(0.65765291452408, 0.10776164382696, 0.2130600810051)
  739. Part18.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  740. ---------------------------------------------
  741. local Part19 = Instance.new("Part", Model)
  742. Part19.Name = "Part"
  743. Part19.Reflectance = 0
  744. Part19.Transparency = 0
  745. Part19.Anchored = false
  746. Part19.Archivable = true
  747. Part19.CanCollide = false
  748. Part19.Locked = false
  749. Part19.BrickColor = BrickColor.new("Really black")
  750. Part19.Material = Enum.Material.Neon
  751. Part19.Position = Vector3.new(166.3861541748, 41.071323394775, -102.95323944092)
  752. Part19.Size = Vector3.new(0.10406704992056, 0.069400206208229, 0.069400206208229)
  753. Part19.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  754. ---------------------------------------------
  755. local Part20 = Instance.new("Part", Model)
  756. Part20.Name = "Part"
  757. Part20.Reflectance = 0
  758. Part20.Transparency = 0
  759. Part20.Anchored = false
  760. Part20.Archivable = true
  761. Part20.CanCollide = false
  762. Part20.Locked = false
  763. Part20.BrickColor = BrickColor.new("Really black")
  764. Part20.Material = Enum.Material.SmoothPlastic
  765. Part20.Position = Vector3.new(165.2942199707, 41.045635223389, -102.90785980225)
  766. Part20.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  767. Part20.Rotation = Vector3.new(-3.6099998950958, -19.689998626709, -10.630000114441)
  768. ---------------------------------------------
  769. local Part21 = Instance.new("Part", Model)
  770. Part21.Name = "Part"
  771. Part21.Reflectance = 0
  772. Part21.Transparency = 0
  773. Part21.Anchored = false
  774. Part21.Archivable = true
  775. Part21.CanCollide = true
  776. Part21.Locked = false
  777. Part21.BrickColor = BrickColor.new("Lime green")
  778. Part21.Material = Enum.Material.Neon
  779. Part21.Position = Vector3.new(164.97221374512, 41.252536773682, -103.45886230469)
  780. Part21.Size = Vector3.new(0.21490751206875, 0.23830726742744, 0.27771660685539)
  781. Part21.Rotation = Vector3.new(0.0099999997764826, 0, -40)
  782. ---------------------------------------------
  783. local Part22 = Instance.new("Part", Model)
  784. Part22.Name = "Part"
  785. Part22.Reflectance = 0
  786. Part22.Transparency = 0
  787. Part22.Anchored = false
  788. Part22.Archivable = true
  789. Part22.CanCollide = false
  790. Part22.Locked = false
  791. Part22.BrickColor = BrickColor.new("Really black")
  792. Part22.Material = Enum.Material.SmoothPlastic
  793. Part22.Position = Vector3.new(165.01452636719, 41.544128417969, -103.1149597168)
  794. Part22.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  795. Part22.Rotation = Vector3.new(-87.699996948242, -0.68999999761581, -96.389999389648)
  796. ---------------------------------------------
  797. local Part23 = Instance.new("Part", Model)
  798. Part23.Name = "Part"
  799. Part23.Reflectance = 0
  800. Part23.Transparency = 0
  801. Part23.Anchored = false
  802. Part23.Archivable = true
  803. Part23.CanCollide = false
  804. Part23.Locked = false
  805. Part23.BrickColor = BrickColor.new("Really black")
  806. Part23.Material = Enum.Material.SmoothPlastic
  807. Part23.Position = Vector3.new(165.02801513672, 41.509914398193, -103.22756958008)
  808. Part23.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  809. Part23.Rotation = Vector3.new(-127.48999786377, 3.5799999237061, -95.339996337891)
  810. ---------------------------------------------
  811. local Part24 = Instance.new("Part", Model)
  812. Part24.Name = "Part"
  813. Part24.Reflectance = 1
  814. Part24.Transparency = 0
  815. Part24.Anchored = false
  816. Part24.Archivable = true
  817. Part24.CanCollide = false
  818. Part24.Locked = false
  819. Part24.BrickColor = BrickColor.new("Medium stone grey")
  820. Part24.Material = Enum.Material.Metal
  821. Part24.Position = Vector3.new(166.26344299316, 40.687320709229, -103.23883056641)
  822. Part24.Size = Vector3.new(0.088672533631325, 0.077588431537151, 0.069400206208229)
  823. Part24.Rotation = Vector3.new(172, -1.4499999284744, -176.25999450684)
  824. ---------------------------------------------
  825. local Part25 = Instance.new("Part", Model)
  826. Part25.Name = "Part"
  827. Part25.Reflectance = 0
  828. Part25.Transparency = 0
  829. Part25.Anchored = false
  830. Part25.Archivable = true
  831. Part25.CanCollide = true
  832. Part25.Locked = false
  833. Part25.BrickColor = BrickColor.new("Really red")
  834. Part25.Material = Enum.Material.SmoothPlastic
  835. Part25.Position = Vector3.new(163.92137145996, 41.047351837158, -103.10893249512)
  836. Part25.Size = Vector3.new(0.82822549343109, 0.18165549635887, 0.24631226062775)
  837. Part25.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  838. ---------------------------------------------
  839. local Part26 = Instance.new("Part", Model)
  840. Part26.Name = "Part"
  841. Part26.Reflectance = 1
  842. Part26.Transparency = 0
  843. Part26.Anchored = false
  844. Part26.Archivable = true
  845. Part26.CanCollide = false
  846. Part26.Locked = false
  847. Part26.BrickColor = BrickColor.new("New Yeller")
  848. Part26.Material = Enum.Material.Metal
  849. Part26.Position = Vector3.new(165.17797851563, 40.843639373779, -102.93453979492)
  850. Part26.Size = Vector3.new(0.069400206208229, 0.2807959318161, 0.069400206208229)
  851. Part26.Rotation = Vector3.new(-0.63999998569489, 0.12999999523163, 80.209999084473)
  852. ---------------------------------------------
  853. local Part27 = Instance.new("Part", Model)
  854. Part27.Name = "Part"
  855. Part27.Reflectance = 0
  856. Part27.Transparency = 0
  857. Part27.Anchored = false
  858. Part27.Archivable = true
  859. Part27.CanCollide = false
  860. Part27.Locked = false
  861. Part27.BrickColor = BrickColor.new("Really black")
  862. Part27.Material = Enum.Material.Neon
  863. Part27.Position = Vector3.new(165.57699584961, 41.209037780762, -102.9532623291)
  864. Part27.Size = Vector3.new(0.10406704992056, 0.069400206208229, 0.069400206208229)
  865. Part27.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  866. ---------------------------------------------
  867. local Part28 = Instance.new("Part", Model)
  868. Part28.Name = "Part"
  869. Part28.Reflectance = 0
  870. Part28.Transparency = 0
  871. Part28.Anchored = false
  872. Part28.Archivable = true
  873. Part28.CanCollide = false
  874. Part28.Locked = false
  875. Part28.BrickColor = BrickColor.new("Fossil")
  876. Part28.Material = Enum.Material.Metal
  877. Part28.Position = Vector3.new(164.53439331055, 41.316593170166, -103.09069824219)
  878. Part28.Size = Vector3.new(0.45136594772339, 0.069400206208229, 0.20136019587517)
  879. Part28.Rotation = Vector3.new(0.0099999997764826, 0, 40)
  880. ---------------------------------------------
  881. local Part29 = Instance.new("Part", Model)
  882. Part29.Name = "Part"
  883. Part29.Reflectance = 0
  884. Part29.Transparency = 0
  885. Part29.Anchored = false
  886. Part29.Archivable = true
  887. Part29.CanCollide = false
  888. Part29.Locked = false
  889. Part29.BrickColor = BrickColor.new("Really red")
  890. Part29.Material = Enum.Material.SmoothPlastic
  891. Part29.Position = Vector3.new(163.46337890625, 40.90739440918, -103.10989379883)
  892. Part29.Size = Vector3.new(0.069400206208229, 0.61762887239456, 0.24939115345478)
  893. Part29.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  894. ---------------------------------------------
  895. local Part30 = Instance.new("Part", Model)
  896. Part30.Name = "Part"
  897. Part30.Reflectance = 1
  898. Part30.Transparency = 0
  899. Part30.Anchored = false
  900. Part30.Archivable = true
  901. Part30.CanCollide = false
  902. Part30.Locked = false
  903. Part30.BrickColor = BrickColor.new("Medium stone grey")
  904. Part30.Material = Enum.Material.Metal
  905. Part30.Position = Vector3.new(166.51698303223, 40.569053649902, -102.93548583984)
  906. Part30.Size = Vector3.new(0.089288309216499, 0.12561935186386, 0.069400206208229)
  907. Part30.Rotation = Vector3.new(-4.4099998474121, 0.76999998092651, -16.139999389648)
  908. ---------------------------------------------
  909. local Part31 = Instance.new("Part", Model)
  910. Part31.Name = "Part"
  911. Part31.Reflectance = 0
  912. Part31.Transparency = 0
  913. Part31.Anchored = false
  914. Part31.Archivable = true
  915. Part31.CanCollide = true
  916. Part31.Locked = false
  917. Part31.BrickColor = BrickColor.new("Fossil")
  918. Part31.Material = Enum.Material.Metal
  919. Part31.Position = Vector3.new(165.43418884277, 41.00452041626, -103.0906829834)
  920. Part31.Size = Vector3.new(1.605339884758, 0.23338112235069, 0.20136019587517)
  921. Part31.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  922. ---------------------------------------------
  923. local Part32 = Instance.new("Part", Model)
  924. Part32.Name = "Barrel"
  925. Part32.Reflectance = 0
  926. Part32.Transparency = 0
  927. Part32.Anchored = false
  928. Part32.Archivable = true
  929. Part32.CanCollide = true
  930. Part32.Locked = false
  931. Part32.BrickColor = BrickColor.new("Dark stone grey")
  932. Part32.Material = Enum.Material.Metal
  933. Part32.Position = Vector3.new(166.27961730957, 40.648540496826, -103.08882141113)
  934. Part32.Size = Vector3.new(1.4483172893524, 0.15702417492867, 0.14347672462463)
  935. Part32.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  936. ---------------------------------------------
  937. local Part33 = Instance.new("Part", Model)
  938. Part33.Name = "Part"
  939. Part33.Reflectance = 0
  940. Part33.Transparency = 0
  941. Part33.Anchored = false
  942. Part33.Archivable = true
  943. Part33.CanCollide = false
  944. Part33.Locked = false
  945. Part33.BrickColor = BrickColor.new("Bright red")
  946. Part33.Material = Enum.Material.SmoothPlastic
  947. Part33.Position = Vector3.new(166.47950744629, 41.143997192383, -102.96466827393)
  948. Part33.Size = Vector3.new(0.51109778881073, 0.10345050692558, 0.069400206208229)
  949. Part33.Rotation = Vector3.new(-34.290000915527, 5.6700000762939, -8.25)
  950. ---------------------------------------------
  951. local Part34 = Instance.new("Part", Model)
  952. Part34.Name = "Part"
  953. Part34.Reflectance = 0
  954. Part34.Transparency = 0
  955. Part34.Anchored = false
  956. Part34.Archivable = true
  957. Part34.CanCollide = false
  958. Part34.Locked = false
  959. Part34.BrickColor = BrickColor.new("Really black")
  960. Part34.Material = Enum.Material.SmoothPlastic
  961. Part34.Position = Vector3.new(165.01727294922, 41.261341094971, -102.97664642334)
  962. Part34.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  963. Part34.Rotation = Vector3.new(-7.6900000572205, -6.4099998474121, -70.430000305176)
  964. ---------------------------------------------
  965. local Part35 = Instance.new("Part", Model)
  966. Part35.Name = "Part"
  967. Part35.Reflectance = 0
  968. Part35.Transparency = 0
  969. Part35.Anchored = false
  970. Part35.Archivable = true
  971. Part35.CanCollide = true
  972. Part35.Locked = false
  973. Part35.BrickColor = BrickColor.new("Fossil")
  974. Part35.Material = Enum.Material.Metal
  975. Part35.Position = Vector3.new(163.7008972168, 40.803634643555, -103.11297607422)
  976. Part35.Size = Vector3.new(0.51602321863174, 0.20382350683212, 0.2149074524641)
  977. Part35.Rotation = Vector3.new(0.0099999997764826, 0, 31.569999694824)
  978. ---------------------------------------------
  979. local Part36 = Instance.new("Part", Model)
  980. Part36.Name = "Part"
  981. Part36.Reflectance = 0
  982. Part36.Transparency = 0
  983. Part36.Anchored = false
  984. Part36.Archivable = true
  985. Part36.CanCollide = true
  986. Part36.Locked = false
  987. Part36.BrickColor = BrickColor.new("Smoky grey")
  988. Part36.Material = Enum.Material.SmoothPlastic
  989. Part36.Position = Vector3.new(164.49655151367, 40.489616394043, -103.10464477539)
  990. Part36.Size = Vector3.new(0.96308106184006, 0.42673635482788, 0.34483715891838)
  991. Part36.Rotation = Vector3.new(0.0099999997764826, 0, 51.569999694824)
  992. ---------------------------------------------
  993. local Part37 = Instance.new("Part", Model)
  994. Part37.Name = "Part"
  995. Part37.Reflectance = 1
  996. Part37.Transparency = 0
  997. Part37.Anchored = false
  998. Part37.Archivable = true
  999. Part37.CanCollide = false
  1000. Part37.Locked = false
  1001. Part37.BrickColor = BrickColor.new("Deep orange")
  1002. Part37.Material = Enum.Material.Metal
  1003. Part37.Position = Vector3.new(165.17109680176, 40.845676422119, -102.93647766113)
  1004. Part37.Size = Vector3.new(0.089288309216499, 0.3454532623291, 0.069400206208229)
  1005. Part37.Rotation = Vector3.new(-0.63999998569489, 0.12999999523163, 80.209999084473)
  1006. ---------------------------------------------
  1007. local Part38 = Instance.new("Part", Model)
  1008. Part38.Name = "Part"
  1009. Part38.Reflectance = 0
  1010. Part38.Transparency = 0
  1011. Part38.Anchored = false
  1012. Part38.Archivable = true
  1013. Part38.CanCollide = false
  1014. Part38.Locked = false
  1015. Part38.BrickColor = BrickColor.new("Fossil")
  1016. Part38.Material = Enum.Material.Metal
  1017. Part38.Position = Vector3.new(164.4755859375, 41.010112762451, -103.0982208252)
  1018. Part38.Size = Vector3.new(0.41195577383041, 0.069400206208229, 0.19828127324581)
  1019. Part38.Rotation = Vector3.new(0.0099999997764826, 0, 31.569999694824)
  1020. ---------------------------------------------
  1021. local Part39 = Instance.new("Part", Model)
  1022. Part39.Name = "Part"
  1023. Part39.Reflectance = 0
  1024. Part39.Transparency = 0
  1025. Part39.Anchored = false
  1026. Part39.Archivable = true
  1027. Part39.CanCollide = false
  1028. Part39.Locked = false
  1029. Part39.BrickColor = BrickColor.new("Fossil")
  1030. Part39.Material = Enum.Material.SmoothPlastic
  1031. Part39.Position = Vector3.new(165.99496459961, 41.1396484375, -102.96453857422)
  1032. Part39.Size = Vector3.new(1.3454843759537, 0.086126334965229, 0.069400206208229)
  1033. Part39.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1034. ---------------------------------------------
  1035. local Part40 = Instance.new("Part", Model)
  1036. Part40.Name = "Part"
  1037. Part40.Reflectance = 0
  1038. Part40.Transparency = 0
  1039. Part40.Anchored = false
  1040. Part40.Archivable = true
  1041. Part40.CanCollide = false
  1042. Part40.Locked = false
  1043. Part40.BrickColor = BrickColor.new("Fossil")
  1044. Part40.Material = Enum.Material.SmoothPlastic
  1045. Part40.Position = Vector3.new(165.7907409668, 41.181831359863, -103.22204589844)
  1046. Part40.Size = Vector3.new(0.91505396366119, 0.086126334965229, 0.069400206208229)
  1047. Part40.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1048. ---------------------------------------------
  1049. local Part41 = Instance.new("Part", Model)
  1050. Part41.Name = "Part"
  1051. Part41.Reflectance = 0
  1052. Part41.Transparency = 0
  1053. Part41.Anchored = false
  1054. Part41.Archivable = true
  1055. Part41.CanCollide = false
  1056. Part41.Locked = false
  1057. Part41.BrickColor = BrickColor.new("Fossil")
  1058. Part41.Material = Enum.Material.SmoothPlastic
  1059. Part41.Position = Vector3.new(165.76036071777, 41.105228424072, -102.99251556396)
  1060. Part41.Size = Vector3.new(0.89411669969559, 0.10253144800663, 0.069400206208229)
  1061. Part41.Rotation = Vector3.new(35.829998016357, -5.9000000953674, -8.0900001525879)
  1062. ---------------------------------------------
  1063. local Part42 = Instance.new("Part", Model)
  1064. Part42.Name = "Part"
  1065. Part42.Reflectance = 0
  1066. Part42.Transparency = 0
  1067. Part42.Anchored = false
  1068. Part42.Archivable = true
  1069. Part42.CanCollide = false
  1070. Part42.Locked = false
  1071. Part42.BrickColor = BrickColor.new("Fossil")
  1072. Part42.Material = Enum.Material.SmoothPlastic
  1073. Part42.Position = Vector3.new(165.82302856445, 41.272621154785, -103.08697509766)
  1074. Part42.Size = Vector3.new(0.95815813541412, 0.16917726397514, 0.069400206208229)
  1075. Part42.Rotation = Vector3.new(-89.98999786377, 10, 0)
  1076. ---------------------------------------------
  1077. local Part43 = Instance.new("Part", Model)
  1078. Part43.Name = "Part"
  1079. Part43.Reflectance = 0
  1080. Part43.Transparency = 0
  1081. Part43.Anchored = false
  1082. Part43.Archivable = true
  1083. Part43.CanCollide = false
  1084. Part43.Locked = false
  1085. Part43.BrickColor = BrickColor.new("Fossil")
  1086. Part43.Material = Enum.Material.SmoothPlastic
  1087. Part43.Position = Vector3.new(165.78173828125, 41.104141235352, -103.19551086426)
  1088. Part43.Size = Vector3.new(0.93044847249985, 0.10253144800663, 0.069400206208229)
  1089. Part43.Rotation = Vector3.new(146.64999389648, -5.539999961853, 8.3400001525879)
  1090. ---------------------------------------------
  1091. local Part44 = Instance.new("Part", Model)
  1092. Part44.Name = "Part"
  1093. Part44.Reflectance = 0
  1094. Part44.Transparency = 0
  1095. Part44.Anchored = false
  1096. Part44.Archivable = true
  1097. Part44.CanCollide = false
  1098. Part44.Locked = false
  1099. Part44.BrickColor = BrickColor.new("Fossil")
  1100. Part44.Material = Enum.Material.SmoothPlastic
  1101. Part44.Position = Vector3.new(165.81466674805, 41.246532440186, -103.19320678711)
  1102. Part44.Size = Vector3.new(0.94461095333099, 0.086126334965229, 0.069400206208229)
  1103. Part44.Rotation = Vector3.new(-135.13999938965, 7.0899996757507, 7.0699996948242)
  1104. ---------------------------------------------
  1105. local Part45 = Instance.new("Part", Model)
  1106. Part45.Name = "Part"
  1107. Part45.Reflectance = 0
  1108. Part45.Transparency = 0
  1109. Part45.Anchored = false
  1110. Part45.Archivable = true
  1111. Part45.CanCollide = false
  1112. Part45.Locked = false
  1113. Part45.BrickColor = BrickColor.new("Fossil")
  1114. Part45.Material = Enum.Material.SmoothPlastic
  1115. Part45.Position = Vector3.new(165.81904602051, 41.242931365967, -102.98615264893)
  1116. Part45.Size = Vector3.new(0.96431583166122, 0.086126334965229, 0.069400206208229)
  1117. Part45.Rotation = Vector3.new(-34.299999237061, 5.6700000762939, -8.25)
  1118. ---------------------------------------------
  1119. local Part46 = Instance.new("Part", Model)
  1120. Part46.Name = "Part"
  1121. Part46.Reflectance = 0
  1122. Part46.Transparency = 0
  1123. Part46.Anchored = false
  1124. Part46.Archivable = true
  1125. Part46.CanCollide = false
  1126. Part46.Locked = false
  1127. Part46.BrickColor = BrickColor.new("Really black")
  1128. Part46.Material = Enum.Material.Neon
  1129. Part46.Position = Vector3.new(166.54241943359, 41.04252243042, -102.95323944092)
  1130. Part46.Size = Vector3.new(0.10406704992056, 0.069400206208229, 0.069400206208229)
  1131. Part46.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1132. ---------------------------------------------
  1133. local Part47 = Instance.new("Part", Model)
  1134. Part47.Name = "Part"
  1135. Part47.Reflectance = 1
  1136. Part47.Transparency = 0
  1137. Part47.Anchored = false
  1138. Part47.Archivable = true
  1139. Part47.CanCollide = false
  1140. Part47.Locked = false
  1141. Part47.BrickColor = BrickColor.new("Medium stone grey")
  1142. Part47.Material = Enum.Material.Metal
  1143. Part47.Position = Vector3.new(166.5276184082, 40.601383209229, -102.96062469482)
  1144. Part47.Size = Vector3.new(0.08805675059557, 0.069400206208229, 0.069400206208229)
  1145. Part47.Rotation = Vector3.new(-4.4000000953674, 0.76999998092651, -16.139999389648)
  1146. ---------------------------------------------
  1147. local Part48 = Instance.new("Part", Model)
  1148. Part48.Name = "Part"
  1149. Part48.Reflectance = 1
  1150. Part48.Transparency = 0
  1151. Part48.Anchored = false
  1152. Part48.Archivable = true
  1153. Part48.CanCollide = false
  1154. Part48.Locked = false
  1155. Part48.BrickColor = BrickColor.new("Medium stone grey")
  1156. Part48.Material = Enum.Material.Metal
  1157. Part48.Position = Vector3.new(166.25559997559, 40.567653656006, -103.28240966797)
  1158. Part48.Size = Vector3.new(0.089288309216499, 0.15394525229931, 0.069400206208229)
  1159. Part48.Rotation = Vector3.new(172, -1.4499999284744, -176.25999450684)
  1160. ---------------------------------------------
  1161. local Part49 = Instance.new("Part", Model)
  1162. Part49.Name = "Part"
  1163. Part49.Reflectance = 1
  1164. Part49.Transparency = 0
  1165. Part49.Anchored = false
  1166. Part49.Archivable = true
  1167. Part49.CanCollide = false
  1168. Part49.Locked = false
  1169. Part49.BrickColor = BrickColor.new("Medium stone grey")
  1170. Part49.Material = Enum.Material.Metal
  1171. Part49.Position = Vector3.new(166.53527832031, 40.535091400146, -103.28495788574)
  1172. Part49.Size = Vector3.new(0.089288309216499, 0.12254045158625, 0.069400206208229)
  1173. Part49.Rotation = Vector3.new(172, -1.4499999284744, -159.87998962402)
  1174. ---------------------------------------------
  1175. local Part50 = Instance.new("Part", Model)
  1176. Part50.Name = "Part"
  1177. Part50.Reflectance = 0
  1178. Part50.Transparency = 0
  1179. Part50.Anchored = false
  1180. Part50.Archivable = true
  1181. Part50.CanCollide = true
  1182. Part50.Locked = false
  1183. Part50.BrickColor = BrickColor.new("Bright red")
  1184. Part50.Material = Enum.Material.SmoothPlastic
  1185. Part50.Position = Vector3.new(166.40341186523, 40.712299346924, -103.0894317627)
  1186. Part50.Size = Vector3.new(0.51109778881073, 0.46183496713638, 0.21613915264606)
  1187. Part50.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1188. ---------------------------------------------
  1189. local Part51 = Instance.new("Part", Model)
  1190. Part51.Name = "Part"
  1191. Part51.Reflectance = 0
  1192. Part51.Transparency = 0
  1193. Part51.Anchored = false
  1194. Part51.Archivable = true
  1195. Part51.CanCollide = true
  1196. Part51.Locked = false
  1197. Part51.BrickColor = BrickColor.new("Smoky grey")
  1198. Part51.Material = Enum.Material.SmoothPlastic
  1199. Part51.Position = Vector3.new(165.02290344238, 40.765281677246, -103.10458374023)
  1200. Part51.Size = Vector3.new(0.88056641817093, 0.42673635482788, 0.34483715891838)
  1201. Part51.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1202. ---------------------------------------------
  1203. local Part52 = Instance.new("Part", Model)
  1204. Part52.Name = "Part"
  1205. Part52.Reflectance = 0
  1206. Part52.Transparency = 0
  1207. Part52.Anchored = false
  1208. Part52.Archivable = true
  1209. Part52.CanCollide = false
  1210. Part52.Locked = false
  1211. Part52.BrickColor = BrickColor.new("Bright red")
  1212. Part52.Material = Enum.Material.SmoothPlastic
  1213. Part52.Position = Vector3.new(166.4857635498, 41.179405212402, -103.08576965332)
  1214. Part52.Size = Vector3.new(0.51109778881073, 0.20320698618889, 0.069400206208229)
  1215. Part52.Rotation = Vector3.new(-89.98999786377, 10, 0)
  1216. ---------------------------------------------
  1217. local Part53 = Instance.new("Part", Model)
  1218. Part53.Name = "Part"
  1219. Part53.Reflectance = 0
  1220. Part53.Transparency = 0
  1221. Part53.Anchored = false
  1222. Part53.Archivable = true
  1223. Part53.CanCollide = false
  1224. Part53.Locked = false
  1225. Part53.BrickColor = BrickColor.new("Smoky grey")
  1226. Part53.Material = Enum.Material.SmoothPlastic
  1227. Part53.Position = Vector3.new(164.84162902832, 40.316333770752, -103.09573364258)
  1228. Part53.Size = Vector3.new(0.069400206208229, 0.42673635482788, 0.069400206208229)
  1229. Part53.Rotation = Vector3.new(0.0099999997764826, 0, 51.569999694824)
  1230. ---------------------------------------------
  1231. local Part54 = Instance.new("Part", Model)
  1232. Part54.Name = "Part"
  1233. Part54.Reflectance = 0
  1234. Part54.Transparency = 0
  1235. Part54.Anchored = false
  1236. Part54.Archivable = true
  1237. Part54.CanCollide = false
  1238. Part54.Locked = false
  1239. Part54.BrickColor = BrickColor.new("Bright red")
  1240. Part54.Material = Enum.Material.SmoothPlastic
  1241. Part54.Position = Vector3.new(166.44964599609, 40.974639892578, -103.21614074707)
  1242. Part54.Size = Vector3.new(0.51109778881073, 0.12315548211336, 0.069400206208229)
  1243. Part54.Rotation = Vector3.new(146.64999389648, -5.539999961853, 8.3400001525879)
  1244. ---------------------------------------------
  1245. local Part55 = Instance.new("Part", Model)
  1246. Part55.Name = "Part"
  1247. Part55.Reflectance = 0
  1248. Part55.Transparency = 0
  1249. Part55.Anchored = false
  1250. Part55.Archivable = true
  1251. Part55.CanCollide = false
  1252. Part55.Locked = false
  1253. Part55.BrickColor = BrickColor.new("Bright red")
  1254. Part55.Material = Enum.Material.SmoothPlastic
  1255. Part55.Position = Vector3.new(166.48010253906, 41.147300720215, -103.21336364746)
  1256. Part55.Size = Vector3.new(0.51109778881073, 0.10345050692558, 0.069400206208229)
  1257. Part55.Rotation = Vector3.new(-135.13999938965, 7.0899996757507, 7.0699996948242)
  1258. ---------------------------------------------
  1259. local Part56 = Instance.new("Part", Model)
  1260. Part56.Name = "Part"
  1261. Part56.Reflectance = 1
  1262. Part56.Transparency = 0
  1263. Part56.Anchored = false
  1264. Part56.Archivable = true
  1265. Part56.CanCollide = false
  1266. Part56.Locked = false
  1267. Part56.BrickColor = BrickColor.new("Medium stone grey")
  1268. Part56.Material = Enum.Material.Metal
  1269. Part56.Position = Vector3.new(166.54721069336, 40.66206741333, -102.98191070557)
  1270. Part56.Size = Vector3.new(0.084977835416794, 0.082514800131321, 0.069400206208229)
  1271. Part56.Rotation = Vector3.new(-4.4099998474121, 0.76999998092651, -16.139999389648)
  1272. ---------------------------------------------
  1273. local Part57 = Instance.new("Part", Model)
  1274. Part57.Name = "Part"
  1275. Part57.Reflectance = 0
  1276. Part57.Transparency = 0
  1277. Part57.Anchored = false
  1278. Part57.Archivable = true
  1279. Part57.CanCollide = true
  1280. Part57.Locked = false
  1281. Part57.BrickColor = BrickColor.new("Smoky grey")
  1282. Part57.Material = Enum.Material.SmoothPlastic
  1283. Part57.Position = Vector3.new(165.47323608398, 40.795207977295, -103.0825881958)
  1284. Part57.Size = Vector3.new(0.24631232023239, 0.18165534734726, 0.161950096488)
  1285. Part57.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1286. ---------------------------------------------
  1287. local Part58 = Instance.new("Part", Model)
  1288. Part58.Name = "Part"
  1289. Part58.Reflectance = 0
  1290. Part58.Transparency = 0
  1291. Part58.Anchored = false
  1292. Part58.Archivable = true
  1293. Part58.CanCollide = false
  1294. Part58.Locked = false
  1295. Part58.BrickColor = BrickColor.new("Really black")
  1296. Part58.Material = Enum.Material.SmoothPlastic
  1297. Part58.Position = Vector3.new(165.19697570801, 41.096706390381, -102.93896484375)
  1298. Part58.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  1299. Part58.Rotation = Vector3.new(-7.6900000572205, -6.4099998474121, -40.430000305176)
  1300. ---------------------------------------------
  1301. local Part59 = Instance.new("Part", Model)
  1302. Part59.Name = "Part"
  1303. Part59.Reflectance = 0
  1304. Part59.Transparency = 0
  1305. Part59.Anchored = false
  1306. Part59.Archivable = true
  1307. Part59.CanCollide = false
  1308. Part59.Locked = false
  1309. Part59.BrickColor = BrickColor.new("Really black")
  1310. Part59.Material = Enum.Material.SmoothPlastic
  1311. Part59.Position = Vector3.new(165.00021362305, 41.38459777832, -102.97835540771)
  1312. Part59.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  1313. Part59.Rotation = Vector3.new(-7.6900000572205, -6.4099998474121, -90.430000305176)
  1314. ---------------------------------------------
  1315. local Part60 = Instance.new("Part", Model)
  1316. Part60.Name = "Part"
  1317. Part60.Reflectance = 0
  1318. Part60.Transparency = 0
  1319. Part60.Anchored = false
  1320. Part60.Archivable = true
  1321. Part60.CanCollide = false
  1322. Part60.Locked = false
  1323. Part60.BrickColor = BrickColor.new("Really black")
  1324. Part60.Material = Enum.Material.SmoothPlastic
  1325. Part60.Position = Vector3.new(165.0037689209, 41.49662399292, -103.01760864258)
  1326. Part60.Size = Vector3.new(0.13978230953217, 0.069400206208229, 0.069400206208229)
  1327. Part60.Rotation = Vector3.new(-37.829998016357, -5.3299999237061, -93.589996337891)
  1328. ---------------------------------------------
  1329. local Part61 = Instance.new("Part", Model)
  1330. Part61.Name = "Part"
  1331. Part61.Reflectance = 0
  1332. Part61.Transparency = 0
  1333. Part61.Anchored = false
  1334. Part61.Archivable = true
  1335. Part61.CanCollide = true
  1336. Part61.Locked = false
  1337. Part61.BrickColor = BrickColor.new("Black")
  1338. Part61.Material = Enum.Material.SmoothPlastic
  1339. Part61.Position = Vector3.new(164.97975158691, 41.249408721924, -103.45947265625)
  1340. Part61.Size = Vector3.new(0.22352840006351, 0.26170691847801, 0.29249545931816)
  1341. Part61.Rotation = Vector3.new(0.0099999997764826, 0, -40)
  1342. ---------------------------------------------
  1343. local Part62 = Instance.new("Part", Model)
  1344. Part62.Name = "Part"
  1345. Part62.Reflectance = 1
  1346. Part62.Transparency = 0
  1347. Part62.Anchored = false
  1348. Part62.Archivable = true
  1349. Part62.CanCollide = false
  1350. Part62.Locked = false
  1351. Part62.BrickColor = BrickColor.new("Medium stone grey")
  1352. Part62.Material = Enum.Material.Metal
  1353. Part62.Position = Vector3.new(166.24075317383, 40.635917663574, -102.93689727783)
  1354. Part62.Size = Vector3.new(0.089288309216499, 0.10406699776649, 0.069400206208229)
  1355. Part62.Rotation = Vector3.new(-4.4000000953674, 0.76999998092651, 0.23999999463558)
  1356. ---------------------------------------------
  1357. local Part63 = Instance.new("Part", Model)
  1358. Part63.Name = "Part"
  1359. Part63.Reflectance = 1
  1360. Part63.Transparency = 0
  1361. Part63.Anchored = false
  1362. Part63.Archivable = true
  1363. Part63.CanCollide = false
  1364. Part63.Locked = false
  1365. Part63.BrickColor = BrickColor.new("Medium stone grey")
  1366. Part63.Material = Enum.Material.Metal
  1367. Part63.Position = Vector3.new(166.56831359863, 40.625457763672, -103.21882629395)
  1368. Part63.Size = Vector3.new(0.088672533631325, 0.069400206208229, 0.069400206208229)
  1369. Part63.Rotation = Vector3.new(172, -1.4499999284744, -159.87998962402)
  1370. ---------------------------------------------
  1371. ---------------------------------------------
  1372. local Part65 = Instance.new("Part", Model)
  1373. Part65.Name = "Part"
  1374. Part65.Reflectance = 0
  1375. Part65.Transparency = 0
  1376. Part65.Anchored = false
  1377. Part65.Archivable = true
  1378. Part65.CanCollide = true
  1379. Part65.Locked = false
  1380. Part65.BrickColor = BrickColor.new("Flint")
  1381. Part65.Material = Enum.Material.Metal
  1382. Part65.Position = Vector3.new(166.095703125, 40.433605194092, -103.0888671875)
  1383. Part65.Size = Vector3.new(1.4045962095261, 0.12931403517723, 0.14347672462463)
  1384. Part65.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1385. ---------------------------------------------
  1386. local Part66 = Instance.new("Part", Model)
  1387. Part66.Name = "Part"
  1388. Part66.Reflectance = 1
  1389. Part66.Transparency = 0
  1390. Part66.Anchored = false
  1391. Part66.Archivable = true
  1392. Part66.CanCollide = false
  1393. Part66.Locked = false
  1394. Part66.BrickColor = BrickColor.new("Medium stone grey")
  1395. Part66.Material = Enum.Material.Metal
  1396. Part66.Position = Vector3.new(166.25999450684, 40.609439849854, -103.25480651855)
  1397. Part66.Size = Vector3.new(0.089288324117661, 0.077588431537151, 0.069400206208229)
  1398. Part66.Rotation = Vector3.new(172, -1.4499999284744, -176.25999450684)
  1399. ---------------------------------------------
  1400. local Part67 = Instance.new("Part", Model)
  1401. Part67.Name = "Part"
  1402. Part67.Reflectance = 0
  1403. Part67.Transparency = 0
  1404. Part67.Anchored = false
  1405. Part67.Archivable = true
  1406. Part67.CanCollide = false
  1407. Part67.Locked = false
  1408. Part67.BrickColor = BrickColor.new("Fossil")
  1409. Part67.Material = Enum.Material.SmoothPlastic
  1410. Part67.Position = Vector3.new(165.10922241211, 41.150928497314, -102.95920562744)
  1411. Part67.Size = Vector3.new(0.069400206208229, 0.069400206208229, 0.069400206208229)
  1412. Part67.Rotation = Vector3.new(0.0099999997764826, 0, -30)
  1413. ---------------------------------------------
  1414. local Part68 = Instance.new("Part", Model)
  1415. Part68.Name = "Part"
  1416. Part68.Reflectance = 0
  1417. Part68.Transparency = 0
  1418. Part68.Anchored = false
  1419. Part68.Archivable = true
  1420. Part68.CanCollide = true
  1421. Part68.Locked = false
  1422. Part68.BrickColor = BrickColor.new("Fossil")
  1423. Part68.Material = Enum.Material.Metal
  1424. Part68.Position = Vector3.new(164.49542236328, 41.137199401855, -103.09727478027)
  1425. Part68.Size = Vector3.new(0.58868539333344, 0.20567068457603, 0.20136019587517)
  1426. Part68.Rotation = Vector3.new(0.0099999997764826, 0, 31.569999694824)
  1427. ---------------------------------------------
  1428. local Part69 = Instance.new("Part", Model)
  1429. Part69.Name = "Part"
  1430. Part69.Reflectance = 0
  1431. Part69.Transparency = 0
  1432. Part69.Anchored = false
  1433. Part69.Archivable = true
  1434. Part69.CanCollide = false
  1435. Part69.Locked = false
  1436. Part69.BrickColor = BrickColor.new("Really black")
  1437. Part69.Material = Enum.Material.Neon
  1438. Part69.Position = Vector3.new(165.83486938477, 41.167934417725, -102.9532623291)
  1439. Part69.Size = Vector3.new(0.10406704992056, 0.069400206208229, 0.069400206208229)
  1440. Part69.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1441. ---------------------------------------------
  1442. local Part70 = Instance.new("Part", Model)
  1443. Part70.Name = "Part"
  1444. Part70.Reflectance = 0
  1445. Part70.Transparency = 0
  1446. Part70.Anchored = false
  1447. Part70.Archivable = true
  1448. Part70.CanCollide = true
  1449. Part70.Locked = false
  1450. Part70.BrickColor = BrickColor.new("Fossil")
  1451. Part70.Material = Enum.Material.Metal
  1452. Part70.Position = Vector3.new(163.50509643555, 40.803253173828, -103.11483764648)
  1453. Part70.Size = Vector3.new(0.13547076284885, 0.4378205537796, 0.22599132359028)
  1454. Part70.Rotation = Vector3.new(0.0099999997764826, 0, -10)
  1455. ---------------------------------------------
  1456. Handleweld.Part0 = LeftLeg
  1457. Handleweld.C0 = angles(-2, 0, 0) * cf(-.5, 1.3, 1)
  1458.  
  1459. local PE1 = Create("ParticleEmitter"){
  1460. Parent = Barrel,
  1461. Color = ColorSequence.new(BrickColor.new("New Yeller").Color),
  1462. Transparency = NumberSequence.new(0),
  1463. Size = NumberSequence.new(.5),
  1464. Texture = "rbxassetid://257430870",
  1465. Lifetime = NumberRange.new(.1),
  1466. Rate = 100,
  1467. VelocitySpread = 180,
  1468. Rotation = NumberRange.new(0),
  1469. Speed = NumberRange.new(0),
  1470. LightEmission = .6,
  1471. LockedToPart = true,
  1472. Enabled = false
  1473. }
  1474.  
  1475. local PE2 = PE1:Clone()
  1476. PE2.Size = NumberSequence.new(.7)
  1477. PE2.LightEmission = 1
  1478. PE2.Texture = "rbxassetid://87729590"
  1479.  
  1480. local Lite = Create("PointLight"){
  1481. Parent = Barrel,
  1482. Color = BrickColor.new("New Yeller").Color,
  1483. Shadows = true,
  1484. Range = 10,
  1485. Brightness = 0.5,
  1486. Enabled = false
  1487. }
  1488.  
  1489. function Equip()
  1490. attack = true
  1491. equipped = true
  1492. RSH.Parent = nil
  1493. LSH.Parent = nil
  1494.  
  1495. RHP.Parent = nil
  1496. LHP.Parent = nil
  1497.  
  1498. RW = Create("Weld"){
  1499. Name = "Right Shoulder",
  1500. Part0 = Torso ,
  1501. C0 = cf(1.5, 0.5, 0),
  1502. C1 = cf(0, 0.5, 0),
  1503. Part1 = RightArm ,
  1504. Parent = Torso ,
  1505. }
  1506.  
  1507. LW = Create("Weld"){
  1508. Name = "Left Shoulder",
  1509. Part0 = Torso ,
  1510. C0 = cf(-1.5, 0.5, 0),
  1511. C1 = cf(0, 0.5, 0) ,
  1512. Part1 = LeftArm ,
  1513. Parent = Torso ,
  1514. }
  1515.  
  1516. RH = Create("Weld"){
  1517. Part0 = Torso,
  1518. C0 = cf(0, -1.5, 0), --* euler(1.3, 0, -0.5)
  1519. C1 = cf(-0.5, 0.5, 0) ,
  1520. Part1 = Character["Right Leg"],
  1521. Parent = Torso,
  1522. }
  1523.  
  1524. LH = Create("Weld"){
  1525. Part0 = Torso,
  1526. C0 = cf(0, -1.5, 0), --* euler(1.3, 0, -0.5)
  1527. C1 = cf(0.5, 0.5, 0) ,
  1528. Part1 = Character["Left Leg"],
  1529. Parent = Torso,
  1530. }
  1531.  
  1532. for i = 0, 1, 0.1 do
  1533. swait()
  1534. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1535. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(30)), .3)
  1536. RW.C0 = clerp(RW.C0, CFrame.new(0, 0.2, -.5) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  1537. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.3)
  1538. RH.C0 = clerp(RH.C0, cf(0.03, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(2)), .3)
  1539. LH.C0 = clerp(LH.C0, cf(-0.03, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-2)), .3)
  1540. end
  1541. Handleweld.Part0 = RightArm
  1542. Handleweld.C0 = euler(0, 0, 0) * cf(0, 0, 0)
  1543. attack = false
  1544. end
  1545.  
  1546. function Unequip()
  1547. equipped = false
  1548. attack = true
  1549. for i = 0, 1, 0.1 do
  1550. swait()
  1551. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1552. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(30)), .3)
  1553. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.2, -.7) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  1554. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1555. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5)), .3)
  1556. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1557. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) *euler(6*i,0,0), .5)
  1558. end
  1559. FakeHandleweld.C0 = angles(0, 0, 0) * cf(0, 0, 0)
  1560. Handleweld.Part0 = LeftLeg
  1561. Handleweld.C0 = angles(-2, 0, 0) * cf(-.5, 1.3, 1)
  1562. RW.Parent = nil
  1563. LW.Parent = nil
  1564. RH.Parent = nil
  1565. LH.Parent = nil
  1566. RSH.Parent = Torso
  1567. LSH.Parent = Torso
  1568. RHP.Parent = Torso
  1569. LHP.Parent = Torso
  1570. Torso.Neck.C0 = necko
  1571. RootJoint.C0 = RootCF
  1572. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1573. RW.C1 = cf(0, 0.5, 0) * euler(0, 0, 0)
  1574. LW.C0 = cf(-1.5, 0.5, 0) * euler(0, 0, 0)
  1575. LW.C1 = cf(0, 0.5, 0) * euler(0, 0, 0)
  1576. attack = false
  1577. end
  1578.  
  1579. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1580. local prt = part(3, Character, "Neon", 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  1581. prt.Anchored = true
  1582. prt.CFrame = cframe
  1583. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1584. game:GetService("Debris"):AddItem(prt, 5)
  1585. Effects[#Effects + 1] = {
  1586. prt,
  1587. "Cylinder",
  1588. delay,
  1589. x3,
  1590. y3,
  1591. z3
  1592. } --part, type, delay
  1593. end
  1594.  
  1595. function MagnitudeDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1596. for _, c in pairs(workspace:children()) do
  1597. local hum = c:findFirstChild("Humanoid")
  1598. if hum ~= nil then
  1599. local head = c:findFirstChild("Torso")
  1600. if head ~= nil then
  1601. local targ = head.Position - Part.Position
  1602. local mag = targ.magnitude
  1603. if mag <= magni and c.Name ~= Player.Name then
  1604. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, 0, "rbxassetid://199149186", 1)
  1605. end
  1606. end
  1607. end
  1608. end
  1609. end
  1610.  
  1611. RailgunTarget = RootPart
  1612. function Laser(asd)
  1613. local MouseLook=cf((asd.Position+mouse.Hit.p)/2,mouse.Hit.p)
  1614. local hit,pos = rayCast(asd.Position,MouseLook.lookVector,999,RailgunTarget.Parent)
  1615. local mag=(asd.Position-pos).magnitude
  1616. CylinderEffect(BrickColor.new("New Yeller"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,1.2,0,1.2,0.1)
  1617. CylinderEffect(BrickColor.new("Institutional white"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,.5,1,0,.5,0.1)
  1618. if hit~=nil then
  1619. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("New Yeller"),"Reference",vt())
  1620. ref.Anchored=true
  1621. ref.CFrame=cf(pos)
  1622. game:GetService("Debris"):AddItem(ref,1)
  1623. Damagefunc(ref,hit,20,90,0,"Normal",RootPart,0)
  1624. end
  1625. end
  1626.  
  1627. RocketTarget = RootPart
  1628. function Shoot(asd, spread1, spread2)
  1629. local MainPos = asd.Position
  1630. local MainPos2 = mouse.Hit.p
  1631. local spread = vt((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
  1632. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2 + spread)
  1633. num = 30
  1634. coroutine.resume(coroutine.create(function(Spreaded)
  1635. repeat
  1636. wait()
  1637. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RocketTarget.Parent)
  1638. local TheHit = mouse.Hit.p
  1639. local mag = (MainPos - pos).magnitude
  1640. CylinderEffect(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
  1641. MainPos = MainPos + (MouseLook.lookVector * 10)
  1642. num = num - 1
  1643. if hit ~= nil then
  1644. num = 0
  1645. local ref = part(3, workspace, "Neon", 0, 1, BrickColor.new("New Yeller"), "Reference", vt())
  1646. ref.Anchored = true
  1647. ref.CFrame = cf(pos)
  1648. MagnitudeDamage(ref, hit, 5, 10, 20, 1, "Normal")
  1649. game:GetService("Debris"):AddItem(ref, 5)
  1650. end
  1651. until num <= 0
  1652. end))
  1653. end
  1654.  
  1655. function ChargeEffect(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
  1656. local S = Create("Part"){
  1657. Material = "SmoothPlastic",
  1658. Name = "Effect",
  1659. formFactor = 0,
  1660. Size = vt(x1, y1, z1),
  1661. BrickColor = color,
  1662. Reflectance = 0,
  1663. TopSurface = 0,
  1664. BottomSurface = 0,
  1665. Transparency = 0,
  1666. Anchored = false,
  1667. CanCollide = false,
  1668. Material = "Neon",
  1669. CFrame = part.CFrame * cf(x2, y2, z2) * euler(x3, y3, z3),
  1670. Parent = m,
  1671. }
  1672. local msh1 = Create("SpecialMesh"){
  1673. Scale = vt(0.5, 0.5, 0.5) ,
  1674. MeshType = "Sphere",
  1675. Parent = S,
  1676. }
  1677. coroutine.resume(coroutine.create(function(Part, CF)
  1678. local f = Instance.new("BodyPosition")
  1679. f.P = 800
  1680. f.D = 100
  1681. f.maxForce = vt(math.huge, math.huge, math.huge)
  1682. f.position = part.Position
  1683. f.Parent = Part
  1684. for i = 0, 1, 0.1 do
  1685. wait()
  1686. Part.Transparency = Part.Transparency + 0.1
  1687. end
  1688. Part.Parent = nil
  1689. end), S, S.CFrame)
  1690. end
  1691.  
  1692. local lasrs = {}
  1693. local lasrspd = 3
  1694. local maxTravelDistance = 500
  1695. local maxRebounds = 20
  1696.  
  1697. function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
  1698. collidedlist = collidedlist or {Character}
  1699. startpos = startpos or pos
  1700. distleft = distleft or dir.unit * dir.magnitude
  1701. endpos = endpos or pos + distleft
  1702. local ray = Ray.new(pos, distleft)
  1703. local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
  1704. if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
  1705. if hitz.CanCollide == false then
  1706. table.insert(collidedlist, hitz)
  1707. local newpos = enz
  1708. local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
  1709. if newdistleft then
  1710. return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
  1711. end
  1712. end
  1713. end
  1714. return hitz, enz, ray
  1715. end
  1716.  
  1717. function FindSurface(part, position)
  1718. local obj = part.CFrame:pointToObjectSpace(position)
  1719. local siz = part.Size/2
  1720. so("rbxassetid://199144144", workspace, 1, .9)
  1721. for i,v in pairs(Enum.NormalId:GetEnumItems()) do
  1722. local vec = Vector3.FromNormalId(v)
  1723. local wvec = part.CFrame:vectorToWorldSpace(vec)
  1724. local vz = (obj)/(siz*vec)
  1725. if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then
  1726. return wvec,vec
  1727. end
  1728. end
  1729. if part.className == "WedgePart" then
  1730. local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
  1731. local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
  1732. local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
  1733. return wvec,vec
  1734. elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
  1735. return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
  1736. end
  1737. end
  1738.  
  1739. function Reflect(direction, normal)
  1740. return direction - 2 * normal:Dot(direction) * normal
  1741. end
  1742.  
  1743. function ReflectShot(mouse)
  1744. local dir = (mouse.Hit.p - Torso.Position).unit
  1745. local tabl
  1746. local tablnum = 0
  1747. for i, v in pairs(lasrs) do
  1748. if not v[1] then
  1749. tabl = v
  1750. tablnum = i
  1751. break
  1752. end
  1753. end
  1754. if not tabl then
  1755. tablnum = #lasrs + 1
  1756. tabl = {false,nil,nil,0,0,1,{},{},{},{}}
  1757. for i = 1, 2 do
  1758. for j = 1, 6 do
  1759. local p = Instance.new("Part")
  1760. p.FormFactor = "Custom"
  1761. p.CanCollide = false
  1762. p.Anchored = true
  1763. p.Locked = true
  1764. p.BrickColor = BrickColor.new("New Yeller")
  1765. p.TopSurface = 10
  1766. p.BottomSurface = 10
  1767. p.RightSurface = 10
  1768. p.LeftSurface = 10
  1769. p.FrontSurface = 10
  1770. p.BackSurface = 10
  1771. p.Size = Vector3.new(1,1,1)
  1772. p.Material = "Neon"
  1773. p.Transparency = i == 1 and 0 or 0.6
  1774. p.Touched:connect(function(hit)
  1775. hit.Parent.Humanoid:TakeDamage(30)
  1776. end)
  1777. local mesh = Instance.new("CylinderMesh",p)
  1778. table.insert(tabl[6+i],p)
  1779. table.insert(tabl[8+i],mesh)
  1780. end
  1781. end
  1782. table.insert(lasrs,tabl)
  1783. end
  1784. -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
  1785. tabl[4],tabl[5] = 0,0
  1786. tabl[3] = Barrel.Position
  1787. tabl[2] = dir
  1788. tabl[1] = true
  1789.  
  1790. end
  1791.  
  1792. local MultiShoot = false
  1793. local gun = false
  1794. local shoot = false
  1795. local Obliterate = false
  1796. local LaserMode = false
  1797. function Aim()
  1798. attack = true
  1799. gun = true
  1800. for i = 0, 1, 0.2 do
  1801. swait()
  1802. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1803. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), .5)
  1804. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  1805. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.5)
  1806. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
  1807. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
  1808. end
  1809. RootJoint.C0 = RootCF * cf(0, 0, 0) * euler(0, 0, 1.57)
  1810. RW.C0 = cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57)
  1811. local gairo = Create("BodyGyro"){
  1812. Parent = RootPart,
  1813. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1814. P = 20e+003 ,
  1815. cframe = RootPart.CFrame,
  1816. }
  1817. local offset = nil
  1818. while gun == true do
  1819. swait()
  1820. local gunpos = vt(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1821. offset = (Torso.Position.y - mouse.Hit.p.y) / 60
  1822. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1823. offset = offset / mag
  1824. gairo.cframe = cf(Head.Position, gunpos)
  1825. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), .3)
  1826. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(offset, 0, 0), .5)
  1827. end
  1828. if shoot == true then
  1829. gairo.Parent = nil
  1830. PE1.Enabled,PE2.Enabled = true,true
  1831. Lite.Enabled = true
  1832. for i = 0, 1, 0.1 do
  1833. swait()
  1834. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1835. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
  1836. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
  1837. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  1838. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
  1839. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1840. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1841. end
  1842. Lite.Enabled = false
  1843. PE1.Enabled,PE2.Enabled = false,false
  1844. elseif MultiShoot == true then
  1845. gairo.Parent = nil
  1846. for i = 1,5 do
  1847. so("rbxassetid://199144089", Barrel, 1, 1.1)
  1848. Shoot(Barrel, .2, 1)
  1849. PE1.Enabled,PE2.Enabled = true,true
  1850. Lite.Enabled = true
  1851. for i = 0,1,1 do
  1852. swait()
  1853. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1854. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(2), math.rad(-90)), .5)
  1855. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.5)
  1856. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.5)
  1857. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
  1858. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
  1859. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1860. end
  1861. PE1.Enabled,PE2.Enabled = false,false
  1862. Lite.Enabled = false
  1863. for i = 0,1,1 do
  1864. swait()
  1865. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1866. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), .5)
  1867. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  1868. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.5)
  1869. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
  1870. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
  1871. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1872. end
  1873. end
  1874. elseif LaserMode == true then
  1875. gairo.Parent = nil
  1876. so("rbxassetid://161006157", Barrel, 1, .9)
  1877. so("rbxassetid://161006131", Barrel, 1, 1.2)
  1878. for i = 1, 30 do
  1879. swait()
  1880. ChargeEffect(Barrel, 2, 2, 2, math.random(-10, 10), math.random(-10, 10), math.random(-10, 10), 0, 0, 0, BrickColor.new("New Yeller"))
  1881. end
  1882. so("rbxassetid://199144089", Barrel, 1, .8)
  1883. so("rbxassetid://199144089", Barrel, 1, .5)
  1884. Laser(Barrel)
  1885. PE1.Enabled,PE2.Enabled = true,true
  1886. Lite.Enabled = true
  1887. for i = 0, 1, 0.1 do
  1888. swait()
  1889. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1890. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
  1891. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
  1892. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  1893. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
  1894. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1895. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1896. end
  1897. PE1.Enabled,PE2.Enabled = false,false
  1898. Lite.Enabled = false
  1899. elseif Obliterate == true then
  1900. gairo.Parent = nil
  1901. so("rbxassetid://161006157", Barrel, 1, .7)
  1902. so("rbxassetid://161006131", Barrel, 1, 1)
  1903. for i = 1, 60 do
  1904. swait()
  1905. ChargeEffect(Barrel, 2, 2, 2, math.random(-10, 10), math.random(-10, 10), math.random(-10, 10), 0, 0, 0, BrickColor.new("New Yeller"))
  1906. end
  1907. for i = 1, 5 do
  1908. so("rbxassetid://199144089", Barrel, 1, .8)
  1909. for i = 1, 5 do
  1910. Shoot(Barrel, 1, 3)
  1911. end
  1912. PE1.Enabled,PE2.Enabled = true,true
  1913. Lite.Enabled = true
  1914. for i = 0, 1, 0.2 do
  1915. swait()
  1916. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1917. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .5)
  1918. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.8, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.5)
  1919. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.5)
  1920. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
  1921. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
  1922. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  1923. end
  1924. PE1.Enabled,PE2.Enabled = false,false
  1925. Lite.Enabled = false
  1926. for i = 0, 1, 0.2 do
  1927. swait()
  1928. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1929. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1930. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1931. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  1932. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
  1933. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1934. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1935. end
  1936. end
  1937.  
  1938. for i = 0, 1, 0.1 do
  1939. swait()
  1940. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1941. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(-5), math.rad(-55)), .3)
  1942. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -.5) * angles(math.rad(0), math.rad(130), math.rad(80)), 0.3)
  1943. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  1944. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
  1945. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1946. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  1947. end
  1948. so("rbxassetid://161006157", Barrel, 1, .9)
  1949. so("rbxassetid://161006131", Barrel, 1, 1.2)
  1950. for i = 1, 30 do
  1951. swait()
  1952. ChargeEffect(Barrel, 2, 2, 2, math.random(-10, 10), math.random(-10, 10), math.random(-10, 10), 0, 0, 0, BrickColor.new("New Yeller"))
  1953. end
  1954. for i = 0, 1, 0.05 do
  1955. swait()
  1956. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1957. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(1), math.rad(-85)), .3)
  1958. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1959. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  1960. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
  1961. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
  1962. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1963. end
  1964. so("rbxassetid://199144089", Barrel, 1, .8)
  1965. so("rbxassetid://199144089", Barrel, 1, .9)
  1966. so("rbxassetid://199144089", Barrel, 1, .6)
  1967. for i = 1, 20 do
  1968. Shoot(Barrel, 1.5, 5)
  1969. end
  1970. PE1.Enabled,PE2.Enabled = true,true
  1971. Lite.Enabled = true
  1972. for i = 0, 1, 0.05 do
  1973. swait()
  1974. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
  1975. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(10), math.rad(-90)), .5)
  1976. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.8, 0) * angles(math.rad(0), math.rad(50), math.rad(120)), 0.5)
  1977. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.5)
  1978. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
  1979. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
  1980. end
  1981. PE1.Enabled,PE2.Enabled = false,false
  1982. Lite.Enabled = false
  1983. end
  1984. gairo.Parent = nil
  1985. shoot = false
  1986. attack = false
  1987. end
  1988.  
  1989. mouse.Button1Down:connect(function()
  1990. if gun == true then
  1991. shoot = true
  1992. so("rbxassetid://199144089", Barrel, 1, 1)
  1993. Shoot(Barrel, 0, 0)
  1994. gun = false
  1995. end
  1996. end)
  1997.  
  1998.  
  1999.  
  2000. mouse.KeyDown:connect(function(k)
  2001. k = k:lower()
  2002. if attack == false and equipped == false and k == 'e' then
  2003. Equip()
  2004. elseif attack == false and equipped == true and k == 'e' then
  2005. Unequip()
  2006. elseif attack == false and equipped == true and k == 'f' then
  2007. Aim()
  2008. elseif equipped == true and k == 'f' then
  2009. shoot = false
  2010. elseif equipped == true and gun == true and k == 'q' then
  2011. shoot = true
  2012. so("rbxassetid://199144089", Barrel, 1, .8)
  2013. for i = 1, 5 do
  2014. Shoot(Barrel, 1, 3)
  2015. gun = false
  2016. end
  2017. elseif equipped == true and gun == true and k == 'e' then
  2018. MultiShoot = true
  2019. gun = false
  2020. elseif equipped == true and gun == true and k == 'r' then
  2021. MultiShoot = false
  2022. LaserMode = true
  2023. gun = false
  2024. elseif equipped == true and attack == true and gun == true and k == 't' then
  2025. MultiShoot = false
  2026. Obliterate = true
  2027. LaserMode = false
  2028. gun = false
  2029. elseif equipped == true and attack == true and gun == true and k == 'g' then
  2030. shoot = true
  2031. ReflectShot(mouse)
  2032. so("rbxassetid://199144089", Barrel, 1, .8)
  2033. so("rbxassetid://199144089", Barrel, 1, .5)
  2034. gun = false
  2035. end
  2036. end)
  2037.  
  2038. game:GetService("RunService").Stepped:connect(function()
  2039. for _, lasr in pairs(lasrs) do
  2040. for i, v in pairs(lasr[9]) do
  2041. if lasr[7][i].Parent then
  2042. v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
  2043. lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
  2044. if v.Scale.x < 0.1 then
  2045. lasr[7][i].Parent = nil
  2046. lasr[8][i].Parent = nil
  2047. end
  2048. end
  2049. end
  2050.  
  2051. if lasr[1] then
  2052. local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
  2053. lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
  2054.  
  2055. lasr[7][lasr[6]].Parent = m
  2056. lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
  2057. lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
  2058.  
  2059. lasr[8][lasr[6]].Parent = m
  2060. lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
  2061. lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
  2062.  
  2063. lasr[3] = enz
  2064. lasr[6] = lasr[6]%#lasr[7] + 1
  2065.  
  2066. if hitz then
  2067. lasr[4] = lasr[4] + 1
  2068. if lasr[4] == maxRebounds then
  2069. lasr[1] = false
  2070. else
  2071. local norm = FindSurface(hitz,enz)
  2072. lasr[2] = Reflect(lasr[2],norm)
  2073. end
  2074. end
  2075. if lasr[5] > maxTravelDistance then
  2076. lasr[1] = false
  2077. end
  2078. end
  2079. end
  2080. end)
  2081.  
  2082. local sine = 0
  2083. local change = 1
  2084. local val = 0
  2085. local idle = 0
  2086. local donum = 0
  2087.  
  2088. while true do
  2089. swait()
  2090. sine = sine + change
  2091. mouse.Icon = "http://www.roblox.com/asset/?id=296383647"
  2092. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2093. local velderp = RootPart.Velocity.y
  2094. hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2095. if equipped == true then
  2096. if attack == false then
  2097. idle = idle + 1
  2098. else
  2099. idle = 0
  2100. end
  2101. if idle >= 500 then
  2102. if attack == false then
  2103. end
  2104. end
  2105. if donum >= .5 then
  2106. handidle = true
  2107. elseif donum <= 0 then
  2108. handidle = false
  2109. end
  2110. if handidle == false then
  2111. donum = donum + 0.003
  2112. else
  2113. donum = donum - 0.003
  2114. end
  2115. if RootPart.Velocity.y > 1 and hitfloor == nil then
  2116. Anim = "Jump"
  2117. if attack == false then
  2118. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .3)
  2119. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  2120. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  2121. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  2122. RH.C0 = clerp(RH.C0, cf(.05, -1.5, .5) * angles(math.rad(-20), math.rad(0), math.rad(5)), .3)
  2123. LH.C0 = clerp(LH.C0, cf(-.05, -1.5, .5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .3)
  2124. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2125. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
  2126. end
  2127. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  2128. Anim = "Fall"
  2129. if attack == false then
  2130. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2131. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  2132. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(40)), 0.3)
  2133. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2134. RH.C0 = clerp(RH.C0, cf(0.05, -1.5, -.2) * angles(math.rad(10), math.rad(0), math.rad(5)), .3)
  2135. LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, -.2) * angles(math.rad(10), math.rad(0), math.rad(-5)), .3)
  2136. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2137. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
  2138. end
  2139. elseif torvel < 1 and hitfloor ~= nil then
  2140. Anim = "Idle"
  2141. if attack == false then
  2142. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5) + donum / 3, math.rad(0), math.rad(30)), .3)
  2143. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(.5) - donum / 3, math.rad(.5) + donum / 3, math.rad(-30)), .3)
  2144. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(5) + donum / 2), 0.3)
  2145. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-5) + donum / 2, math.rad(0), math.rad(-10)), 0.3)
  2146. RH.C0 = clerp(RH.C0, cf(.2, -1.5, -.5) * angles(math.rad(5) + donum / 2, math.rad(-30), math.rad(5) + donum / 5), .3)
  2147. LH.C0 = clerp(LH.C0, cf(0, -1.5 - donum / 3.5, 0) * angles(math.rad(5) + donum / 3, math.rad(-10), math.rad(0)), .3)
  2148. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2149. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
  2150. end
  2151. elseif torvel > 2 and hitfloor ~= nil then
  2152. Anim = "Walk"
  2153. if attack == false then
  2154. change = 3
  2155. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20) + donum / 2, math.rad(0), math.rad(0)), .3)
  2156. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10) - donum / 2, math.rad(0), math.rad(0)), .3)
  2157. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50) + donum / 2, math.rad(0), math.rad(5) + donum / 2), 0.3)
  2158. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20) + donum / 2, math.rad(0), math.rad(-5) - donum / 2), 0.3)
  2159. LH.C0 = clerp(LH.C0, CFrame.new(0, -1.5-0.3*math.cos(sine/10)/2, -.05 + math.sin(sine/10)/2) * CFrame.Angles(math.rad(3) + -math.sin(sine/10)/2.3, math.rad(0), math.rad(-3)), .4)
  2160. RH.C0 = clerp(RH.C0, CFrame.new(0, -1.5+0.3*math.cos(sine/10)/2, -.05 + -math.sin(sine/10)/2) * CFrame.Angles(math.rad(3) + math.sin(sine/10)/2.3, math.rad(0), math.rad(3)), .4)
  2161. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2162. RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
  2163. end
  2164. end
  2165. end
  2166. if #Effects > 0 then
  2167. for e = 1, #Effects do
  2168. if Effects[e] ~= nil then
  2169. local Thing = Effects[e]
  2170. if Thing ~= nil then
  2171. local Part = Thing[1]
  2172. local Mode = Thing[2]
  2173. local Delay = Thing[3]
  2174. local IncX = Thing[4]
  2175. local IncY = Thing[5]
  2176. local IncZ = Thing[6]
  2177. if Thing[1].Transparency <= 1 then
  2178. if Thing[2] == "Block1" then
  2179. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2180. Mesh = Thing[1].Mesh
  2181. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2182. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2183. elseif Thing[2] == "Cylinder" then
  2184. Mesh = Thing[1].Mesh
  2185. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2186. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2187. elseif Thing[2] == "Blood" then
  2188. Mesh = Thing[7]
  2189. Thing[1].CFrame = Thing[1].CFrame * cf(0, .5, 0)
  2190. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2191. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2192. elseif Thing[2] == "Elec" then
  2193. Mesh = Thing[1].Mesh
  2194. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2195. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2196. elseif Thing[2] == "Disappear" then
  2197. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2198. end
  2199. else
  2200. Part.Parent = nil
  2201. table.remove(Effects, e)
  2202. end
  2203. end
  2204. end
  2205. end
  2206. end
  2207. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement