Scriptus_Infinitus

Scythe Edit

Apr 11th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 118.43 KB | None | 0 0
  1. --Asriel at it again decompiling scripts like a true b0ss
  2.  
  3. while not getmetatable(shared) do
  4. wait()
  5. end
  6. shared(script)
  7. Player = game:GetService("Players").LocalPlayer
  8. it = Instance.new
  9. Character = Player.Character
  10. PlayerGui = Player.PlayerGui
  11. Backpack = Player.Backpack
  12. Torso = Character.Torso
  13. Head = Character.Head
  14. Humanoid = Character.Humanoid
  15. m = Instance.new("Model", Character)
  16. LeftArm = Character["Left Arm"]
  17. LeftLeg = Character["Left Leg"]
  18. RightArm = Character["Right Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LS = Torso["Left Shoulder"]
  21. LH = Torso["Left Hip"]
  22. RS = Torso["Right Shoulder"]
  23. RH = Torso["Right Hip"]
  24. Face = Head.face
  25. Neck = Torso.Neck
  26. it = Instance.new
  27. attacktype = 1
  28. vt = Vector3.new
  29. cf = CFrame.new
  30. euler = CFrame.fromEulerAnglesXYZ
  31. angles = CFrame.Angles
  32. cloaked = false
  33. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  34. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  35. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  36. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  38. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  39. RootPart = Character.HumanoidRootPart
  40. RootJoint = RootPart.RootJoint
  41. RootCF = euler(-1.57, 0, 3.14)
  42. attack = false
  43. attackdebounce = false
  44. deb = false
  45. equipped = true
  46. hand = false
  47. MMouse = nil
  48. combo = 0
  49. mana = 0
  50. trispeed = 0.2
  51. attackmode = "none"
  52. local idle = 0
  53. local Anim = "Idle"
  54. local Effects = {}
  55. local gun = false
  56. local shoot = false
  57. player = nil
  58. mana = 0
  59. local p = game.Players.LocalPlayer
  60. local char = p.Character
  61. local mouse = p:GetMouse()
  62. local larm = char["Left Arm"]
  63. local rarm = char["Right Arm"]
  64. local lleg = char["Left Leg"]
  65. local rleg = char["Right Leg"]
  66. local hed = char.Head
  67. local torso = char.Torso
  68. local hum = char.Humanoid
  69. local cam = game.Workspace.CurrentCamera
  70. local root = char.HumanoidRootPart
  71. local deb = false
  72. local shot = 0
  73. local debris = game:service("Debris")
  74. local l = game:GetService("Lighting")
  75. local rs = game:GetService("RunService").RenderStepped
  76. Player = game:GetService("Players").LocalPlayer
  77. Character = Player.Character
  78. PlayerGui = Player.PlayerGui
  79. Backpack = Player.Backpack
  80. Torso = Character.Torso
  81. Head = Character.Head
  82. Humanoid = Character.Humanoid
  83. m = Instance.new("Model", Character)
  84. LeftArm = Character["Left Arm"]
  85. LeftLeg = Character["Left Leg"]
  86. RightArm = Character["Right Arm"]
  87. RightLeg = Character["Right Leg"]
  88. LS = Torso["Left Shoulder"]
  89. LH = Torso["Left Hip"]
  90. RS = Torso["Right Shoulder"]
  91. RH = Torso["Right Hip"]
  92. Face = Head.face
  93. Neck = Torso.Neck
  94. it = Instance.new
  95. attacktype = 1
  96. vt = Vector3.new
  97. cf = CFrame.new
  98. euler = CFrame.fromEulerAnglesXYZ
  99. angles = CFrame.Angles
  100. cloaked = false
  101. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  102. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  103. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  104. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  105. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  106. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  107. RootPart = Character.HumanoidRootPart
  108. RootJoint = RootPart.RootJoint
  109. RootCF = euler(-1.57, 0, 3.14)
  110. attack = false
  111. attackdebounce = false
  112. deb = false
  113. equipped = true
  114. hand = false
  115. MMouse = nil
  116. combo = 0
  117. mana = 0
  118. trispeed = 0.2
  119. attackmode = "none"
  120. local idle = 0
  121. local Anim = "Idle"
  122. local Effects = {}
  123. local gun = false
  124. local shoot = false
  125. player = nil
  126. mana = 0
  127. cam = workspace.CurrentCamera
  128. ZTarget = nil
  129. RocketTarget = nil
  130. local Targetting = false
  131. hed.face.Texture = "rbxassetid://0"
  132. char["Body Colors"].HeadColor = BrickColor.new("Black")
  133. char["Body Colors"].TorsoColor = BrickColor.new("Black")
  134. char["Body Colors"].RightLegColor = BrickColor.new("Black")
  135. char["Body Colors"].LeftLegColor = BrickColor.new("Black")
  136. char["Body Colors"].RightArmColor = BrickColor.new("Black")
  137. char["Body Colors"].LeftArmColor = BrickColor.new("Black")
  138. Workspace.EL0704test.Shirt:Destroy()
  139. Workspace.EL0704test.Pants:Destroy()
  140. swait = function(num)
  141. if num == 0 or num == nil then
  142. game:service("RunService").Heartbeat:wait(0)
  143. else
  144. for i = 0, num do
  145. game:service("RunService").Heartbeat:wait(0)
  146. end
  147. end
  148. end
  149.  
  150. nooutline = function(part)
  151. part.TopSurface = 10
  152. end
  153.  
  154. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  155. local fp = it("Part")
  156. fp.formFactor = formfactor
  157. fp.Parent = parent
  158. fp.Reflectance = reflectance
  159. fp.Transparency = transparency
  160. fp.CanCollide = false
  161. fp.Locked = true
  162. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  163. fp.Name = name
  164. fp.Size = size
  165. fp.Position = Character.Torso.Position
  166. nooutline(fp)
  167. fp.Material = material
  168. fp:BreakJoints()
  169. return fp
  170. end
  171.  
  172. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  173. local mesh = it(Mesh)
  174. mesh.Parent = part
  175. if Mesh == "SpecialMesh" then
  176. mesh.MeshType = meshtype
  177. mesh.MeshId = meshid
  178. end
  179. mesh.Offset = offset
  180. mesh.Scale = scale
  181. return mesh
  182. end
  183.  
  184. weld = function(parent, part0, part1, c0, c1)
  185. local weld = it("Weld")
  186. weld.Parent = parent
  187. weld.Part0 = part0
  188. weld.Part1 = part1
  189. weld.C0 = c0
  190. weld.C1 = c1
  191. return weld
  192. end
  193.  
  194. local CFrameFromTopBack = function(at, top, back)
  195. local right = top:Cross(back)
  196. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  197. end
  198.  
  199. Triangle = function(a, b, c)
  200. local edg1 = c - a:Dot(b - a.unit)
  201. local edg2 = a - b:Dot(c - b.unit)
  202. local edg3 = b - c:Dot(a - c.unit)
  203. if edg1 <= b - a.magnitude and edg1 >= 0 then
  204. a = a
  205. else
  206. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  207.  
  208. if edg2 <= c - b.magnitude and edg2 >= 0 then
  209. a = b
  210. else
  211. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  212.  
  213. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  214.  
  215. if edg3 <= a - c.magnitude and edg3 >= 0 then
  216. a = c
  217. else
  218. assert(false, "unreachable")
  219. end
  220. end
  221. end
  222. local len1 = c - a:Dot(b - a.unit)
  223. local len2 = b - a.magnitude - len1
  224. local width = a + b - a.unit * len1 - c.magnitude
  225. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  226. local list = {}
  227. local TrailColor = "Dark grey"
  228. if len1 > 0.01 then
  229. local w1 = Instance.new("WedgePart", m)
  230. game:GetService("Debris"):AddItem(w1, 5)
  231. w1.Material = "SmoothPlastic"
  232. w1.FormFactor = "Custom"
  233. w1.BrickColor = BrickColor.new(TrailColor)
  234. w1.Transparency = 0
  235. w1.Reflectance = 0
  236. w1.Material = "SmoothPlastic"
  237. w1.CanCollide = false
  238. NoOutline(w1)
  239. local sz = Vector3.new(0.2, width, len1)
  240. w1.Size = sz
  241. local sp = Instance.new("SpecialMesh", w1)
  242. sp.MeshType = "Wedge"
  243. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  244. w1:BreakJoints()
  245. w1.Anchored = true
  246. w1.Parent = workspace
  247. w1.Transparency = 0.7
  248. table.insert(Effects, {w1, "Disappear", 0.01})
  249. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  250. table.insert(list, w1)
  251. end
  252. do
  253. if len2 > 0.01 then
  254. local w2 = Instance.new("WedgePart", m)
  255. game:GetService("Debris"):AddItem(w2, 5)
  256. w2.Material = "SmoothPlastic"
  257. w2.FormFactor = "Custom"
  258. w2.BrickColor = BrickColor.new(TrailColor)
  259. w2.Transparency = 0
  260. w2.Reflectance = 0
  261. w2.Material = "SmoothPlastic"
  262. w2.CanCollide = false
  263. NoOutline(w2)
  264. local sz = Vector3.new(0.2, width, len2)
  265. w2.Size = sz
  266. local sp = Instance.new("SpecialMesh", w2)
  267. sp.MeshType = "Wedge"
  268. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  269. w2:BreakJoints()
  270. w2.Anchored = true
  271. w2.Parent = workspace
  272. w2.Transparency = 0.7
  273. table.insert(Effects, {w2, "Disappear", 0.01})
  274. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  275. table.insert(list, w2)
  276. end
  277. do
  278. return unpack(list)
  279. end
  280. end
  281. end
  282.  
  283. so = function(id, par, vol, pit)
  284. coroutine.resume(coroutine.create(function()
  285. local sou = Instance.new("Sound", par or workspace)
  286. sou.Volume = vol
  287. sou.Pitch = pit or 1
  288. sou.SoundId = id
  289. swait()
  290. sou:play()
  291. game:GetService("Debris"):AddItem(sou, 6)
  292. end
  293. ))
  294. end
  295.  
  296. clerp = function(a, b, t)
  297. local qa = {QuaternionFromCFrame(a)}
  298. local qb = {QuaternionFromCFrame(b)}
  299. local ax, ay, az = a.x, a.y, a.z
  300. local bx, by, bz = b.x, b.y, b.z
  301. local _t = 1 - t
  302. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  303. end
  304.  
  305. QuaternionFromCFrame = function(cf)
  306. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  307. local trace = m00 + m11 + m22
  308. if trace > 0 then
  309. local s = math.sqrt(1 + trace)
  310. local recip = 0.5 / s
  311. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  312. else
  313. do
  314. local i = 0
  315. if m00 < m11 then
  316. i = 1
  317. end
  318. if i == 0 and m00 or m11 < m22 then
  319. i = 2
  320. end
  321. if i == 0 then
  322. local s = math.sqrt(m00 - m11 - m22 + 1)
  323. local recip = 0.5 / s
  324. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  325. else
  326. do
  327. if i == 1 then
  328. local s = math.sqrt(m11 - m22 - m00 + 1)
  329. local recip = 0.5 / s
  330. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  331. else
  332. do
  333. if i == 2 then
  334. local s = math.sqrt(m22 - m00 - m11 + 1)
  335. local recip = 0.5 / s
  336. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  337. end
  338. end
  339. end
  340. end
  341. end
  342. end
  343. end
  344. end
  345.  
  346. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  347. local xs, ys, zs = x + x, y + y, z + z
  348. local wx, wy, wz = w * xs, w * ys, w * zs
  349. local xx = x * xs
  350. local xy = x * ys
  351. local xz = x * zs
  352. local yy = y * ys
  353. local yz = y * zs
  354. local zz = z * zs
  355. 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))
  356. end
  357.  
  358. QuaternionSlerp = function(a, b, t)
  359. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  360. local startInterp, finishInterp = nil, nil
  361. if cosTheta >= 0.0001 then
  362. if 1 - cosTheta > 0.0001 then
  363. local theta = math.acos(cosTheta)
  364. local invSinTheta = 1 / math.sin(theta)
  365. startInterp = math.sin((1 - t) * theta) * invSinTheta
  366. finishInterp = math.sin(t * theta) * invSinTheta
  367. else
  368. do
  369. startInterp = 1 - t
  370. finishInterp = t
  371. if 1 + cosTheta > 0.0001 then
  372. local theta = math.acos(-cosTheta)
  373. local invSinTheta = 1 / math.sin(theta)
  374. startInterp = math.sin((t - 1) * theta) * invSinTheta
  375. finishInterp = math.sin(t * theta) * invSinTheta
  376. else
  377. do
  378. startInterp = t - 1
  379. finishInterp = t
  380. 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
  381. end
  382. end
  383. end
  384. end
  385. end
  386. end
  387.  
  388. rayCast = function(Pos, Dir, Max, Ignore)
  389. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  390. end
  391.  
  392. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  393. if hit.Parent == nil then
  394. return
  395. end
  396. local h = hit.Parent:FindFirstChild("Humanoid")
  397. for _,v in pairs(hit.Parent:children()) do
  398. if v:IsA("Humanoid") then
  399. h = v
  400. end
  401. end
  402. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  403. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  404. end
  405. if hit.Parent.className == "Hat" then
  406. hit = hit.Parent.Parent:findFirstChild("Head")
  407. end
  408. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  409. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  410. return
  411. end
  412. local c = Instance.new("ObjectValue")
  413. c.Name = "creator"
  414. c.Value = game:service("Players").LocalPlayer
  415. c.Parent = h
  416. game:GetService("Debris"):AddItem(c, 0.5)
  417. local Damage = math.random(minim, maxim)
  418. local blocked = false
  419. local block = hit.Parent:findFirstChild("Block")
  420. if block ~= nil then
  421. print(block.className)
  422. if block.className == "NumberValue" and block.Value > 0 then
  423. blocked = true
  424. if decreaseblock == nil then
  425. block.Value = block.Value - 1
  426. end
  427. end
  428. if block.className == "IntValue" and block.Value > 0 then
  429. blocked = true
  430. if decreaseblock ~= nil then
  431. block.Value = block.Value - 1
  432. end
  433. end
  434. end
  435. if blocked == false then
  436. h.Health = h.Health - Damage
  437. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  438. else
  439. h.Health = h.Health - Damage / 2
  440. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  441. end
  442. if Type == "Knockdown" then
  443. local hum = hit.Parent.Humanoid
  444. hum.PlatformStand = true
  445. coroutine.resume(coroutine.create(function(HHumanoid)
  446. swait(1)
  447. HHumanoid.PlatformStand = false
  448. end
  449. ), hum)
  450. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  451. local bodvol = Instance.new("BodyVelocity")
  452. bodvol.velocity = angle * knockback
  453. bodvol.P = 5000
  454. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  455. bodvol.Parent = hit
  456. local rl = Instance.new("BodyAngularVelocity")
  457. rl.P = 3000
  458. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  459. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  460. rl.Parent = hit
  461. game:GetService("Debris"):AddItem(bodvol, 0.5)
  462. game:GetService("Debris"):AddItem(rl, 0.5)
  463. else
  464. do
  465. if Type == "Normal" then
  466. local vp = Instance.new("BodyVelocity")
  467. vp.P = 500
  468. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  469. if KnockbackType == 1 then
  470. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  471. else
  472. if KnockbackType == 2 then
  473. vp.velocity = Property.CFrame.lookVector * knockback
  474. end
  475. end
  476. if knockback > 0 then
  477. vp.Parent = hit.Parent.Torso
  478. end
  479. game:GetService("Debris"):AddItem(vp, 0.5)
  480. else
  481. do
  482. if Type == "Up" then
  483. local bodyVelocity = Instance.new("BodyVelocity")
  484. bodyVelocity.velocity = vt(0, 60, 0)
  485. bodyVelocity.P = 5000
  486. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  487. bodyVelocity.Parent = hit
  488. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  489. local rl = Instance.new("BodyAngularVelocity")
  490. rl.P = 3000
  491. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  492. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  493. rl.Parent = hit
  494. game:GetService("Debris"):AddItem(rl, 0.5)
  495. else
  496. do
  497. if Type == "Snare" then
  498. local bp = Instance.new("BodyPosition")
  499. bp.P = 2000
  500. bp.D = 100
  501. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  502. bp.position = hit.Parent.Torso.Position
  503. bp.Parent = hit.Parent.Torso
  504. game:GetService("Debris"):AddItem(bp, 1)
  505. else
  506. do
  507. if Type == "Target" then
  508. local Targetting = false
  509. if Targetting == false then
  510. ZTarget = hit.Parent.Torso
  511. coroutine.resume(coroutine.create(function(Part)
  512. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  513. swait(5)
  514. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  515. end
  516. ), ZTarget)
  517. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  518. local targetgui = Instance.new("BillboardGui")
  519. targetgui.Parent = ZTarget
  520. targetgui.Size = UDim2.new(10, 100, 10, 100)
  521. local targ = Instance.new("ImageLabel")
  522. targ.Parent = targetgui
  523. targ.BackgroundTransparency = 1
  524. targ.Image = "rbxassetid://4834067"
  525. targ.Size = UDim2.new(1, 0, 1, 0)
  526. cam.CameraType = "Scriptable"
  527. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  528. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  529. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  530. Targetting = true
  531. RocketTarget = ZTarget
  532. for i = 1, Property do
  533. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  534. swait()
  535. end
  536. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  537. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  538. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  539. end
  540. Targetting = false
  541. RocketTarget = nil
  542. targetgui.Parent = nil
  543. cam.CameraType = "Custom"
  544. end
  545. end
  546. do
  547. local debounce = Instance.new("BoolValue")
  548. debounce.Name = "DebounceHit"
  549. debounce.Parent = hit.Parent
  550. debounce.Value = true
  551. game:GetService("Debris"):AddItem(debounce, Delay)
  552. c = Instance.new("ObjectValue")
  553. c.Name = "creator"
  554. c.Value = Player
  555. c.Parent = h
  556. game:GetService("Debris"):AddItem(c, 0.5)
  557. end
  558. end
  559. end
  560. end
  561. end
  562. end
  563. end
  564. end
  565. end
  566. end
  567. end
  568.  
  569. Damagefunc2 = function(Part, hit, Damage, Knockback)
  570. if attackdebounce == false then
  571. coroutine.resume(coroutine.create(function()
  572. wait(0.1)
  573. attackdebounce = false
  574. end
  575. ))
  576. if hit.Parent == nil then
  577. return
  578. end
  579. local blocked = false
  580. local h = hit.Parent:FindFirstChild("Humanoid")
  581. if h ~= nil and hit.Parent:FindFirstChild("Torso") ~= nil then
  582. local c = it("ObjectValue")
  583. c.Name = "creator"
  584. c.Value = game.Players.LocalPlayer
  585. c.Parent = h
  586. game:GetService("Debris"):AddItem(c, 0.5)
  587. Damage = Damage + math.random(0, 10)
  588. blocked = false
  589. local block = hit.Parent:findFirstChild("Block")
  590. if block ~= nil then
  591. print("herp")
  592. if block.Value > 0 then
  593. blocked = true
  594. block.Value = block.Value - 3
  595. print(block.Value)
  596. end
  597. end
  598. if blocked == false then
  599. h.Health = h.Health - (Damage)
  600. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -(Damage), 1.5, BrickColor.new("New Yeller").Color)
  601. else
  602. h:TakeDamage(1)
  603. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -(Damage), 1.5, BrickColor.new("New Yeller").Color)
  604. end
  605. local angle = hit.Position - (Torso.Position + Vector3.new(0, 0, 0)).unit
  606. print(angle)
  607. local rl = Instance.new("BodyAngularVelocity")
  608. rl.P = 3000
  609. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  610. rl.angularvelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  611. rl.Parent = hit
  612. coroutine.resume(coroutine.create(function(vel)
  613. wait(0.5)
  614. vel:Remove()
  615. end
  616. ), rl)
  617. local bodyVelocity = Instance.new("BodyVelocity")
  618. bodyVelocity.velocity = angle * 40 + Vector3.new(0, 0, 0)
  619. bodyVelocity.P = 5000
  620. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  621. bodyVelocity.Parent = hit
  622. coroutine.resume(coroutine.create(function(Vel)
  623. wait(0.2)
  624. Vel:Remove()
  625. end
  626. ), bodyVelocity)
  627. c = it("ObjectValue")
  628. c.Name = "creator"
  629. c.Value = Player
  630. c.Parent = h
  631. game:GetService("Debris"):AddItem(c, 0.5)
  632. end
  633. end
  634. end
  635.  
  636. ShowDamage = function(Pos, Text, Time, Color)
  637. local Rate = 0.033333333333333
  638. if not Pos then
  639. local Pos = Vector3.new(0, 0, 0)
  640. end
  641. local Text = Text or ""
  642. local Time = Time or 2
  643. if not Color then
  644. local Color = Color3.new(1, 0, 0)
  645. end
  646. local EffectPart = part("Custom", workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  647. EffectPart.Anchored = true
  648. local BillboardGui = Instance.new("BillboardGui")
  649. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  650. BillboardGui.Adornee = EffectPart
  651. local TextLabel = Instance.new("TextLabel")
  652. TextLabel.BackgroundTransparency = 1
  653. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  654. TextLabel.Text = Text
  655. TextLabel.TextColor3 = Color
  656. TextLabel.TextScaled = true
  657. TextLabel.Font = Enum.Font.ArialBold
  658. TextLabel.Parent = BillboardGui
  659. BillboardGui.Parent = EffectPart
  660. game.Debris:AddItem(EffectPart, Time + 0.1)
  661. EffectPart.Parent = game:GetService("Workspace")
  662. Delay(0, function()
  663. local Frames = Time / Rate
  664. for Frame = 1, Frames do
  665. wait(Rate)
  666. local Percent = Frame / Frames
  667. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  668. TextLabel.TextTransparency = Percent
  669. end
  670. if EffectPart and EffectPart.Parent then
  671. EffectPart:Destroy()
  672. end
  673. end
  674. )
  675. end
  676.  
  677. mouse = Player:GetMouse()
  678. RSH = nil
  679. RW = Instance.new("Weld")
  680. RW.Name = "Right Shoulder"
  681. LW.Name = "Left Shoulder"
  682. LH = Torso["Left Hip"]
  683. RH = Torso["Right Hip"]
  684. TorsoColor = Torso.BrickColor
  685. NoOutline = function(Part)
  686. Part.TopSurface = 10
  687. end
  688.  
  689. player = Player
  690. ch = Character
  691. RSH = ch.Torso["Right Shoulder"]
  692. LSH = ch.Torso["Left Shoulder"]
  693. RSH.Parent = nil
  694. LSH.Parent = nil
  695. RW.Name = "Right Shoulder"
  696. RW.Part0 = ch.Torso
  697. RW.C0 = cf(1.5, 0.5, 0)
  698. RW.C1 = cf(0, 0.5, 0)
  699. RW.Part1 = ch["Right Arm"]
  700. RW.Parent = ch.Torso
  701. LW.Name = "Left Shoulder"
  702. LW.Part0 = ch.Torso
  703. LW.C0 = cf(-1.5, 0.5, 0)
  704. LW.C1 = cf(0, 0.5, 0)
  705. LW.Part1 = ch["Left Arm"]
  706. LW.Parent = ch.Torso
  707. LeftArm.Transparency = 0.5
  708. RightArm.Transparency = 0.5
  709. RightLeg.Transparency = 0.5
  710. LeftLeg.Transparency = 0.5
  711. Torso.Transparency = 0.5
  712. Head.Transparency = 0.5
  713. local weldBetween = function(a, b)
  714. local weldd = Instance.new("ManualWeld")
  715. weldd.Part0 = a
  716. weldd.Part1 = b
  717. weldd.C0 = CFrame.new()
  718. weldd.C1 = b.CFrame:inverse() * a.CFrame
  719. weldd.Parent = a
  720. return weldd
  721. end
  722.  
  723. swait = function(num)
  724. if num == 0 or num == nil then
  725. game:service("RunService").Heartbeat:wait(0)
  726. else
  727. for i = 0, num do
  728. game:service("RunService").Heartbeat:wait(0)
  729. end
  730. end
  731. end
  732.  
  733. nooutline = function(part)
  734. part.TopSurface = 10
  735. end
  736.  
  737. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  738. local fp = it("Part")
  739. fp.formFactor = formfactor
  740. fp.Parent = parent
  741. fp.Reflectance = reflectance
  742. fp.Transparency = transparency
  743. fp.CanCollide = false
  744. fp.Locked = true
  745. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  746. fp.Name = name
  747. fp.Size = size
  748. fp.Position = Character.Torso.Position
  749. nooutline(fp)
  750. fp.Material = material
  751. fp:BreakJoints()
  752. return fp
  753. end
  754.  
  755. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  756. local mesh = it(Mesh)
  757. mesh.Parent = part
  758. if Mesh == "SpecialMesh" then
  759. mesh.MeshType = meshtype
  760. mesh.MeshId = meshid
  761. end
  762. mesh.Offset = offset
  763. mesh.Scale = scale
  764. return mesh
  765. end
  766.  
  767. weld = function(parent, part0, part1, c0, c1)
  768. local weld = it("Weld")
  769. weld.Parent = parent
  770. weld.Part0 = part0
  771. weld.Part1 = part1
  772. weld.C0 = c0
  773. weld.C1 = c1
  774. return weld
  775. end
  776.  
  777. local CFrameFromTopBack = function(at, top, back)
  778. local right = top:Cross(back)
  779. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  780. end
  781.  
  782. Triangle = function(a, b, c)
  783. local edg1 = c - a:Dot(b - a.unit)
  784. local edg2 = a - b:Dot(c - b.unit)
  785. local edg3 = b - c:Dot(a - c.unit)
  786. if edg1 <= b - a.magnitude and edg1 >= 0 then
  787. a = a
  788. else
  789. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  790.  
  791. if edg2 <= c - b.magnitude and edg2 >= 0 then
  792. a = b
  793. else
  794. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  795.  
  796. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  797.  
  798. if edg3 <= a - c.magnitude and edg3 >= 0 then
  799. a = c
  800. else
  801. assert(false, "unreachable")
  802. end
  803. end
  804. end
  805. local len1 = c - a:Dot(b - a.unit)
  806. local len2 = b - a.magnitude - len1
  807. local width = a + b - a.unit * len1 - c.magnitude
  808. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  809. local list = {}
  810. if len1 > 0.01 then
  811. local w1 = Instance.new("WedgePart", m)
  812. game:GetService("Debris"):AddItem(w1, 5)
  813. w1.Material = "SmoothPlastic"
  814. w1.FormFactor = "Custom"
  815. w1.BrickColor = BrickColor.new("Really black")
  816. w1.Transparency = 0
  817. w1.Reflectance = 0
  818. w1.Material = "Neon"
  819. w1.CanCollide = false
  820. NoOutline(w1)
  821. local sz = Vector3.new(0.2, width, len1)
  822. w1.Size = sz
  823. local sp = Instance.new("SpecialMesh", w1)
  824. sp.MeshType = "Wedge"
  825. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  826. w1:BreakJoints()
  827. w1.Anchored = true
  828. w1.Parent = workspace
  829. w1.Transparency = 0.7
  830. table.insert(Effects, {w1, "Disappear", 0.01})
  831. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  832. table.insert(list, w1)
  833. end
  834. do
  835. if len2 > 0.01 then
  836. local w2 = Instance.new("WedgePart", m)
  837. game:GetService("Debris"):AddItem(w2, 5)
  838. w2.Material = "SmoothPlastic"
  839. w2.FormFactor = "Custom"
  840. w2.BrickColor = BrickColor.new("Really black")
  841. w2.Transparency = 0
  842. w2.Reflectance = 0
  843. w2.Material = "Neon"
  844. w2.CanCollide = false
  845. NoOutline(w2)
  846. local sz = Vector3.new(0.2, width, len2)
  847. w2.Size = sz
  848. local sp = Instance.new("SpecialMesh", w2)
  849. sp.MeshType = "Wedge"
  850. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  851. w2:BreakJoints()
  852. w2.Anchored = true
  853. w2.Parent = workspace
  854. w2.Transparency = 0.7
  855. table.insert(Effects, {w2, "Disappear", 0.01})
  856. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  857. table.insert(list, w2)
  858. end
  859. do
  860. return unpack(list)
  861. end
  862. end
  863. end
  864.  
  865. so = function(id, par, vol, pit)
  866. coroutine.resume(coroutine.create(function()
  867. local sou = Instance.new("Sound", par or workspace)
  868. sou.Volume = vol
  869. sou.Pitch = pit or 1
  870. sou.SoundId = id
  871. swait()
  872. sou:play()
  873. game:GetService("Debris"):AddItem(sou, 6)
  874. end
  875. ))
  876. end
  877.  
  878. clerp = function(a, b, t)
  879. local qa = {QuaternionFromCFrame(a)}
  880. local qb = {QuaternionFromCFrame(b)}
  881. local ax, ay, az = a.x, a.y, a.z
  882. local bx, by, bz = b.x, b.y, b.z
  883. local _t = 1 - t
  884. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  885. end
  886.  
  887. QuaternionFromCFrame = function(cf)
  888. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  889. local trace = m00 + m11 + m22
  890. if trace > 0 then
  891. local s = math.sqrt(1 + trace)
  892. local recip = 0.5 / s
  893. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  894. else
  895. do
  896. local i = 0
  897. if m00 < m11 then
  898. i = 1
  899. end
  900. if i == 0 and m00 or m11 < m22 then
  901. i = 2
  902. end
  903. if i == 0 then
  904. local s = math.sqrt(m00 - m11 - m22 + 1)
  905. local recip = 0.5 / s
  906. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  907. else
  908. do
  909. if i == 1 then
  910. local s = math.sqrt(m11 - m22 - m00 + 1)
  911. local recip = 0.5 / s
  912. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  913. else
  914. do
  915. if i == 2 then
  916. local s = math.sqrt(m22 - m00 - m11 + 1)
  917. local recip = 0.5 / s
  918. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  919. end
  920. end
  921. end
  922. end
  923. end
  924. end
  925. end
  926. end
  927.  
  928. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  929. local xs, ys, zs = x + x, y + y, z + z
  930. local wx, wy, wz = w * xs, w * ys, w * zs
  931. local xx = x * xs
  932. local xy = x * ys
  933. local xz = x * zs
  934. local yy = y * ys
  935. local yz = y * zs
  936. local zz = z * zs
  937. 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))
  938. end
  939.  
  940. QuaternionSlerp = function(a, b, t)
  941. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  942. local startInterp, finishInterp = nil, nil
  943. if cosTheta >= 0.0001 then
  944. if 1 - cosTheta > 0.0001 then
  945. local theta = math.acos(cosTheta)
  946. local invSinTheta = 1 / math.sin(theta)
  947. startInterp = math.sin((1 - t) * theta) * invSinTheta
  948. finishInterp = math.sin(t * theta) * invSinTheta
  949. else
  950. do
  951. startInterp = 1 - t
  952. finishInterp = t
  953. if 1 + cosTheta > 0.0001 then
  954. local theta = math.acos(-cosTheta)
  955. local invSinTheta = 1 / math.sin(theta)
  956. startInterp = math.sin((t - 1) * theta) * invSinTheta
  957. finishInterp = math.sin(t * theta) * invSinTheta
  958. else
  959. do
  960. startInterp = t - 1
  961. finishInterp = t
  962. 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
  963. end
  964. end
  965. end
  966. end
  967. end
  968. end
  969.  
  970. rayCast = function(Pos, Dir, Max, Ignore)
  971. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  972. end
  973.  
  974. local CFrameFromTopBack = function(at, top, back)
  975. local right = top:Cross(back)
  976. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  977. end
  978.  
  979. rayCast = function(Pos, Dir, Max, Ignore)
  980. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  981. end
  982.  
  983. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  984. if hit.Parent == nil then
  985. return
  986. end
  987. local h = hit.Parent:FindFirstChild("Humanoid")
  988. for _,v in pairs(hit.Parent:children()) do
  989. if v:IsA("Humanoid") then
  990. h = v
  991. end
  992. end
  993. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  994. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  995. end
  996. if hit.Parent.className == "Hat" then
  997. hit = hit.Parent.Parent:findFirstChild("Head")
  998. end
  999. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1000. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1001. return
  1002. end
  1003. local c = Instance.new("ObjectValue")
  1004. c.Name = "creator"
  1005. c.Value = game:service("Players").LocalPlayer
  1006. c.Parent = h
  1007. game:GetService("Debris"):AddItem(c, 0.5)
  1008. local Damage = math.random(minim, maxim)
  1009. local blocked = false
  1010. local block = hit.Parent:findFirstChild("Block")
  1011. if block ~= nil then
  1012. print(block.className)
  1013. if block.className == "NumberValue" and block.Value > 0 then
  1014. blocked = true
  1015. if decreaseblock == nil then
  1016. block.Value = block.Value - 1
  1017. end
  1018. end
  1019. if block.className == "IntValue" and block.Value > 0 then
  1020. blocked = true
  1021. if decreaseblock ~= nil then
  1022. block.Value = block.Value - 1
  1023. end
  1024. end
  1025. end
  1026. if blocked == false then
  1027. h.Health = h.Health - Damage
  1028. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1029. else
  1030. h.Health = h.Health - Damage / 2
  1031. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really black").Color)
  1032. end
  1033. if Type == "Knockdown" then
  1034. local hum = hit.Parent.Humanoid
  1035. hum.PlatformStand = true
  1036. coroutine.resume(coroutine.create(function(HHumanoid)
  1037. swait(1)
  1038. HHumanoid.PlatformStand = false
  1039. end
  1040. ), hum)
  1041. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1042. local bodvol = Instance.new("BodyVelocity")
  1043. bodvol.velocity = angle * knockback
  1044. bodvol.P = 5000
  1045. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1046. bodvol.Parent = hit
  1047. local rl = Instance.new("BodyAngularVelocity")
  1048. rl.P = 3000
  1049. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1050. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1051. rl.Parent = hit
  1052. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1053. game:GetService("Debris"):AddItem(rl, 0.5)
  1054. else
  1055. do
  1056. if Type == "Normal" then
  1057. local vp = Instance.new("BodyVelocity")
  1058. vp.P = 500
  1059. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1060. if KnockbackType == 1 then
  1061. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1062. else
  1063. if KnockbackType == 2 then
  1064. vp.velocity = Property.CFrame.lookVector * knockback
  1065. end
  1066. end
  1067. if knockback > 0 then
  1068. vp.Parent = hit.Parent.Torso
  1069. end
  1070. game:GetService("Debris"):AddItem(vp, 0.5)
  1071. else
  1072. do
  1073. if Type == "Up" then
  1074. local bodyVelocity = Instance.new("BodyVelocity")
  1075. bodyVelocity.velocity = vt(0, 60, 0)
  1076. bodyVelocity.P = 5000
  1077. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1078. bodyVelocity.Parent = hit
  1079. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1080. local rl = Instance.new("BodyAngularVelocity")
  1081. rl.P = 3000
  1082. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1083. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1084. rl.Parent = hit
  1085. game:GetService("Debris"):AddItem(rl, 0.5)
  1086. else
  1087. do
  1088. if Type == "Snare" then
  1089. local bp = Instance.new("BodyPosition")
  1090. bp.P = 2000
  1091. bp.D = 100
  1092. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1093. bp.position = hit.Parent.Torso.Position
  1094. bp.Parent = hit.Parent.Torso
  1095. game:GetService("Debris"):AddItem(bp, 1)
  1096. else
  1097. do
  1098. if Type == "Target" then
  1099. local Targetting = false
  1100. if Targetting == false then
  1101. ZTarget = hit.Parent.Torso
  1102. coroutine.resume(coroutine.create(function(Part)
  1103. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1104. swait(5)
  1105. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  1106. end
  1107. ), ZTarget)
  1108. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  1109. local targetgui = Instance.new("BillboardGui")
  1110. targetgui.Parent = ZTarget
  1111. targetgui.Size = UDim2.new(10, 100, 10, 100)
  1112. local targ = Instance.new("ImageLabel")
  1113. targ.Parent = targetgui
  1114. targ.BackgroundTransparency = 1
  1115. targ.Image = "rbxassetid://4834067"
  1116. targ.Size = UDim2.new(1, 0, 1, 0)
  1117. cam.CameraType = "Scriptable"
  1118. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1119. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1120. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1121. Targetting = true
  1122. RocketTarget = ZTarget
  1123. for i = 1, Property do
  1124. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  1125. swait()
  1126. end
  1127. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  1128. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  1129. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  1130. end
  1131. Targetting = false
  1132. RocketTarget = nil
  1133. targetgui.Parent = nil
  1134. cam.CameraType = "Custom"
  1135. end
  1136. end
  1137. do
  1138. local debounce = Instance.new("BoolValue")
  1139. debounce.Name = "DebounceHit"
  1140. debounce.Parent = hit.Parent
  1141. debounce.Value = true
  1142. game:GetService("Debris"):AddItem(debounce, Delay)
  1143. c = Instance.new("ObjectValue")
  1144. c.Name = "creator"
  1145. c.Value = Player
  1146. c.Parent = h
  1147. game:GetService("Debris"):AddItem(c, 0.5)
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157. end
  1158. end
  1159.  
  1160. MagniDamage = function(Hit, Part, magni, mindam, maxdam, knock, Type)
  1161. for _,c in pairs(workspace:children()) do
  1162. local hum = c:findFirstChild("Humanoid")
  1163. if hum ~= nil then
  1164. local head = c:findFirstChild("Torso")
  1165. if head ~= nil then
  1166. local targ = head.Position - Part.Position
  1167. local mag = targ.magnitude
  1168. if mag <= magni and c.Name ~= Player.Name then
  1169. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3)
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175.  
  1176. ShowDamage = function(Pos, Text, Time, Color)
  1177. local Rate = 0.033333333333333
  1178. if not Pos then
  1179. local Pos = Vector3.new(0, 0, 0)
  1180. end
  1181. local Text = Text or ""
  1182. local Time = Time or 2
  1183. if not Color then
  1184. local Color = Color3.new(1, 0, 0)
  1185. end
  1186. local EffectPart = part("Custom", workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  1187. EffectPart.Anchored = true
  1188. local BillboardGui = Instance.new("BillboardGui")
  1189. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1190. BillboardGui.Adornee = EffectPart
  1191. local TextLabel = Instance.new("TextLabel")
  1192. TextLabel.BackgroundTransparency = 1
  1193. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1194. TextLabel.Text = Text
  1195. TextLabel.TextColor3 = Color
  1196. TextLabel.TextScaled = true
  1197. TextLabel.Font = Enum.Font.ArialBold
  1198. TextLabel.Parent = BillboardGui
  1199. BillboardGui.Parent = EffectPart
  1200. game.Debris:AddItem(EffectPart, Time + 0.1)
  1201. EffectPart.Parent = game:GetService("Workspace")
  1202. Delay(0, function()
  1203. local Frames = Time / Rate
  1204. for Frame = 1, Frames do
  1205. wait(Rate)
  1206. local Percent = Frame / Frames
  1207. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1208. TextLabel.TextTransparency = Percent
  1209. end
  1210. if EffectPart and EffectPart.Parent then
  1211. EffectPart:Destroy()
  1212. end
  1213. end
  1214. )
  1215. end
  1216.  
  1217. Handle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Handle", Vector3.new(0.296501815, 5.18878126, 0.296499223))
  1218. Handleweld = weld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.10050106, -1.63029861, -0.888347149, -1, 0, 0, 0, 0, -1, 0, -0.999999881, 0))
  1219. mesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1220. Hitbox = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Black", "Hitbox", Vector3.new(0.200000003, 6.98600721, 2.19299841))
  1221. Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -3.93773937, 2.93521118, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1222. mesh("BlockMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1223. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.52026534, 0.200000003))
  1224. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, -1.70486319, 3.70584869, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1225. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1226. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1227. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 0.815379143, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007))
  1228. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1229. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Dark grey", "Part", Vector3.new(1.03775609, 0.311326832, 1.18599701))
  1230. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.40932465, 3.81469727e-006, -6.91413879e-006, -2.98023295e-008, -1, 0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762))
  1231. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1232. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501815, 0.889504969, 0.200000003))
  1233. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.86102295e-006, -1.34825706, -1.8123436, 0.999997854, 1.3482402e-007, 1.3200642e-007, -1.99253947e-009, 0.707105041, -0.707106531, -1.88677433e-007, 0.7071051, 0.707106531))
  1234. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1235. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501815, 0.889504969, 0.200000003))
  1236. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-006, 1.33309555, -1.79717827, 0.999997854, 7.14049833e-008, 2.88419812e-007, -2.54434127e-007, 0.707104981, 0.707106411, -1.53452262e-007, -0.707104921, 0.707106352))
  1237. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1238. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1239. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, -2.44612718, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1240. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1241. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.296501756, 0.200000003))
  1242. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -2.37199664, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007))
  1243. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1244. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1245. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, 2.14962149, -2.81639862, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007))
  1246. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1247. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.593003511, 0.200000003))
  1248. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, -1.18598497, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1249. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1250. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1251. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -2.59437418, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007))
  1252. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1253. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1254. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, -1.55661559, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1255. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1256. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.326151937, 0.296499252))
  1257. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.8536377, 0.000444412231, -6.91413879e-006, -2.9802333e-008, -0.999999762, 0, 1, -2.98023402e-008, 0, 0, 0, 0.999999523))
  1258. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1259. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1260. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 2.0013752, 3.85409546, -0.999993443, -5.94257529e-007, -4.47034836e-008, -2.98022105e-008, -6.0737176e-007, -0.999998927, 5.9425787e-007, -0.999993384, 6.66978679e-007))
  1261. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1262. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.296501756, 0.200000003))
  1263. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, -2.22374678, 3.85409546, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1264. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1265. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.296499103))
  1266. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.80853271, 0.000414848328, 3.47587585, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517091e-007, -0.499999642, 0.866024554))
  1267. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1268. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.889505386, 0.200000003))
  1269. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00040435791, -1.87283707, -3.30593491, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497))
  1270. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1271. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.296499103))
  1272. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.15766907, 0.000414848328, -0.0542945862, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.13355285e-008, 0.499999583, 0.866024554))
  1273. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1274. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.444752693, 0.200000003))
  1275. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000381469727, 0.518871069, 4.00193787, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1276. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1277. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1278. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.15768051, 0.000414848328, 0.168071747, 1.73149047e-007, -0.866024673, 0.499999404, 1, 1.09283775e-007, -1.57012963e-007, 8.13355712e-008, 0.499999523, 0.866024494))
  1279. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1280. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 1.77899528))
  1281. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.9568634, 0.000414848328, 4.06890678, 1.29209454e-007, -0.866017103, -0.499994904, 0.99999994, 2.00155014e-007, -8.82613804e-008, 1.7651513e-007, -0.499995023, 0.866016924))
  1282. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1283. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.741247892))
  1284. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.6042366, 0.000414848328, 1.40539384, 7.28354408e-008, -0.999999523, 2.98026634e-008, 1, 7.28354905e-008, -1.137834e-007, 1.13783528e-007, 2.9802635e-008, 0.999999285))
  1285. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1286. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.741247892))
  1287. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.15763474, 0.000415802002, -0.721405029, 8.67096972e-008, -0.866025329, 0.499999881, 1, 3.44270887e-008, -1.13789923e-007, 8.13314571e-008, 0.5, 0.86602515))
  1288. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1289. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.741247892))
  1290. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95671082, 0.000415802002, 2.80871201, 4.27689706e-008, -0.86602515, -0.499999851, 0.999999762, 1.25296964e-007, -1.31482579e-007, 1.76515783e-007, -0.499999851, 0.866025209))
  1291. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1292. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.592998326))
  1293. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.15768814, 0.000414848328, 0.538698196, 1.73149076e-007, -0.866024733, 0.499999464, 1, 1.09283768e-007, -1.57012991e-007, 8.1335557e-008, 0.499999583, 0.866024554))
  1294. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1295. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.593003631, 0.200000003))
  1296. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000418663025, -4.66182327, -2.80873108, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751))
  1297. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1298. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.741247892))
  1299. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.30587387, 0.000415802002, -0.721378326, 8.67091714e-008, -0.866024256, 0.499999464, 0.999999046, 3.4425458e-008, -1.13791891e-007, 8.13342709e-008, 0.499999762, 0.86602515))
  1300. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1301. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.741247892))
  1302. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.80846024, 0.000415802002, 2.8087101, 4.27693685e-008, -0.86602515, -0.499999851, 0.999999762, 1.25295941e-007, -1.31480022e-007, 1.76513069e-007, -0.499999851, 0.866025209))
  1303. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1304. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1305. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.15765762, 0.000414848328, -0.27664566, 1.73148948e-007, -0.866023302, 0.499998629, 1, 1.09283704e-007, -1.57012749e-007, 8.13356706e-008, 0.499998748, 0.866023123))
  1306. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1307. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.889505386, 0.200000003))
  1308. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000422477722, -5.40308189, -2.95698166, 0.999993205, -2.08179517e-006, 4.68745384e-006, 5.02319881e-006, 0.499976099, -0.866036355, -4.73424905e-007, 0.866031289, 0.499978751))
  1309. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1310. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.593003631, 0.200000003))
  1311. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000400543213, -1.13156891, -3.15768433, 0.999993205, 3.10420091e-006, 4.20707329e-006, 5.11838152e-006, -0.500021577, -0.86601007, -5.17362992e-007, 0.86601001, -0.500015497))
  1312. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1313. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1314. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.80859375, 0.000414848328, 3.69829178, 1.29208786e-007, -0.866024613, -0.499999523, 1, 2.00156563e-007, -8.82638247e-008, 1.76517119e-007, -0.499999642, 0.866024435))
  1315. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1316. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.741254389, 0.296501786, 0.889497578))
  1317. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.55724716, 0.000415802002, 0.593008757, -2.98023437e-008, -1, 0, 1, -2.98023437e-008, 0, 0, 0, 0.999999762))
  1318. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1319. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.80845261, 0.000414848328, 3.25345612, 1.29208672e-007, -0.866023123, -0.499998778, 0.999999762, 2.00156279e-007, -8.82637536e-008, 1.76517077e-007, -0.499998778, 0.866023183))
  1320. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1321. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 1.77899528))
  1322. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.30587006, 0.000414848328, 0.538694382, 1.73149331e-007, -0.866016984, 0.499995172, 0.99999994, 1.09285118e-007, -1.57010405e-007, 8.13343917e-008, 0.499995291, 0.866016805))
  1323. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1324. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.592998326))
  1325. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.80862808, 0.000414848328, 4.06892586, 1.29208814e-007, -0.866024733, -0.499999523, 1, 2.00156606e-007, -8.8263846e-008, 1.76517119e-007, -0.499999642, 0.866024554))
  1326. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1327. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1328. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 2.89088011, 3.26107788, -0.999993324, -1.62995764e-006, 4.10754041e-007, -2.91542648e-007, 1.04308128e-007, -0.999998927, 1.61505602e-006, -0.999993324, -2.53319683e-007))
  1329. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1330. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1331. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -2.89087987, -3.26107788, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007))
  1332. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1333. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501815, 4.00277376, 0.200000003))
  1334. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -0.00343322754, -0.573273778, 0.999997854, 1.29937892e-008, 1.07842467e-007, -1.29937483e-008, 0.999997437, 0, -1.07842268e-007, 5.96046448e-008, 0.999999464))
  1335. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1336. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1337. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.26012194, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007))
  1338. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1339. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1340. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, 0.815383554, -2.81639481, 0.999993205, 5.96046448e-007, -4.47034836e-008, 2.98021234e-008, 6.07371646e-007, -0.999998927, -5.96046448e-007, 0.999993205, 6.66978679e-007))
  1341. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1342. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.18600714, 0.592998505))
  1343. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -1.03774309, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1344. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1345. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.296501756, 0.200000003))
  1346. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.0377425, -2.81639481, -0.999993324, -1.35600567e-006, 7.45057918e-008, -4.47034942e-008, -1.49011569e-007, 0.999998868, -1.34110451e-006, 0.999993265, 2.08616129e-007))
  1347. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1348. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.592998505))
  1349. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -1.70486319, 3.33521271, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1350. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1351. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.0377562, 0.200000003))
  1352. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -2.2978766, 3.26107407, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1353. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1354. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.200000003, 0.200000003))
  1355. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.48348236, 3.81469727e-006, -2.2978785, -2.98023224e-008, -0.999999821, 0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762))
  1356. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.815379977, 0.741248071))
  1357. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.296499252))
  1358. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -2.89088058, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1359. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1360. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.18600726, 0.200000003))
  1361. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -2.37198853, 3.11284637, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1362. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1363. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.200000003, 0.200000003))
  1364. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.48348236, 3.81469727e-006, -2.00137448, -2.98023224e-008, -0.999999821, 0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762))
  1365. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.815379977, 0.741248071))
  1366. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.200000003, 0.200000003))
  1367. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.48348236, 3.81469727e-006, -2.5943768, -2.98023224e-008, -0.999999821, 0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762))
  1368. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.815379977, 0.741248071))
  1369. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.0377562, 0.296499252))
  1370. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -2.29787683, 3.48345947, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1371. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1372. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 2.07551241, 0.592998505))
  1373. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -4.00276041, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007))
  1374. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.815379918, 1, 1))
  1375. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.9650178, 0.889497638))
  1376. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -4.4475174, 3.33521271, 0.999993443, 1.45976469e-006, 1.94331719e-007, -7.51218181e-008, 1.49011612e-007, 0.999998868, 1.45976469e-006, -0.999993384, 2.23517361e-007))
  1377. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1378. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.311326861, 0.296501487, 0.326149136))
  1379. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 2.00148392, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1380. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1381. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.311326861, 1.33425784, 0.326149136))
  1382. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1383. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1384. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 2.9650178, 0.444748878))
  1385. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.86102295e-006, -3.84435654, 4.01723862, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537))
  1386. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.815379977, 1, 1))
  1387. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.311326861, 0.296501487, 0.326149136))
  1388. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -1.85279465, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1389. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1390. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 2.52026534, 0.200000003))
  1391. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.70486307, 2.96461105, 0.999993443, 1.43051147e-006, 7.45057918e-008, 4.47034836e-008, 1.49011612e-007, 0.999998868, 1.43051147e-006, -0.999993384, 2.08616129e-007))
  1392. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1393. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 4.29927588, 0.741248131))
  1394. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.86102295e-006, -4.5114727, 4.01726913, 0.999993443, 1.59027059e-006, 2.6722384e-007, 2.68622188e-007, -0.258817196, 0.965924799, 1.57439217e-006, -0.965919495, -0.258818537))
  1395. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1396. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.326151937, 0.200000003, 0.355799079))
  1397. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 9.91821289e-005, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1398. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 1))
  1399. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.311326861, 0.200000003, 0.326149136))
  1400. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 1.03784561, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1401. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 1))
  1402. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.33425796, 0.296501786, 1.48249602))
  1403. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.40934753, 3.81469727e-006, -6.91413879e-006, -2.98023224e-008, -0.999999821, 0, 0.999999821, -2.98023224e-008, 0, 0, 0, 0.999999762))
  1404. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1405. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.311326861, 0.200000003, 0.326149136))
  1406. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -1.03752136, -6.91413879e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  1407. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 1))
  1408. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.326151937, 0.296499252))
  1409. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.40927505, 2.95639038e-005, 0.444754362, -2.98023295e-008, -1, 0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762))
  1410. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1411. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.326151937, 0.296499252))
  1412. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.40908051, 0.000387191772, -6.91413879e-006, -2.98023259e-008, -0.999999523, 0, 1, -2.98023402e-008, 0, 0, 0, 0.999999285))
  1413. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1414. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.326151937, 0.296499252))
  1415. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.96453476, 4.67300415e-005, -6.91413879e-006, -2.98023295e-008, -1, 0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762))
  1416. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1417. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.326151937, 0.296499252))
  1418. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.40927505, 2.95639038e-005, -0.444758654, -2.98023295e-008, -1, 0, 1, -2.98023295e-008, 0, 0, 0, 0.999999762))
  1419. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 1))
  1420. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.296501786, 0.200000003))
  1421. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.00191879, 0.00050163269, 0.815378904, -2.98023437e-008, -0.999999642, 0, 0.999999642, -2.98023437e-008, 0, 0, 0, 0.999999762))
  1422. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1423. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.444748729))
  1424. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.45595932, 0.000414848328, 1.25711417, 7.28358245e-008, -0.999999046, 2.98032496e-008, 1, 7.28358458e-008, -1.13780651e-007, 1.13780807e-007, 2.98032212e-008, 0.999998808))
  1425. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1426. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.296501487, 0.296499223))
  1427. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -2.74229431, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523))
  1428. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1429. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.296501487, 0.296499223))
  1430. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 2.74255371, -6.67572021e-006, 1, 0, 0, 0, 1, 0, 0, 0, 0.999999523))
  1431. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1432. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.296501786, 0.296499252))
  1433. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.48226929e-005, 2.89077377, -2.43186951e-005, 0.999999642, 1.29942332e-008, 1.07873738e-007, -1.29943079e-008, 0.999999642, 7.15448891e-007, -1.07873717e-007, -7.15448834e-007, 0.999999762))
  1434. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1435. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.200000003, 0.200000003))
  1436. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000374794006, -0.963628292, 4.00193787, -0.999993443, -3.16762635e-006, -1.49011381e-008, -1.49021755e-008, 8.47403953e-007, -0.999998868, 3.16762657e-006, -0.999993384, -7.8780505e-007))
  1437. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 0.741248071))
  1438. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.296501786, 0.200000003))
  1439. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000382423401, -0.88951993, -3.11242676, 0.999993205, 1.42891167e-006, -3.27825433e-007, -4.32134527e-007, 1.02892602e-006, -0.999998927, -1.47361538e-006, 0.999993265, 9.69328653e-007))
  1440. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1441. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.296501786, 0.444752693, 0.200000003))
  1442. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000383377075, 0.518874645, -3.11242294, -0.999993443, -1.32620335e-006, 2.76574696e-007, 3.95783559e-007, -9.85657607e-007, 0.999998868, -1.37090683e-006, 0.999993265, 9.26059613e-007))
  1443. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.741248071))
  1444. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 1.48249602))
  1445. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.60424805, 0.000413894653, 2.51726198, 1.59275899e-007, -0.999999821, 1.49011584e-007, 1, 1.59275913e-007, -1.1378453e-007, 1.1378458e-007, 1.49011612e-007, 0.999999583))
  1446. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1447. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.593003631, 0.200000003))
  1448. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000409126282, -2.96186352, -3.45602417, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005))
  1449. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1450. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1451. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.45597839, 0.000414848328, 1.55362201, 1.59275089e-007, -0.999997139, -5.96043996e-008, 1, 1.59274975e-007, -1.13784445e-007, 1.13784942e-007, -5.96045808e-008, 0.999996901))
  1452. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1453. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.592998326))
  1454. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.45598221, 0.000413894653, 2.36899614, 1.59275146e-007, -0.999998569, -2.98022584e-008, 1, 1.59275189e-007, -1.13784601e-007, 1.137849e-007, -2.98023508e-008, 0.999998331))
  1455. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1456. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1457. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.45597839, 0.000414848328, 1.99837613, 1.59275089e-007, -0.99999845, -5.96045027e-008, 1, 1.59275174e-007, -1.13784559e-007, 1.13784928e-007, -5.96046306e-008, 0.999998212))
  1458. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1459. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.296499103))
  1460. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.45598602, 0.000414848328, 1.77599883, 1.59275174e-007, -0.999998808, -2.98022726e-008, 1, 1.59275203e-007, -1.13784644e-007, 1.13784857e-007, -2.98023366e-008, 0.999998569))
  1461. mesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 1))
  1462. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.889505386, 0.200000003))
  1463. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000412940979, -3.70311022, -3.60429001, 0.999993205, 5.70906195e-007, 5.16308319e-006, 5.08593212e-006, -2.63005495e-005, -0.999997497, -5.03489844e-007, 0.999994576, -2.12490504e-005))
  1464. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 1, 0.741248071))
  1465. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1466. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 1.90172958, -0.639986753, 0.999993563, 1.29944793e-008, 1.07850958e-007, -1.29944917e-008, 0.999992311, 1.25175063e-006, -1.0785029e-007, -1.07292954e-006, 0.999998868))
  1467. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1468. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.593003571, 0.200000003))
  1469. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 0.0706977844, -0.573273659, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464))
  1470. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.815372765))
  1471. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.200000003, 0.200000003))
  1472. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -0.596420288, -0.57327354, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464))
  1473. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 0.815372765))
  1474. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.741254449, 0.200000003))
  1475. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, -1.18922043, -0.57327342, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464))
  1476. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.815372765))
  1477. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.200000003, 0.200000003))
  1478. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 0.737804413, -0.573273778, 0.999997854, 1.29939313e-008, 1.07844173e-007, -1.29939162e-008, 0.999997437, 2.38420625e-007, -1.07843974e-007, -1.78815498e-007, 0.999999464))
  1479. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.741254449, 0.815372765))
  1480. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1481. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.62124634e-005, -1.92287064, -0.639983892, 0.999997854, 1.29942155e-008, 1.07847583e-007, -1.29942519e-008, 0.999997437, 7.15275121e-007, -1.07847377e-007, -6.55669055e-007, 0.999999464))
  1482. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.741254449, 0.741254449, 0.741248071))
  1483. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.296501815, 0.741254449, 0.200000003))
  1484. Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727e-006, 1.33082199, -0.573274136, 0.999993563, 1.2994124e-008, 1.07846695e-007, -1.29940725e-008, 0.999992311, 6.55663769e-007, -1.07846034e-007, -4.76846481e-007, 0.999998868))
  1485. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.815372765))
  1486. attackone = function()
  1487. attack = true
  1488. con1 = Hitbox.Touched:connect(function(hit)
  1489. Damagefunc(Hitbox, hit, 10, 30, math.random(10, 20), "Normal", RootPart, 0.2, 1)
  1490. end
  1491. )
  1492. for i = 0, 1, 0.1 do
  1493. swait()
  1494. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.3)
  1495. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(10), math.rad(-70)), 0.3)
  1496. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1497. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(-70), math.rad(0)), 0.3)
  1498. RH.C0 = clerp(RH.C0, cf(1, -1, 0.2) * angles(math.rad(0), math.rad(40), math.rad(20)), 0.3)
  1499. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  1500. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(0)), 0.3)
  1501. end
  1502. so("http://roblox.com/asset/?id=92597369", Hitbox, 1, 0.6)
  1503. so("http://roblox.com/asset/?id=231917871", Hitbox, 1, 0.8)
  1504. for i = 0, 1, 0.1 do
  1505. swait()
  1506. local blcf = Hitbox.CFrame * CFrame.new(0, 0.5, 0)
  1507. if scfr and Hitbox.Position - scfr.p.magnitude > 0.1 then
  1508. local h = 5
  1509. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  1510. if a then
  1511. game.Debris:AddItem(a, 1)
  1512. end
  1513. if b then
  1514. game.Debris:AddItem(b, 1)
  1515. end
  1516. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  1517. if a then
  1518. game.Debris:AddItem(a, 1)
  1519. end
  1520. if b then
  1521. game.Debris:AddItem(b, 1)
  1522. end
  1523. scfr = blcf
  1524. else
  1525. do
  1526. do
  1527. if not scfr then
  1528. scfr = blcf
  1529. end
  1530. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-80)), 0.3)
  1531. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-5), math.rad(5), math.rad(70)), 0.3)
  1532. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.5) * angles(math.rad(0), math.rad(-70), math.rad(90)), 0.3)
  1533. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3)
  1534. RH.C0 = clerp(RH.C0, cf(1, -1, 0.2) * angles(math.rad(0), math.rad(40), math.rad(20)), 0.3)
  1535. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  1536. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(0)), 0.3)
  1537. -- DECOMPILER ERROR at PC532: LeaveBlock: unexpected jumping out DO_STMT
  1538.  
  1539. -- DECOMPILER ERROR at PC532: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1540.  
  1541. -- DECOMPILER ERROR at PC532: LeaveBlock: unexpected jumping out IF_STMT
  1542.  
  1543. end
  1544. end
  1545. end
  1546. end
  1547. attack = false
  1548. con1:disconnect()
  1549. scfr = nil
  1550. end
  1551.  
  1552. local Effects = {}
  1553. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1554. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt())
  1555. prt.Anchored = true
  1556. prt.CFrame = cframe
  1557. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1558. game:GetService("Debris"):AddItem(prt, 5)
  1559. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3})
  1560. end
  1561.  
  1562. attacktwo = function()
  1563. attack = true
  1564. con1 = Hitbox.Touched:connect(function(hit)
  1565. Damagefunc(Hitbox, hit, 10, 30, math.random(10, 20), "Normal", RootPart, 0.2, 1)
  1566. end
  1567. )
  1568. for i = 0, 1, 0.1 do
  1569. swait()
  1570. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(90)), 0.2)
  1571. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(-5), math.rad(-80)), 0.3)
  1572. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(-70), math.rad(0)), 0.3)
  1574. end
  1575. for i = 0, 1 do
  1576. swait()
  1577. so("http://roblox.com/asset/?id=92597369", Hitbox, 1, 0.7)
  1578. so("http://www.roblox.com/asset/?id=234365573", Hitbox, 1, 0.7)
  1579. for i = 0, 1, 0.1 do
  1580. swait()
  1581. local blcf = Hitbox.CFrame * CFrame.new(0, 0.5, 0)
  1582. if scfr and Hitbox.Position - scfr.p.magnitude > 0.1 then
  1583. local h = 5
  1584. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  1585. if a then
  1586. game.Debris:AddItem(a, 1)
  1587. end
  1588. if b then
  1589. game.Debris:AddItem(b, 1)
  1590. end
  1591. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  1592. if a then
  1593. game.Debris:AddItem(a, 1)
  1594. end
  1595. if b then
  1596. game.Debris:AddItem(b, 1)
  1597. end
  1598. scfr = blcf
  1599. else
  1600. do
  1601. do
  1602. if not scfr then
  1603. scfr = blcf
  1604. end
  1605. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, -6 * i), 0.3)
  1606. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(-5), math.rad(-50)), 0.3)
  1607. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(0), math.rad(-10), math.rad(90)), 0.1)
  1608. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1609. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-50), math.rad(0), math.rad(0)), 0.3)
  1610. -- DECOMPILER ERROR at PC392: LeaveBlock: unexpected jumping out DO_STMT
  1611.  
  1612. -- DECOMPILER ERROR at PC392: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1613.  
  1614. -- DECOMPILER ERROR at PC392: LeaveBlock: unexpected jumping out IF_STMT
  1615.  
  1616. end
  1617. end
  1618. end
  1619. end
  1620. end
  1621. con1:disconnect()
  1622. attack = false
  1623. scfr = nil
  1624. end
  1625.  
  1626. attackthree = function()
  1627. attack = true
  1628. con1 = Hitbox.Touched:connect(function(hit)
  1629. Damagefunc(Hitbox, hit, 10, 30, math.random(10, 20), "Normal", RootPart, 0.2, 1)
  1630. end
  1631. )
  1632. for i = 0, 1, 0.1 do
  1633. swait()
  1634. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1635. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(-5), math.rad(0)), 0.3)
  1636. RW.C0 = clerp(RW.C0, cf(1, 0.8, -1) * angles(math.rad(150), math.rad(0), math.rad(-50)), 0.3)
  1637. LW.C0 = clerp(LW.C0, cf(-1, 0.8, -1) * angles(math.rad(150), math.rad(0), math.rad(50)), 0.3)
  1638. RH.C0 = clerp(RH.C0, cf(1, -1, 0.2) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1639. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.2) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1640. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, 0, -0.2) * angles(math.rad(-20), math.rad(-20), math.rad(50)), 0.3)
  1641. end
  1642. so("http://roblox.com/asset/?id=92597369", Hitbox, 1, 0.4)
  1643. so("http://www.roblox.com/asset/?id=234365549", Hitbox, 1, 0.6)
  1644. for i = 0, 1, 0.1 do
  1645. swait()
  1646. local blcf = Hitbox.CFrame * CFrame.new(0, 0.5, 0)
  1647. if scfr and Hitbox.Position - scfr.p.magnitude > 0.1 then
  1648. local h = 5
  1649. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  1650. if a then
  1651. game.Debris:AddItem(a, 1)
  1652. end
  1653. if b then
  1654. game.Debris:AddItem(b, 1)
  1655. end
  1656. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  1657. if a then
  1658. game.Debris:AddItem(a, 1)
  1659. end
  1660. if b then
  1661. game.Debris:AddItem(b, 1)
  1662. end
  1663. scfr = blcf
  1664. else
  1665. do
  1666. do
  1667. if not scfr then
  1668. scfr = blcf
  1669. end
  1670. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1671. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(-5), math.rad(0)), 0.3)
  1672. RW.C0 = clerp(RW.C0, cf(1, 0.2, -0.5) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3)
  1673. LW.C0 = clerp(LW.C0, cf(-1, 0.2, -0.5) * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3)
  1674. RH.C0 = clerp(RH.C0, cf(1, -1, 0.2) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1675. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.2) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1676. Handleweld.C0 = clerp(Handleweld.C0, cf(-1, 0, -0.2) * angles(math.rad(-20), math.rad(-20), math.rad(50)), 0.3)
  1677. -- DECOMPILER ERROR at PC528: LeaveBlock: unexpected jumping out DO_STMT
  1678.  
  1679. -- DECOMPILER ERROR at PC528: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1680.  
  1681. -- DECOMPILER ERROR at PC528: LeaveBlock: unexpected jumping out IF_STMT
  1682.  
  1683. end
  1684. end
  1685. end
  1686. end
  1687. attack = false
  1688. con1:disconnect()
  1689. scfr = nil
  1690. end
  1691.  
  1692. attackfour = function()
  1693. attack = true
  1694. for i = 0, 1, 0.1 do
  1695. swait()
  1696. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1697. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1698. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1699. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  1700. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(130), math.rad(0)), 0.3)
  1701. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1702. end
  1703. so("http://roblox.com/asset/?id=268192025", Barrel5A, 1, 1)
  1704. so("http://roblox.com/asset/?id=268191996", Barrel5A, 1, 1)
  1705. so("http://roblox.com/asset/?id=268191976", Barrel5A, 1, 1)
  1706. ShootCannon(Barrel5A)
  1707. ShootCannon(Barrel4A)
  1708. ShootCannon(Barrel6A)
  1709. for i = 0, 1, 0.1 do
  1710. swait()
  1711. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1712. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1713. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1714. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1715. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(130), math.rad(0)), 0.3)
  1716. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  1717. JointHandleAweld.C0 = clerp(JointHandleAweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  1718. JointHandleBweld.C0 = clerp(JointHandleBweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  1719. GunHandleAweld.C0 = clerp(GunHandleAweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  1720. GunHandleBweld.C0 = clerp(GunHandleBweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  1721. end
  1722. attack = false
  1723. end
  1724.  
  1725. CrimsonMoon = function()
  1726. attack = true
  1727. con1 = Hitbox.Touched:connect(function(hit)
  1728. Damagefunc(Hitbox, hit, 10, 30, math.random(10, 20), "Normal", RootPart, 0.2, 1)
  1729. end
  1730. )
  1731. for i = 0, 1, 0.1 do
  1732. swait()
  1733. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(80)), 0.3)
  1734. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  1735. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(-5), math.rad(0)), 0.3)
  1736. end
  1737. for i = 1, 4 do
  1738. so("http://roblox.com/asset/?id=92597369", Hitbox, 1, 0.5)
  1739. so("http://roblox.com/asset/?id=28144425", Torso, 1, 0.8)
  1740. swait()
  1741. for i = 0, 1, 0.1 do
  1742. swait()
  1743. local blcf = Hitbox.CFrame * CFrame.new(0, 0.5, 0)
  1744. if scfr and Hitbox.Position - scfr.p.magnitude > 0.1 then
  1745. local h = 5
  1746. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  1747. if a then
  1748. game.Debris:AddItem(a, 1)
  1749. end
  1750. if b then
  1751. game.Debris:AddItem(b, 1)
  1752. end
  1753. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  1754. if a then
  1755. game.Debris:AddItem(a, 1)
  1756. end
  1757. if b then
  1758. game.Debris:AddItem(b, 1)
  1759. end
  1760. scfr = blcf
  1761. else
  1762. do
  1763. do
  1764. if not scfr then
  1765. scfr = blcf
  1766. end
  1767. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(90)), 0.3)
  1768. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-60)), 0.3)
  1769. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 5) * euler(0, -1.5, -6 * i), 0.3)
  1770. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(-5), math.rad(0)), 0.3)
  1771. -- DECOMPILER ERROR at PC338: LeaveBlock: unexpected jumping out DO_STMT
  1772.  
  1773. -- DECOMPILER ERROR at PC338: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1774.  
  1775. -- DECOMPILER ERROR at PC338: LeaveBlock: unexpected jumping out IF_STMT
  1776.  
  1777. end
  1778. end
  1779. end
  1780. end
  1781. end
  1782. attack = false
  1783. con1:disconnect()
  1784. scfr = nil
  1785. end
  1786.  
  1787. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  1788. local prt = part("Custom", workspace, "SmoothPlastic", 0, 0, "Really black", "Effect", vt(0.5, 0.5, 0.5))
  1789. prt.Anchored = true
  1790. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1791. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1792. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1793. CF = Part.CFrame
  1794. Numbb = 0
  1795. randnumb = math.random() - math.random()
  1796. for i = 0, 1, 0.05 do
  1797. wait()
  1798. CF = CF * cf(0, 1, 0)
  1799. Part.CFrame = CF * euler(Numbb, 0, 0)
  1800. Part.Transparency = i
  1801. Numbb = Numbb + (randnumb)
  1802. end
  1803. Part.Parent = nil
  1804. end
  1805. ), prt)
  1806. end
  1807.  
  1808. Execution = function()
  1809. attack = true
  1810. con1 = Hitbox.Touched:connect(function(hit)
  1811. Damagefunc(Hitbox, hit, 90, 100, math.random(10, 20), "Knockdown", RootPart, 0.2, 1)
  1812. end
  1813. )
  1814. for i = 0, 1, 0.03 do
  1815. swait()
  1816. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.1)
  1817. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(-60)), 0.1)
  1818. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(0), math.rad(90), math.rad(120)), 0.1)
  1819. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(0)), 0.1)
  1820. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.1)
  1821. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2)
  1822. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0.4) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.1)
  1823. end
  1824. so("http://roblox.com/asset/?id=92597369", Hitbox, 1, 0.5)
  1825. so("http://roblox.com/asset/?id=28144425", Torso, 1, 0.5)
  1826. hitconasdf = Hitbox.Touched:connect(function(hit)
  1827. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1828. if hum12 and not hum12:IsDescendantOf(Character) then
  1829. so("http://roblox.com/asset/?id=154965973", Hitbox, 1, 0.8)
  1830. for i = 1, 20 do
  1831. BreakEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0.5, math.random(5, 20), 0.5)
  1832. end
  1833. hitconasdf:disconnect()
  1834. end
  1835. end
  1836. )
  1837. for i = 0, 1, 0.03 do
  1838. swait()
  1839. local blcf = Hitbox.CFrame * CFrame.new(0, 0.5, 0)
  1840. if scfr and Hitbox.Position - scfr.p.magnitude > 0.1 then
  1841. local h = 5
  1842. local a, b = Triangle(scfr * CFrame.new(0, h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p, blcf * CFrame.new(0, h / 2, 0).p)
  1843. if a then
  1844. game.Debris:AddItem(a, 1)
  1845. end
  1846. if b then
  1847. game.Debris:AddItem(b, 1)
  1848. end
  1849. local a, b = Triangle(blcf * CFrame.new(0, h / 2, 0).p, blcf * CFrame.new(0, -h / 2, 0).p, scfr * CFrame.new(0, -h / 2, 0).p)
  1850. if a then
  1851. game.Debris:AddItem(a, 1)
  1852. end
  1853. if b then
  1854. game.Debris:AddItem(b, 1)
  1855. end
  1856. scfr = blcf
  1857. else
  1858. do
  1859. do
  1860. if not scfr then
  1861. scfr = blcf
  1862. end
  1863. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1864. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(60)), 0.2)
  1865. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(0), math.rad(-20), math.rad(70)), 0.2)
  1866. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1867. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)), 0.2)
  1868. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2)
  1869. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0.4) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.2)
  1870. -- DECOMPILER ERROR at PC536: LeaveBlock: unexpected jumping out DO_STMT
  1871.  
  1872. -- DECOMPILER ERROR at PC536: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1873.  
  1874. -- DECOMPILER ERROR at PC536: LeaveBlock: unexpected jumping out IF_STMT
  1875.  
  1876. end
  1877. end
  1878. end
  1879. end
  1880. attack = false
  1881. con1:disconnect()
  1882. scfr = nil
  1883. pcall(function()
  1884. hitconasdf:disconnect()
  1885. end
  1886. )
  1887. end
  1888.  
  1889. RocketTarget = RootPart
  1890. ShootCannon = function(asd)
  1891. so("rbxassetid://263623156", 0.5, 1)
  1892. so("rbxassetid://263610152", 0.5, 1)
  1893. so("rbxassetid://263623139", 0.5, 1)
  1894. local MainPos = asd.Position
  1895. local MainPos2 = mouse.Hit.p
  1896. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1897. num = 30
  1898. coroutine.resume(coroutine.create(function()
  1899. repeat
  1900. wait()
  1901. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RocketTarget.Parent)
  1902. local mag = MainPos - pos.magnitude
  1903. MagicCylinder2(BrickColor.new("Black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, 1.5, 0, 1.5, 0.1)
  1904. MainPos = MainPos + MouseLook.lookVector * 10
  1905. num = num - 1
  1906. if hit ~= nil then
  1907. num = 0
  1908. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", vt())
  1909. ref.Anchored = true
  1910. ref.CFrame = cf(pos)
  1911. MagniDamage(ref, hit, 1, 30, 50, 1, "Normal")
  1912. so("rbxassetid://263610039", ref, 1, 1)
  1913. so("rbxassetid://263610111", ref, 1, 1)
  1914. MagicBlock(BrickColor.new("Black"), cf(pos), 20, 20, 20, 5, 5, 5, 0.05)
  1915. game:GetService("Debris"):AddItem(ref, 1)
  1916. MagniDamage(ref, ref, 15, 10, 20, 10, "Normal")
  1917. end
  1918. until num <= 0
  1919. end
  1920. ))
  1921. end
  1922.  
  1923. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1924. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  1925. prt.Anchored = true
  1926. prt.CFrame = cframe
  1927. msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1928. game:GetService("Debris"):AddItem(prt, 2)
  1929. coroutine.resume(coroutine.create(function(Part, Mesh)
  1930. for i = 0, 1, delay do
  1931. swait()
  1932. Part.CFrame = Part.CFrame
  1933. Part.Transparency = i
  1934. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1935. end
  1936. Part.Parent = nil
  1937. end
  1938. ), prt, msh)
  1939. end
  1940.  
  1941. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1942. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1943. prt.Anchored = true
  1944. prt.CFrame = cframe
  1945. prt.CanCollide = false
  1946. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1947. game:GetService("Debris"):AddItem(prt, 2)
  1948. coroutine.resume(coroutine.create(function(Part, Mesh)
  1949. for i = 0, 1, delay do
  1950. swait()
  1951. Part.CFrame = Part.CFrame
  1952. Part.Transparency = i
  1953. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1954. end
  1955. Part.Parent = nil
  1956. end
  1957. ), prt, msh)
  1958. end
  1959.  
  1960. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1961. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1962. prt.Anchored = true
  1963. prt.CFrame = cframe
  1964. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1965. game:GetService("Debris"):AddItem(prt, 2)
  1966. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  1967. for i = 0, 1, delay do
  1968. swait()
  1969. Part.Transparency = i
  1970. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1971. end
  1972. Part.Parent = nil
  1973. end
  1974. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  1975. end
  1976.  
  1977. RocketTarget = RootPart
  1978. ShootCannon = function(asd)
  1979. so("rbxassetid://263623156", asd, 0.5, 1)
  1980. so("rbxassetid://263610152", asd, 0.5, 1)
  1981. so("rbxassetid://263623139", asd, 0.5, 1)
  1982. local MainPos = asd.Position
  1983. local MainPos2 = mouse.Hit.p
  1984. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1985. num = 30
  1986. coroutine.resume(coroutine.create(function()
  1987. repeat
  1988. wait()
  1989. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RocketTarget.Parent)
  1990. local mag = MainPos - pos.magnitude
  1991. MagicCylinder2(BrickColor.new("Black"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, 1.5, 0, 1.5, 0.1)
  1992. MainPos = MainPos + MouseLook.lookVector * 10
  1993. num = num - 1
  1994. if hit ~= nil then
  1995. num = 0
  1996. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", vt())
  1997. ref.Anchored = true
  1998. ref.CFrame = cf(pos)
  1999. MagniDamage(ref, hit, 1, 30, 50, 1, "Normal")
  2000. so("rbxassetid://263610039", ref, 1, 1)
  2001. so("rbxassetid://263610111", ref, 1, 1)
  2002. MagicBlock(BrickColor.new("Black"), cf(pos), 20, 20, 20, 5, 5, 5, 0.05)
  2003. game:GetService("Debris"):AddItem(ref, 1)
  2004. MagniDamage(ref, ref, 15, 10, 20, 10, "Normal")
  2005. end
  2006. until num <= 0
  2007. end
  2008. ))
  2009. end
  2010.  
  2011. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2012. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2013. prt.Anchored = true
  2014. prt.CFrame = cframe
  2015. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  2016. game:GetService("Debris"):AddItem(prt, 2)
  2017. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  2018. for i = 0, 1, delay do
  2019. swait()
  2020. Part.Transparency = i
  2021. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2022. end
  2023. Part.Parent = nil
  2024. end
  2025. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  2026. end
  2027.  
  2028. deeznuts = true
  2029. BeamBlast = function()
  2030. if deeznuts == true then
  2031. deeznuts = false
  2032. attack = true
  2033. local n = 2
  2034. for i = 0, 1, 0.05 do
  2035. end
  2036. local orb = part(3, Character, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Orb", vt())
  2037. local omsh = mesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(15, 15, 15))
  2038. local owld = weld(orb, orb, Torso, cf(0, -1.5, 8), cf(0, 0, 0))
  2039. so("http://roblox.com/asset/?id=169445572", orb, 1, 0.9)
  2040. so("http://roblox.com/asset/?id=169380495", orb, 1, 0.6)
  2041. so("http://roblox.com/asset/?id=203691346", orb, 1, 0.9)
  2042. for i = 1, 0.3, -0.01 do
  2043. orb.Transparency = i
  2044. omsh.Scale = omsh.Scale + vt(0.5, 0.5, 0.5)
  2045. MagicBlock(BrickColor.new("Really black"), orb.CFrame, 15, 15, 15, 2, 2, 2, 0.1)
  2046. local ef = part(3, workspace, "SmoothPlastic", 0, 0, BrickColor.new("New Yeller"), "Effect", vt())
  2047. ef.Anchored = true
  2048. local emsh = mesh("SpecialMesh", ef, "Sphere", "", vt(0, 0, 0), vt(2, math.random(1000, 1500) / 100, 2))
  2049. local ceef = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cf(0, math.random(10, 20), 0)
  2050. ef.CFrame = orb.CFrame * ceef
  2051. game:GetService("Debris"):AddItem(ef, 2)
  2052. coroutine.resume(coroutine.create(function(Part, Mesh)
  2053. for i = 0, 1, 0.1 do
  2054. Part.Transparency = i
  2055. Part.CFrame = Part.CFrame * cf(0, -1, 0)
  2056. end
  2057. Part.Parent = nil
  2058. end
  2059. ), ef, emsh)
  2060. end
  2061. local Pos = cf(orb.Position, Player:GetMouse().Hit.p).lookVector
  2062. wait(0.5)
  2063. orb.Parent = nil
  2064. local hit, pos = rayCast(orb.Position, Pos, 999, Character)
  2065. local mag = orb.Position - pos.magnitude
  2066. MagicCircle(BrickColor.new("Black"), cf(pos), 15, 15, 15, 8, 8, 8, 0.02)
  2067. MagicBlock(BrickColor.new("Black"), cf(pos), 15, 15, 15, 8, 8, 8, 0.02)
  2068. MagicCylinder(BrickColor.new("Black"), CFrame.new((orb.Position + pos) / 2, pos) * euler(1.57, 0, 0), 10, mag * 5, 10, 0.5, 0, 0.5, 0.01)
  2069. for i = 1, 2 do
  2070. MagicRing(BrickColor.new("Black"), cf(pos) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 3, 3, 3, 1, 1, 1, 0.04)
  2071. end
  2072. for i = 1, 5 do
  2073. local tehcf = CFrame.new((orb.Position + pos) / 2, pos) * euler(1.57, 0, 0) * cf(0, mag / 5 * (i / 2), 0)
  2074. MagicRing(BrickColor.new("Really black"), tehcf * euler(1.57, 0, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.01)
  2075. end
  2076. for i = 0, 5 do
  2077. local tehcf = CFrame.new((orb.Position + pos) / 2, pos) * euler(1.57, 0, 0) * cf(0, -mag / 5 * (i / 2), 0)
  2078. MagicRing(BrickColor.new("Black"), tehcf * euler(1.57, 0, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.01)
  2079. end
  2080. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2081. ref.CFrame = cf(pos)
  2082. so("http://roblox.com/asset/?id=203691378", Torso, 1, 0.7)
  2083. so("http://roblox.com/asset/?id=169445602", Torso, 1, 0.7)
  2084. so("http://www.roblox.com/Asset?ID=203691282", Torso, 1, 0.8)
  2085. coroutine.resume(coroutine.create(function(Part)
  2086. Part.Parent = nil
  2087. end
  2088. ), ref)
  2089. if hit ~= nil then
  2090. MagniDamage(Part, hit, 30, 90, 100, 0, "Normal")
  2091. end
  2092. local n = 2
  2093. for i = 0, 1, 0.03 do
  2094. swait()
  2095. end
  2096. deeznuts = true
  2097. end
  2098. do
  2099. attack = false
  2100. end
  2101. end
  2102.  
  2103. mouse.Button1Down:connect(function()
  2104. if attack == false then
  2105. if attacktype == 1 then
  2106. attack = true
  2107. attacktype = 2
  2108. attackone()
  2109. else
  2110. if attacktype == 2 then
  2111. attack = true
  2112. attacktype = 3
  2113. attacktwo()
  2114. else
  2115. if attacktype == 3 then
  2116. attack = true
  2117. attacktype = 1
  2118. attackthree()
  2119. end
  2120. end
  2121. end
  2122. end
  2123. end
  2124. )
  2125. combo = function()
  2126. if attack == false then
  2127. if attacktype == 3 then
  2128. attack = true
  2129. attacktype = 1
  2130. attackone()
  2131. else
  2132. if attacktype == 1 then
  2133. attack = true
  2134. attacktype = 3
  2135. attacktwo()
  2136. end
  2137. end
  2138. end
  2139. end
  2140.  
  2141. mouse.KeyDown:connect(function(k)
  2142. k = k:lower()
  2143. -- DECOMPILER ERROR at PC9: Unhandled construct in 'MakeBoolean' P1
  2144.  
  2145. if k == "q" and attack == false then
  2146. CrimsonMoon()
  2147. end
  2148. -- DECOMPILER ERROR at PC17: Unhandled construct in 'MakeBoolean' P1
  2149.  
  2150. if k == "e" and attack == false then
  2151. Execution()
  2152. end
  2153. -- DECOMPILER ERROR at PC25: Unhandled construct in 'MakeBoolean' P1
  2154.  
  2155. if k == "t" and attack == false then
  2156. combo()
  2157. end
  2158. if k == "f" and attack == false then
  2159. BeamBlast()
  2160. end
  2161. end
  2162. )
  2163. local sine = 0
  2164. local change = 1
  2165. local val = 0
  2166. while 1 do
  2167. swait()
  2168. sine = sine + change
  2169. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  2170. local velderp = RootPart.Velocity.y
  2171. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2172. if equipped == true or equipped == false then
  2173. if attack == false then
  2174. idle = idle + 1
  2175. else
  2176. idle = 0
  2177. end
  2178. if ((500 <= idle and attack ~= false) or 1 < RootPart.Velocity.y) and hitfloor == nil then
  2179. Anim = "Jump"
  2180. if attack == false then
  2181. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2182. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2183. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3)
  2184. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  2185. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-20)), 0.3)
  2186. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  2187. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0.4) * angles(math.rad(85), math.rad(10), math.rad(0)), 0.3)
  2188. end
  2189. else
  2190. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2191. Anim = "Fall"
  2192. if attack == false then
  2193. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3)
  2194. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  2196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  2197. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-20)), 0.3)
  2198. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)), 0.3)
  2199. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0.4) * angles(math.rad(85), math.rad(10), math.rad(0)), 0.3)
  2200. end
  2201. else
  2202. if torvel < 1 and hitfloor ~= nil then
  2203. Anim = "Idle"
  2204. if attack == false then
  2205. idleanim = 0.4
  2206. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 - idleanim) * euler(0.4 + idleanim / 2, 0, -0.4), 0.3)
  2207. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * euler(-idleanim / 2, 0, 0.4), 0.3)
  2208. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(-25), math.rad(-35), math.rad(45)), 0.3)
  2209. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  2210. RH.C0 = clerp(RH.C0, cf(1, -1, -idleanim) * euler(-0.2 - idleanim / 2, 1.57, 0), 0.3)
  2211. LH.C0 = clerp(LH.C0, cf(-1, -0.5 + idleanim, 0) * euler(0.5 + idleanim / 2, -1.2, 0) * euler(-0.2, 0, 0), 0.3)
  2212. end
  2213. else
  2214. if 2 < torvel and hitfloor ~= nil then
  2215. Anim = "Walk"
  2216. if attack == false then
  2217. change = 3
  2218. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(60)), 0.3)
  2219. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(10), math.rad(-50)), 0.3)
  2220. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(70), math.rad(100), math.rad(0)), 0.3)
  2221. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(-70), math.rad(0)), 0.3)
  2222. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(20)), 0.3)
  2223. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-100), math.rad(0)), 0.3)
  2224. Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(0)), 0.3)
  2225. end
  2226. end
  2227. end
  2228. end
  2229. end
  2230. end
  2231. if 0 < #Effects then
  2232. for e = 1, #Effects do
  2233. if Effects[e] ~= nil then
  2234. local Thing = Effects[e]
  2235. if Thing ~= nil then
  2236. local Part = Thing[1]
  2237. local Mode = Thing[2]
  2238. local Delay = Thing[3]
  2239. local IncX = Thing[4]
  2240. local IncY = Thing[5]
  2241. local IncZ = Thing[6]
  2242. if Thing[1].Transparency <= 1 then
  2243. if Thing[2] == "Block1" then
  2244. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2245. Mesh = Thing[1].Mesh
  2246. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2247. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2248. else
  2249. if Thing[2] == "Cylinder" then
  2250. Mesh = Thing[1].Mesh
  2251. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2252. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2253. else
  2254. if Thing[2] == "Blood" then
  2255. Mesh = Thing[7]
  2256. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  2257. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2258. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2259. else
  2260. if Thing[2] == "Elec" then
  2261. Mesh = Thing[1].Mesh
  2262. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2263. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2264. else
  2265. if Thing[2] == "Disappear" then
  2266. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2267. end
  2268. end
  2269. end
  2270. end
  2271. end
  2272. else
  2273. Part.Parent = nil
  2274. table.remove(Effects, e)
  2275. end
  2276. end
  2277. end
  2278. end
  2279. end
  2280. end
Add Comment
Please, Sign In to add comment