Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 130.80 KB | None | 0 0
  1. --Fixed by Canary
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. i = Instance.new("NumberValue", Player)
  5. i.Name = "FPSCH"
  6. Torso = Character.Torso
  7. local RbxUtility = LoadLibrary("RbxUtility")
  8. local Create = RbxUtility.Create
  9. Head = Character.Head
  10. Humanoid = Character.Humanoid
  11. m = Instance.new("Model", Character)
  12. LeftArm = Character["Left Arm"]
  13. LeftLeg = Character["Left Leg"]
  14. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  15. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  16. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  17. RightArm = Character["Right Arm"]
  18. RightLeg = Character["Right Leg"]
  19. LS = Torso["Left Shoulder"]
  20. LH = Torso["Left Hip"]
  21. RS = Torso["Right Shoulder"]
  22. RH = Torso["Right Hip"]
  23. RW = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = RA, Parent = Tor})
  24. LW = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = LA, Parent = Tor})
  25. Face = Head.face
  26. Neck = Torso.Neck
  27. it = Instance.new
  28. attacktype = 1
  29. vt = Vector3.new
  30. cf = CFrame.new
  31. euler = CFrame.fromEulerAnglesXYZ
  32. angles = CFrame.Angles
  33. cloaked = false
  34. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  35. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  36. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  37. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  38. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  39. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  40. RootPart = Character.HumanoidRootPart
  41. RootJoint = RootPart.RootJoint
  42. xenabled = true
  43. cenabled = true
  44. venabled = true
  45. zenabled = true
  46. RootCF = euler(-1.57, 0, 3.14)
  47. attack = false
  48. attackdebounce = false
  49. deb = false
  50. equipped = true
  51. hand = false
  52. MMouse = nil
  53. combo = 0
  54. mana = 100
  55. trispeed = 0.2
  56. attackmode = "none"
  57. local idle = 0
  58. local Anim = "Idle"
  59. local Effects = {}
  60. local gun = false
  61. local shoot = false
  62. player = nil
  63. trispeed = 0.5
  64. pathtrans = 0.7
  65. magix = false
  66. pathcolor = BrickColor.new("White")
  67. shoot = false
  68. mon = Instance.new("Model", Character)
  69. RSH = nil
  70. RW = Instance.new("Weld")
  71. RW.Name = "Right Shoulder"
  72. LW.Name = "Left Shoulder"
  73. LH = Torso["Left Hip"]
  74. RH = Torso["Right Hip"]
  75. TorsoColor = Torso.BrickColor
  76. NoOutline = function(Part2)
  77. Part2.TopSurface = 10
  78. end
  79.  
  80. ch = Character
  81. RSH = ch.Torso["Right Shoulder"]
  82. LSH = ch.Torso["Left Shoulder"]
  83. RSH.Parent = nil
  84. LSH.Parent = nil
  85. RW.Name = "Right Shoulder"
  86. RW.Part0 = ch.Torso
  87. RW.C0 = cf(1.5, 0.5, 0)
  88. RW.C1 = cf(0, 0.5, 0)
  89. RW.Part1 = ch["Right Arm"]
  90. RW.Parent = ch.Torso
  91. LW.Name = "Left Shoulder"
  92. LW.Part0 = ch.Torso
  93. LW.C0 = cf(-1.5, 0.5, 0)
  94. LW.C1 = cf(0, 0.5, 0)
  95. LW.Part1 = ch["Left Arm"]
  96. LW.Parent = ch.Torso
  97. local weldBetween = function(a, b)
  98. local weldd = Instance.new("ManualWeld")
  99. weldd.Part0 = a
  100. weldd.Part1 = b
  101. weldd.C0 = CFrame.new()
  102. weldd.C1 = b.CFrame:inverse() * a.CFrame
  103. weldd.Parent = a
  104. return weldd
  105. end
  106.  
  107. it = Instance.new
  108. nooutline = function(Part2)
  109. Part2.TopSurface = 10
  110. end
  111.  
  112. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  113. local fp = it("Part")
  114. fp.Parent = parent
  115. fp.Reflectance = reflectance
  116. fp.Transparency = transparency
  117. fp.CanCollide = false
  118. fp.Locked = true
  119. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  120. fp.Name = name
  121. fp.Size = size
  122. fp.Position = Character.Torso.Position
  123. nooutline(fp)
  124. fp.Material = material
  125. fp:BreakJoints()
  126. return fp
  127. end
  128.  
  129. prt = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  130. local fp = it("Part")
  131. fp.Parent = parent
  132. fp.Reflectance = reflectance
  133. fp.Transparency = transparency
  134. fp.CanCollide = false
  135. fp.Locked = true
  136. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  137. fp.Name = name
  138. fp.Size = size
  139. fp.Position = Character.Torso.Position
  140. nooutline(fp)
  141. fp.Material = material
  142. fp:BreakJoints()
  143. return fp
  144. end
  145.  
  146. paart = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  147. local fp = it("Part")
  148. fp.Parent = parent
  149. fp.Reflectance = reflectance
  150. fp.Transparency = transparency
  151. fp.CanCollide = false
  152. fp.Locked = false
  153. fp.BrickColor = brickcolor
  154. fp.Name = name
  155. fp.Size = size
  156. fp.Position = Torso.Position
  157. NoOutline(fp)
  158. fp.Material = "SmoothPlastic"
  159. fp:BreakJoints()
  160. return fp
  161. end
  162.  
  163. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  164. local mesh = it(Mesh)
  165. mesh.Parent = part
  166. if Mesh == "SpecialMesh" then
  167. mesh.MeshType = meshtype
  168. mesh.MeshId = meshid
  169. end
  170. mesh.Offset = offset
  171. mesh.Scale = scale
  172. return mesh
  173. end
  174.  
  175. weld = function(parent, part0, part1, c0, c1)
  176. local weld = it("Weld")
  177. weld.Parent = parent
  178. weld.Part0 = part0
  179. weld.Part1 = part1
  180. weld.C0 = c0
  181. weld.C1 = c1
  182. return weld
  183. end
  184.  
  185. local Color1 = Torso.BrickColor
  186. local bodvel = Instance.new("BodyVelocity")
  187. local bg = Instance.new("BodyGyro")
  188. ArtificialHB = Instance.new("BindableEvent", script)
  189. ArtificialHB.Name = "Heartbeat"
  190. script:WaitForChild("Heartbeat")
  191. frame = 0.033333333333333
  192. if game.Players.LocalPlayer.FPSCH.Value == true then
  193. frame = 0.016666666666667
  194. else
  195. frame = 0.033333333333333
  196. end
  197. tf = 0
  198. allowframeloss = false
  199. tossremainder = false
  200. lastframe = tick()
  201. script.Heartbeat:Fire()
  202. game:GetService("RunService").Heartbeat:connect(function(s, p)
  203. tf = tf + s
  204. if frame <= tf then
  205. if allowframeloss then
  206. script.Heartbeat:Fire()
  207. lastframe = tick()
  208. else
  209. for i = 1, math.floor(tf / frame) do
  210. script.Heartbeat:Fire()
  211. end
  212. lastframe = tick()
  213. end
  214. if tossremainder then
  215. tf = 0
  216. else
  217. tf = tf - frame * math.floor(tf / frame)
  218. end
  219. end
  220. end
  221. )
  222. swait = function(num)
  223. if num == 0 or num == nil then
  224. ArtificialHB.Event:wait()
  225. else
  226. for i = 0, num do
  227. ArtificialHB.Event:wait()
  228. end
  229. end
  230. end
  231.  
  232. pwait = function(num)
  233. if num == 0 or num == nil then
  234. game:service("RunService").Heartbeat:wait(0)
  235. else
  236. for i = 0, num do
  237. game:service("RunService").Heartbeat:wait(0)
  238. end
  239. end
  240. end
  241.  
  242. so = function(id, par, vol, pit)
  243. coroutine.resume(coroutine.create(function()
  244. local sou = Instance.new("Sound", par or workspace)
  245. sou.Volume = vol
  246. sou.Pitch = pit or 1
  247. sou.SoundId = id
  248. swait()
  249. sou:play()
  250. game:GetService("Debris"):AddItem(sou, 6)
  251. end
  252. ))
  253. end
  254.  
  255. function clerp(a,b,t)
  256. local qa = {QuaternionFromCFrame(a)}
  257. local qb = {QuaternionFromCFrame(b)}
  258. local ax, ay, az = a.x, a.y, a.z
  259. local bx, by, bz = b.x, b.y, b.z
  260. local _t = 1-t
  261. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  262. end
  263.  
  264. function QuaternionFromCFrame(cf)
  265. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  266. local trace = m00 + m11 + m22
  267. if trace > 0 then
  268. local s = math.sqrt(1 + trace)
  269. local recip = 0.5/s
  270. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  271. else
  272. local i = 0
  273. if m11 > m00 then
  274. i = 1
  275. end
  276. if m22 > (i == 0 and m00 or m11) then
  277. i = 2
  278. end
  279. if i == 0 then
  280. local s = math.sqrt(m00-m11-m22+1)
  281. local recip = 0.5/s
  282. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  283. elseif i == 1 then
  284. local s = math.sqrt(m11-m22-m00+1)
  285. local recip = 0.5/s
  286. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  287. elseif i == 2 then
  288. local s = math.sqrt(m22-m00-m11+1)
  289. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  290. end
  291. end
  292. end
  293.  
  294. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  295. local xs, ys, zs = x + x, y + y, z + z
  296. local wx, wy, wz = w*xs, w*ys, w*zs
  297. local xx = x*xs
  298. local xy = x*ys
  299. local xz = x*zs
  300. local yy = y*ys
  301. local yz = y*zs
  302. local zz = z*zs
  303. 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))
  304. end
  305.  
  306. function QuaternionSlerp(a, b, t)
  307. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  308. local startInterp, finishInterp;
  309. if cosTheta >= 0.0001 then
  310. if (1 - cosTheta) > 0.0001 then
  311. local theta = math.acos(cosTheta)
  312. local invSinTheta = 1/math.sin(theta)
  313. startInterp = math.sin((1-t)*theta)*invSinTheta
  314. finishInterp = math.sin(t*theta)*invSinTheta
  315. else
  316. startInterp = 1-t
  317. finishInterp = t
  318. end
  319. else
  320. if (1+cosTheta) > 0.0001 then
  321. local theta = math.acos(-cosTheta)
  322. local invSinTheta = 1/math.sin(theta)
  323. startInterp = math.sin((t-1)*theta)*invSinTheta
  324. finishInterp = math.sin(t*theta)*invSinTheta
  325. else
  326. startInterp = t-1
  327. finishInterp = t
  328. end
  329. end
  330. 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
  331. end
  332.  
  333. rayCast = function(Pos, Dir, Max, Ignore)
  334. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  335. end
  336.  
  337. SkullEffect = function(brickcolor, cframe, x1, y1, z1, delay)
  338. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(3, 3, 3))
  339. prt.Anchored = true
  340. prt.CFrame = cframe
  341. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  342. game:GetService("Debris"):AddItem(prt, 2)
  343. CF = prt.CFrame
  344. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  345. for i = 0, 1, 0.2 do
  346. wait()
  347. Part2.CFrame = CF * cf(0, 0, -0.4)
  348. end
  349. for i = 0, 1, delay do
  350. wait()
  351. Mesh.Scale = Mesh.Scale
  352. end
  353. for i = 0, 1, 0.1 do
  354. wait()
  355. Part2.Transparency = i
  356. end
  357. Part2.Parent = nil
  358. return Part
  359. end
  360. ), prt, msh, CF)
  361. return prt
  362. end
  363.  
  364. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  365. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  366. prt.Anchored = true
  367. prt.CFrame = cframe
  368. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  369. game:GetService("Debris"):AddItem(prt, 5)
  370. coroutine.resume(coroutine.create(function(Part, Mesh)
  371. for i = 0, 1, delay do
  372. wait()
  373. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  374. Part.Transparency = i
  375. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  376. end
  377. Part.Parent = nil
  378. return Part
  379. end
  380. ), prt, msh)
  381. return prt
  382. end
  383.  
  384. local fengui = it("GuiMain")
  385. fengui.Parent = Player.PlayerGui
  386. fengui.Name = "WeaponGUI"
  387. local fenframe = it("Frame")
  388. fenframe.Parent = fengui
  389. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  390. fenframe.BackgroundTransparency = 1
  391. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  392. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  393. fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
  394. local fenbarmana1 = it("TextLabel")
  395. fenbarmana1.Parent = fenframe
  396. fenbarmana1.Text = " "
  397. fenbarmana1.BackgroundTransparency = 0
  398. fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
  399. fenbarmana1.SizeConstraint = "RelativeXY"
  400. fenbarmana1.TextXAlignment = "Center"
  401. fenbarmana1.TextYAlignment = "Center"
  402. fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
  403. fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
  404. local fenbarmana2 = it("TextLabel")
  405. fenbarmana2.Parent = fenframe
  406. fenbarmana2.Text = " "
  407. fenbarmana2.BackgroundTransparency = 0
  408. fenbarmana2.BackgroundColor3 = Torso.Color
  409. fenbarmana2.SizeConstraint = "RelativeXY"
  410. fenbarmana2.TextXAlignment = "Center"
  411. fenbarmana2.TextYAlignment = "Center"
  412. fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
  413. fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
  414. local fenbarmana3 = it("TextLabel")
  415. fenbarmana3.Parent = fenframe
  416. fenbarmana3.Text = " "
  417. fenbarmana3.BackgroundTransparency = 0
  418. fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
  419. fenbarmana3.SizeConstraint = "RelativeXY"
  420. fenbarmana3.TextXAlignment = "Center"
  421. fenbarmana3.TextYAlignment = "Center"
  422. fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
  423. fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
  424. local fenbarmana4 = it("TextLabel")
  425. fenbarmana4.Parent = fenframe
  426. fenbarmana4.Text = "Energy(" .. mana .. ")"
  427. fenbarmana4.BackgroundTransparency = 1
  428. fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
  429. fenbarmana4.SizeConstraint = "RelativeXY"
  430. fenbarmana4.TextXAlignment = "Center"
  431. fenbarmana4.TextYAlignment = "Center"
  432. fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
  433. fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
  434. fenbarmana4.FontSize = "Size9"
  435. fenbarmana4.TextStrokeTransparency = 0
  436. fenbarmana4.TextColor = BrickColor.new("White")
  437. local fengui = it("GuiMain")
  438. fengui.Parent = Player.PlayerGui
  439. fengui.Name = "WeaponGUI"
  440. local fenframe1 = it("TextLabel")
  441. fenframe1.Parent = fengui
  442. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  443. fenframe1.BackgroundTransparency = 0.3
  444. fenframe1.BorderSizePixel = 5
  445. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  446. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  447. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  448. fenframe1.Text = "Z"
  449. fenframe1.TextWrapped = true
  450. fenframe1.FontSize = 7
  451. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  452. local fenframe1a = it("TextLabel")
  453. fenframe1a.Parent = fengui
  454. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  455. fenframe1a.BackgroundTransparency = 0.3
  456. fenframe1a.BorderSizePixel = 5
  457. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  458. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  459. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  460. fenframe1a.Text = ""
  461. local fenframe2 = it("TextLabel")
  462. fenframe2.Parent = fengui
  463. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  464. fenframe2.BackgroundTransparency = 0.3
  465. fenframe2.BorderSizePixel = 5
  466. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  467. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  468. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  469. fenframe2.Text = "X"
  470. fenframe2.TextWrapped = true
  471. fenframe2.FontSize = 7
  472. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  473. local fenframe2a = it("TextLabel")
  474. fenframe2a.Parent = fengui
  475. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  476. fenframe2a.BackgroundTransparency = 0.3
  477. fenframe2a.BorderSizePixel = 5
  478. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  479. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  480. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  481. fenframe2a.Text = ""
  482. local fenframe3 = it("TextLabel")
  483. fenframe3.Parent = fengui
  484. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  485. fenframe3.BackgroundTransparency = 0.3
  486. fenframe3.BorderSizePixel = 5
  487. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  488. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  489. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  490. fenframe3.Text = "C"
  491. fenframe3.TextWrapped = true
  492. fenframe3.FontSize = 7
  493. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  494. local fenframe3a = it("TextLabel")
  495. fenframe3a.Parent = fengui
  496. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  497. fenframe3a.BackgroundTransparency = 0.3
  498. fenframe3a.BorderSizePixel = 5
  499. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  500. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  501. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  502. fenframe3a.Text = ""
  503. local fenframe4 = it("TextLabel")
  504. fenframe4.Parent = fengui
  505. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  506. fenframe4.BackgroundTransparency = 0.3
  507. fenframe4.BorderSizePixel = 5
  508. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  509. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  510. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  511. fenframe4.Text = "V"
  512. fenframe4.TextWrapped = true
  513. fenframe4.FontSize = 7
  514. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  515. local fenframe4a = it("TextLabel")
  516. fenframe4a.Parent = fengui
  517. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  518. fenframe4a.BackgroundTransparency = 0.3
  519. fenframe4a.BorderSizePixel = 5
  520. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  521. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  522. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  523. fenframe4a.Text = ""
  524. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  525. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  526. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  527. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  528. MagicBlock2 = function(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  529. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  530. prt.Anchored = false
  531. prt.CFrame = cframe
  532. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  533. local wld = weld(prt, prt, Parent, cframe)
  534. game:GetService("Debris"):AddItem(prt, 5)
  535. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  536. for i = 0, 1, delay do
  537. wait()
  538. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  539. Part.Transparency = i
  540. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  541. end
  542. Part.Parent = nil
  543. end
  544. ), prt, msh, wld)
  545. end
  546.  
  547. MagicBlock3 = function(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  548. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  549. prt.Anchored = false
  550. prt.CFrame = cframe
  551. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  552. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  553. game:GetService("Debris"):AddItem(prt, 5)
  554. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  555. for i = 0, 1, delay do
  556. wait()
  557. Weld.C0 = euler(i * 20, 0, 0)
  558. Part.Transparency = i
  559. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  560. end
  561. Part.Parent = nil
  562. end
  563. ), prt, msh, wld)
  564. end
  565.  
  566. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  567. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  568. prt.Anchored = true
  569. prt.CFrame = cframe
  570. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  571. game:GetService("Debris"):AddItem(prt, 2)
  572. coroutine.resume(coroutine.create(function(Part, Mesh)
  573. for i = 0, 1, delay do
  574. wait()
  575. Part.CFrame = Part.CFrame
  576. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  577. local prt2 = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  578. prt.Anchored = true
  579. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  580. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  581. game:GetService("Debris"):AddItem(prt2, 2)
  582. coroutine.resume(coroutine.create(function(Part, Mesh)
  583. for i = 0, 1, 0.1 do
  584. wait()
  585. Part2.CFrame = Part2.CFrame * cf(0, 0.5, 0)
  586. end
  587. Part2.Parent = nil
  588. end
  589. ), prt2, msh2)
  590. end
  591. for i = 0, 1, delay * 2 do
  592. wait()
  593. Part2.CFrame = Part2.CFrame
  594. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  595. end
  596. Part2.Parent = nil
  597. end
  598. ), prt, msh)
  599. end
  600.  
  601. Clone = function()
  602. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1)
  603. for _,v in pairs(Torso.Parent:children()) do
  604. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  605. n = v:clone()
  606. n:BreakJoints()
  607. n.archivable = true
  608. n.Anchored = true
  609. n.CanCollide = false
  610. n.Name = "TRAILER"
  611. n.BrickColor = BrickColor.new("Really black")
  612. n.Parent = workspace
  613. n.CFrame = v.CFrame
  614. coroutine.resume(coroutine.create(function(ne)
  615. for i = 1, 80 do
  616. ne:BreakJoints()
  617. ne.Transparency = i / 80
  618. swait()
  619. end
  620. ne.Parent = nil
  621. end
  622. ), n)
  623. else
  624. if v.className == "Hat" then
  625. n = v.Handle:clone()
  626. n:BreakJoints()
  627. n.archivable = true
  628. n.Anchored = true
  629. n.CanCollide = false
  630. n.Name = "TRAILER"
  631. n.BrickColor = BrickColor.new("Really black")
  632. n.Parent = workspace
  633. n.CFrame = v.Handle.CFrame
  634. coroutine.resume(coroutine.create(function(ne)
  635. for i = 1, 80 do
  636. ne:BreakJoints()
  637. ne.Transparency = i / 80
  638. swait()
  639. end
  640. ne.Parent = nil
  641. end
  642. ), n)
  643. end
  644. end
  645. end
  646. end
  647.  
  648. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  649. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  650. prt.Anchored = true
  651. prt.CFrame = cframe
  652. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  653. game:GetService("Debris"):AddItem(prt, 2)
  654. coroutine.resume(coroutine.create(function(Part, Mesh)
  655. for i = 0, 1, delay do
  656. wait()
  657. Part.CFrame = Part.CFrame
  658. Part.Transparency = i
  659. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  660. end
  661. Part.Parent = nil
  662. end
  663. ), prt, msh)
  664. end
  665.  
  666. MagicRing = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, x3, y3, z3)
  667. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  668. prt.Anchored = true
  669. prt.CFrame = cframe * euler(x2, y2, z2)
  670. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  671. game:GetService("Debris"):AddItem(prt, 2)
  672. coroutine.resume(coroutine.create(function(Part, Mesh)
  673. for i = 0, 1, 0.03 do
  674. wait()
  675. Part2.CFrame = Part2.CFrame
  676. Part2.Transparency = i
  677. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  678. end
  679. Part2.Parent = nil
  680. end
  681. ), prt, msh)
  682. end
  683.  
  684. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  685. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  686. prt.Anchored = true
  687. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  688. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  689. game:GetService("Debris"):AddItem(prt, 2)
  690. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  691. CF = Part2.CFrame
  692. Numbb = 0
  693. randnumb = math.random() / 10
  694. rand1 = math.random() / 10
  695. for i = 0, 1, rand1 do
  696. wait()
  697. CF = CF * cf(0, math.random() / 2, 0)
  698. Part2.CFrame = CF * euler(Numbb, 0, 0)
  699. Part2.Transparency = i
  700. Numbb = Numbb + randnumb
  701. end
  702. Part2.Parent = nil
  703. end
  704. ), prt, CF, Numbb, randnumb)
  705. end
  706.  
  707. MagicWaveThing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  708. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  709. prt.Anchored = true
  710. prt.CFrame = cframe
  711. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  712. game:GetService("Debris"):AddItem(prt, 5)
  713. coroutine.resume(coroutine.create(function(Part, Mesh)
  714. for i = 0, 1, delay do
  715. wait()
  716. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  717. Part.Transparency = i
  718. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  719. end
  720. Part.Parent = nil
  721. end
  722. ), prt, msh)
  723. end
  724.  
  725. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  726. local prt = paart(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  727. prt.Anchored = true
  728. prt.CFrame = cframe
  729. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  730. game:GetService("Debris"):AddItem(prt, 2)
  731. coroutine.resume(coroutine.create(function(Part, Mesh)
  732. for i = 0, 1, delay do
  733. wait()
  734. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  735. Part.Transparency = i
  736. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  737. end
  738. Part.Parent = nil
  739. end
  740. ), prt, msh)
  741. end
  742.  
  743. Cloak = function()
  744. Face.Parent = nil
  745. cloaked = true
  746. for _,v in pairs(Torso.Parent:children()) do
  747. do
  748. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  749. coroutine.resume(coroutine.create(function()
  750. for i = 0, 0.7, 0.2 do
  751. swait()
  752. v.Transparency = i
  753. end
  754. v.Transparency = 0.5
  755. end
  756. ))
  757. end
  758. if v.className == "Hat" then
  759. do
  760. hatp = v.Handle
  761. coroutine.resume(coroutine.create(function(derp)
  762. for i = 0, 0.7, 0.2 do
  763. swait()
  764. derp.Transparency = i
  765. end
  766. derp.Transparency = 0.5
  767. derp.Mesh.VertexColor = vt(0, 0, 0)
  768. end
  769. ), hatp)
  770. -- DECOMPILER ERROR at PC38: LeaveBlock: unexpected jumping out IF_THEN_STMT
  771.  
  772. -- DECOMPILER ERROR at PC38: LeaveBlock: unexpected jumping out IF_STMT
  773.  
  774. end
  775. end
  776. end
  777. end
  778. end
  779.  
  780. UnCloak = function()
  781. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  782. Face.Parent = Head
  783. cloaked = false
  784. for _,v in pairs(Torso.Parent:children()) do
  785. do
  786. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  787. coroutine.resume(coroutine.create(function()
  788. for i = 0, 1, 0.1 do
  789. swait()
  790. v.Transparency = v.Transparency - 0.1
  791. end
  792. v.Transparency = 0
  793. end
  794. ))
  795. end
  796. if v.className == "Hat" then
  797. do
  798. hatp = v.Handle
  799. coroutine.resume(coroutine.create(function(derp)
  800. for i = 0, 1, 0.1 do
  801. swait()
  802. derp.Transparency = derp.Transparency - 0.1
  803. end
  804. derp.Transparency = 0
  805. derp.Mesh.VertexColor = vt(1, 1, 1)
  806. end
  807. ), hatp)
  808. -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT
  809.  
  810. -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT
  811.  
  812. end
  813. end
  814. end
  815. end
  816. end
  817.  
  818. Handle = Instance.new("Part", m)
  819. Handle:BreakJoints()
  820. Handle.TopSurface = "Smooth"
  821. Handle.Transparency = 0
  822. Handle.Material = "SmoothPlastic"
  823. Handle.Name = "Handle"
  824. Handle.BottomSurface = "Smooth"
  825. Handle.CanCollide = false
  826. Handle.BrickColor = BrickColor.new("Black")
  827. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  828. Handleweld = Instance.new("ManualWeld")
  829. Handleweld.Part0 = Character["Left Arm"]
  830. Handleweld.Part1 = Handle
  831. Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  832. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  833. Handleweld.Parent = Character["Left Arm"]
  834. HandleMesh = Instance.new("CylinderMesh", Handle)
  835. HandleMesh.Name = "Mesh"
  836. HandleMesh.Offset = Vector3.new(0, 0, 0)
  837. HandleMesh.Scale = Vector3.new(1, 1, 1)
  838. Part = Instance.new("Part", m)
  839. Part:BreakJoints()
  840. Part.TopSurface = "Smooth"
  841. Part.Material = "SmoothPlastic"
  842. Part.Transparency = 0
  843. Part.Name = "Part"
  844. Part.BottomSurface = "Smooth"
  845. Part.CanCollide = false
  846. Part.BrickColor = BrickColor.new("Black")
  847. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  848. Partweld = Instance.new("ManualWeld")
  849. Partweld.Part0 = Handle
  850. Partweld.Part1 = Part
  851. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  852. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393207669, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  853. Partweld.Parent = Part
  854. PartMesh = Instance.new("BlockMesh", Part)
  855. PartMesh.Name = "Mesh"
  856. PartMesh.Offset = Vector3.new(0, 0, 0)
  857. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  858. Part = Instance.new("Part", m)
  859. Part:BreakJoints()
  860. Part.TopSurface = "Smooth"
  861. Part.Material = "SmoothPlastic"
  862. Part.Transparency = 0
  863. Part.Name = "Part"
  864. Part.BottomSurface = "Smooth"
  865. Part.CanCollide = false
  866. Part.BrickColor = BrickColor.new("Magenta")
  867. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  868. Partweld = Instance.new("ManualWeld")
  869. Partweld.Part0 = Handle
  870. Partweld.Part1 = Part
  871. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  872. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  873. Partweld.Parent = Part
  874. PartMesh = Instance.new("SpecialMesh", Part)
  875. PartMesh.MeshId = ""
  876. PartMesh.MeshType = Enum.MeshType.Sphere
  877. PartMesh.Name = "Mesh"
  878. PartMesh.Offset = Vector3.new(0, 0, 0)
  879. PartMesh.Scale = Vector3.new(1, 1, 1)
  880. Part = Instance.new("Part", m)
  881. Part:BreakJoints()
  882. Part.TopSurface = "Smooth"
  883. Part.Material = "SmoothPlastic"
  884. Part.Transparency = 0
  885. Part.Name = "Part"
  886. Part.BottomSurface = "Smooth"
  887. Part.CanCollide = false
  888. Part.BrickColor = BrickColor.new("Black")
  889. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  890. Partweld = Instance.new("ManualWeld")
  891. Partweld.Part0 = Handle
  892. Partweld.Part1 = Part
  893. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  894. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  895. Partweld.Parent = Part
  896. PartMesh = Instance.new("CylinderMesh", Part)
  897. PartMesh.Name = "Mesh"
  898. PartMesh.Offset = Vector3.new(0, 0, 0)
  899. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  900. Part = Instance.new("Part", m)
  901. Part:BreakJoints()
  902. Part.TopSurface = "Smooth"
  903. Part.Material = "SmoothPlastic"
  904. Part.Transparency = 0
  905. Part.Name = "Part"
  906. Part.BottomSurface = "Smooth"
  907. Part.CanCollide = false
  908. Part.BrickColor = BrickColor.new("Black")
  909. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  910. Partweld = Instance.new("ManualWeld")
  911. Partweld.Part0 = Handle
  912. Partweld.Part1 = Part
  913. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  914. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  915. Partweld.Parent = Part
  916. PartMesh = Instance.new("CylinderMesh", Part)
  917. PartMesh.Name = "Mesh"
  918. PartMesh.Offset = Vector3.new(0, 0, 0)
  919. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  920. Part = Instance.new("Part", m)
  921. Part:BreakJoints()
  922. Part.TopSurface = "Smooth"
  923. Part.Material = "SmoothPlastic"
  924. Part.Transparency = 0
  925. Part.Name = "Part"
  926. Part.BottomSurface = "Smooth"
  927. Part.CanCollide = false
  928. Part.BrickColor = BrickColor.new("Magenta")
  929. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  930. Partweld = Instance.new("ManualWeld")
  931. Partweld.Part0 = Handle
  932. Partweld.Part1 = Part
  933. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  934. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  935. Partweld.Parent = Part
  936. PartMesh = Instance.new("CylinderMesh", Part)
  937. PartMesh.Name = "Mesh"
  938. PartMesh.Offset = Vector3.new(0, 0, 0)
  939. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  940. Part = Instance.new("Part", m)
  941. Part:BreakJoints()
  942. Part.TopSurface = "Smooth"
  943. Part.Material = "SmoothPlastic"
  944. Part.Transparency = 0
  945. Part.Name = "Part"
  946. Part.BottomSurface = "Smooth"
  947. Part.CanCollide = false
  948. Part.BrickColor = BrickColor.new("Black")
  949. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  950. Partweld = Instance.new("ManualWeld")
  951. Partweld.Part0 = Handle
  952. Partweld.Part1 = Part
  953. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  954. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393225789, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  955. Partweld.Parent = Part
  956. PartMesh = Instance.new("BlockMesh", Part)
  957. PartMesh.Name = "Mesh"
  958. PartMesh.Offset = Vector3.new(0, 0, 0)
  959. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  960. Part = Instance.new("Part", m)
  961. Part:BreakJoints()
  962. Part.TopSurface = "Smooth"
  963. Part.Material = "SmoothPlastic"
  964. Part.Transparency = 0
  965. Part.Name = "Part"
  966. Part.BottomSurface = "Smooth"
  967. Part.CanCollide = false
  968. Part.BrickColor = BrickColor.new("Black")
  969. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  970. Partweld = Instance.new("ManualWeld")
  971. Partweld.Part0 = Handle
  972. Partweld.Part1 = Part
  973. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  974. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  975. Partweld.Parent = Part
  976. PartMesh = Instance.new("BlockMesh", Part)
  977. PartMesh.Name = "Mesh"
  978. PartMesh.Offset = Vector3.new(0, 0, 0)
  979. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  980. Part = Instance.new("Part", m)
  981. Part:BreakJoints()
  982. Part.TopSurface = "Smooth"
  983. Part.Material = "SmoothPlastic"
  984. Part.Transparency = 0.5
  985. Part.Name = "Part"
  986. Part.BottomSurface = "Smooth"
  987. Part.CanCollide = false
  988. Part.BrickColor = BrickColor.new("Magenta")
  989. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  990. Partweld = Instance.new("ManualWeld")
  991. Partweld.Part0 = Handle
  992. Partweld.Part1 = Part
  993. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  994. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  995. Partweld.Parent = Part
  996. PartMesh = Instance.new("BlockMesh", Part)
  997. PartMesh.Name = "Mesh"
  998. PartMesh.Offset = Vector3.new(0, 0, 0)
  999. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  1000. Part = Instance.new("Part", m)
  1001. Part:BreakJoints()
  1002. Part.TopSurface = "Smooth"
  1003. Part.Material = "SmoothPlastic"
  1004. Part.Transparency = 0
  1005. Part.Name = "Part"
  1006. Part.BottomSurface = "Smooth"
  1007. Part.CanCollide = false
  1008. Part.BrickColor = BrickColor.new("Black")
  1009. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1010. Partweld = Instance.new("ManualWeld")
  1011. Partweld.Part0 = Handle
  1012. Partweld.Part1 = Part
  1013. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1014. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  1015. Partweld.Parent = Part
  1016. PartMesh = Instance.new("BlockMesh", Part)
  1017. PartMesh.Name = "Mesh"
  1018. PartMesh.Offset = Vector3.new(0, 0, 0)
  1019. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1020. Part = Instance.new("Part", m)
  1021. Part:BreakJoints()
  1022. Part.TopSurface = "Smooth"
  1023. Part.Material = "SmoothPlastic"
  1024. Part.Transparency = 0
  1025. Part.Name = "Part"
  1026. Part.BottomSurface = "Smooth"
  1027. Part.CanCollide = false
  1028. Part.BrickColor = BrickColor.new("Magenta")
  1029. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1030. Partweld = Instance.new("ManualWeld")
  1031. Partweld.Part0 = Handle
  1032. Partweld.Part1 = Part
  1033. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1034. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1035. Partweld.Parent = Part
  1036. PartMesh = Instance.new("CylinderMesh", Part)
  1037. PartMesh.Name = "Mesh"
  1038. PartMesh.Offset = Vector3.new(0, 0, 0)
  1039. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1040. Part = Instance.new("Part", m)
  1041. Part:BreakJoints()
  1042. Part.TopSurface = "Smooth"
  1043. Part.Material = "SmoothPlastic"
  1044. Part.Transparency = 0
  1045. Part.Name = "Part"
  1046. Part.BottomSurface = "Smooth"
  1047. Part.CanCollide = false
  1048. Part.BrickColor = BrickColor.new("Black")
  1049. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1050. Partweld = Instance.new("ManualWeld")
  1051. Partweld.Part0 = Handle
  1052. Partweld.Part1 = Part
  1053. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1054. Partweld.C1 = CFrame.new(0, -0.842823029, 0.393286943, 0.99998641, 1.07852229e-016, 0, -1.14204248e-016, 1, -2.3803019e-013, 0, 2.38031816e-013, 0.99998641)
  1055. Partweld.Parent = Part
  1056. PartMesh = Instance.new("BlockMesh", Part)
  1057. PartMesh.Name = "Mesh"
  1058. PartMesh.Offset = Vector3.new(0, 0, 0)
  1059. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1060. Part = Instance.new("Part", m)
  1061. Part:BreakJoints()
  1062. Part.TopSurface = "Smooth"
  1063. Part.Material = "SmoothPlastic"
  1064. Part.Transparency = 0
  1065. Part.Name = "Part"
  1066. Part.BottomSurface = "Smooth"
  1067. Part.CanCollide = false
  1068. Part.BrickColor = BrickColor.new("Magenta")
  1069. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1070. Partweld = Instance.new("ManualWeld")
  1071. Partweld.Part0 = Handle
  1072. Partweld.Part1 = Part
  1073. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1074. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1075. Partweld.Parent = Part
  1076. PartMesh = Instance.new("CylinderMesh", Part)
  1077. PartMesh.Name = "Mesh"
  1078. PartMesh.Offset = Vector3.new(0, 0, 0)
  1079. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1080. Part = Instance.new("Part", m)
  1081. Part:BreakJoints()
  1082. Part.TopSurface = "Smooth"
  1083. Part.Material = "SmoothPlastic"
  1084. Part.Transparency = 0
  1085. Part.Name = "Part"
  1086. Part.BottomSurface = "Smooth"
  1087. Part.CanCollide = false
  1088. Part.BrickColor = BrickColor.new("Magenta")
  1089. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1090. Partweld = Instance.new("ManualWeld")
  1091. Partweld.Part0 = Handle
  1092. Partweld.Part1 = Part
  1093. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1094. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1095. Partweld.Parent = Part
  1096. PartMesh = Instance.new("CylinderMesh", Part)
  1097. PartMesh.Name = "Mesh"
  1098. PartMesh.Offset = Vector3.new(0, 0, 0)
  1099. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1100. Part = Instance.new("Part", m)
  1101. Part:BreakJoints()
  1102. Part.TopSurface = "Smooth"
  1103. Part.Material = "SmoothPlastic"
  1104. Part.Transparency = 0
  1105. Part.Name = "Part"
  1106. Part.BottomSurface = "Smooth"
  1107. Part.CanCollide = false
  1108. Part.BrickColor = BrickColor.new("Black")
  1109. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  1110. Partweld = Instance.new("ManualWeld")
  1111. Partweld.Part0 = Handle
  1112. Partweld.Part1 = Part
  1113. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1114. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1115. Partweld.Parent = Part
  1116. PartMesh = Instance.new("BlockMesh", Part)
  1117. PartMesh.Name = "Mesh"
  1118. PartMesh.Offset = Vector3.new(0, 0, 0)
  1119. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1120. Part = Instance.new("Part", m)
  1121. Part:BreakJoints()
  1122. Part.TopSurface = "Smooth"
  1123. Part.Material = "SmoothPlastic"
  1124. Part.Transparency = 0
  1125. Part.Name = "Part"
  1126. Part.BottomSurface = "Smooth"
  1127. Part.CanCollide = false
  1128. Part.BrickColor = BrickColor.new("Magenta")
  1129. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1130. Partweld = Instance.new("ManualWeld")
  1131. Partweld.Part0 = Handle
  1132. Partweld.Part1 = Part
  1133. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1134. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1135. Partweld.Parent = Part
  1136. PartMesh = Instance.new("CylinderMesh", Part)
  1137. PartMesh.Name = "Mesh"
  1138. PartMesh.Offset = Vector3.new(0, 0, 0)
  1139. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1140. Part = Instance.new("Part", m)
  1141. Part:BreakJoints()
  1142. Part.TopSurface = "Smooth"
  1143. Part.Material = "SmoothPlastic"
  1144. Part.Transparency = 0
  1145. Part.Name = "Part"
  1146. Part.BottomSurface = "Smooth"
  1147. Part.CanCollide = false
  1148. Part.BrickColor = BrickColor.new("Magenta")
  1149. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1150. Partweld = Instance.new("ManualWeld")
  1151. Partweld.Part0 = Handle
  1152. Partweld.Part1 = Part
  1153. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1154. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1155. Partweld.Parent = Part
  1156. PartMesh = Instance.new("CylinderMesh", Part)
  1157. PartMesh.Name = "Mesh"
  1158. PartMesh.Offset = Vector3.new(0, 0, 0)
  1159. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1160. Part = Instance.new("Part", m)
  1161. Part:BreakJoints()
  1162. Part.TopSurface = "Smooth"
  1163. Part.Material = "SmoothPlastic"
  1164. Part.Transparency = 0
  1165. Part.Name = "Part"
  1166. Part.BottomSurface = "Smooth"
  1167. Part.CanCollide = false
  1168. Part.BrickColor = BrickColor.new("Black")
  1169. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  1170. Partweld = Instance.new("ManualWeld")
  1171. Partweld.Part0 = Handle
  1172. Partweld.Part1 = Part
  1173. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1174. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1175. Partweld.Parent = Part
  1176. PartMesh = Instance.new("CylinderMesh", Part)
  1177. PartMesh.Name = "Mesh"
  1178. PartMesh.Offset = Vector3.new(0, 0, 0)
  1179. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1180. Part = Instance.new("Part", m)
  1181. Part:BreakJoints()
  1182. Part.TopSurface = "Smooth"
  1183. Part.Material = "SmoothPlastic"
  1184. Part.Transparency = 0
  1185. Part.Name = "Part"
  1186. Part.BottomSurface = "Smooth"
  1187. Part.CanCollide = false
  1188. Part.BrickColor = BrickColor.new("Magenta")
  1189. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1190. Partweld = Instance.new("ManualWeld")
  1191. Partweld.Part0 = Handle
  1192. Partweld.Part1 = Part
  1193. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1194. Partweld.C1 = CFrame.new(0.53044498, -0.842823029, 0.0229825974, 0.258815438, -1.97460321e-017, -0.965912819, 3.30120669e-017, 1, -1.15873321e-017, 0.965912819, -2.88872116e-017, 0.258815438)
  1195. Partweld.Parent = Part
  1196. PartMesh = Instance.new("BlockMesh", Part)
  1197. PartMesh.Name = "Mesh"
  1198. PartMesh.Offset = Vector3.new(0, 0, 0)
  1199. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1200. Part = Instance.new("Part", m)
  1201. Part:BreakJoints()
  1202. Part.TopSurface = "Smooth"
  1203. Part.Material = "SmoothPlastic"
  1204. Part.Transparency = 0
  1205. Part.Name = "Part"
  1206. Part.BottomSurface = "Smooth"
  1207. Part.CanCollide = false
  1208. Part.BrickColor = BrickColor.new("Black")
  1209. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1210. Partweld = Instance.new("ManualWeld")
  1211. Partweld.Part0 = Handle
  1212. Partweld.Part1 = Part
  1213. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1214. Partweld.C1 = CFrame.new(0.529430389, -0.842823029, 0.0128250122, 0.258815438, 1.35525272e-020, -0.965912819, -3.50722156e-021, 1, 1.35524351e-020, 0.965912819, 0, 0.258815438)
  1215. Partweld.Parent = Part
  1216. PartMesh = Instance.new("BlockMesh", Part)
  1217. PartMesh.Name = "Mesh"
  1218. PartMesh.Offset = Vector3.new(0, 0, 0)
  1219. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1220. Part = Instance.new("Part", m)
  1221. Part:BreakJoints()
  1222. Part.TopSurface = "Smooth"
  1223. Part.Material = "SmoothPlastic"
  1224. Part.Transparency = 0
  1225. Part.Name = "Part"
  1226. Part.BottomSurface = "Smooth"
  1227. Part.CanCollide = false
  1228. Part.BrickColor = BrickColor.new("Black")
  1229. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1230. Partweld = Instance.new("ManualWeld")
  1231. Partweld.Part0 = Handle
  1232. Partweld.Part1 = Part
  1233. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1234. Partweld.C1 = CFrame.new(0.529132843, -0.842823029, -0.0117540359, -0.258815706, -3.25260652e-018, -0.965912759, 3.89845789e-017, 1, -1.38099317e-017, 0.965912759, -4.1236952e-017, -0.258815706)
  1235. Partweld.Parent = Part
  1236. PartMesh = Instance.new("BlockMesh", Part)
  1237. PartMesh.Name = "Mesh"
  1238. PartMesh.Offset = Vector3.new(0, 0, 0)
  1239. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1240. Part = Instance.new("Part", m)
  1241. Part:BreakJoints()
  1242. Part.TopSurface = "Smooth"
  1243. Part.Material = "SmoothPlastic"
  1244. Part.Transparency = 0
  1245. Part.Name = "Part"
  1246. Part.BottomSurface = "Smooth"
  1247. Part.CanCollide = false
  1248. Part.BrickColor = BrickColor.new("Black")
  1249. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1250. Partweld = Instance.new("ManualWeld")
  1251. Partweld.Part0 = Handle
  1252. Partweld.Part1 = Part
  1253. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1254. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1255. Partweld.Parent = Part
  1256. PartMesh = Instance.new("BlockMesh", Part)
  1257. PartMesh.Name = "Mesh"
  1258. PartMesh.Offset = Vector3.new(0, 0, 0)
  1259. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1260. Part = Instance.new("Part", m)
  1261. Part:BreakJoints()
  1262. Part.TopSurface = "Smooth"
  1263. Part.Material = "SmoothPlastic"
  1264. Part.Transparency = 0
  1265. Part.Name = "Part"
  1266. Part.BottomSurface = "Smooth"
  1267. Part.CanCollide = false
  1268. Part.BrickColor = BrickColor.new("Magenta")
  1269. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1270. Partweld = Instance.new("ManualWeld")
  1271. Partweld.Part0 = Handle
  1272. Partweld.Part1 = Part
  1273. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1274. Partweld.C1 = CFrame.new(-0.525370121, -0.842823029, 0.0256881714, 0.258815676, -6.64073831e-019, 0.9659127, 1.05359266e-018, 1, 4.06573049e-019, -0.9659127, 9.14795583e-019, 0.258815676)
  1275. Partweld.Parent = Part
  1276. PartMesh = Instance.new("BlockMesh", Part)
  1277. PartMesh.Name = "Mesh"
  1278. PartMesh.Offset = Vector3.new(0, 0, 0)
  1279. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1280. Part = Instance.new("Part", m)
  1281. Part:BreakJoints()
  1282. Part.TopSurface = "Smooth"
  1283. Part.Material = "SmoothPlastic"
  1284. Part.Transparency = 0
  1285. Part.Name = "Part"
  1286. Part.BottomSurface = "Smooth"
  1287. Part.CanCollide = false
  1288. Part.BrickColor = BrickColor.new("Magenta")
  1289. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1290. Partweld = Instance.new("ManualWeld")
  1291. Partweld.Part0 = Handle
  1292. Partweld.Part1 = Part
  1293. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1294. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1295. Partweld.Parent = Part
  1296. PartMesh = Instance.new("CylinderMesh", Part)
  1297. PartMesh.Name = "Mesh"
  1298. PartMesh.Offset = Vector3.new(0, 0, 0)
  1299. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1300. Part = Instance.new("Part", m)
  1301. Part:BreakJoints()
  1302. Part.TopSurface = "Smooth"
  1303. Part.Material = "SmoothPlastic"
  1304. Part.Transparency = 0
  1305. Part.Name = "Part"
  1306. Part.BottomSurface = "Smooth"
  1307. Part.CanCollide = false
  1308. Part.BrickColor = BrickColor.new("Magenta")
  1309. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1310. Partweld = Instance.new("ManualWeld")
  1311. Partweld.Part0 = Handle
  1312. Partweld.Part1 = Part
  1313. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1314. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  1315. Partweld.Parent = Part
  1316. PartMesh = Instance.new("BlockMesh", Part)
  1317. PartMesh.Name = "Mesh"
  1318. PartMesh.Offset = Vector3.new(0, 0, 0)
  1319. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1320. Part = Instance.new("Part", m)
  1321. Part:BreakJoints()
  1322. Part.TopSurface = "Smooth"
  1323. Part.Material = "SmoothPlastic"
  1324. Part.Transparency = 0
  1325. Part.Name = "Part"
  1326. Part.BottomSurface = "Smooth"
  1327. Part.CanCollide = false
  1328. Part.BrickColor = BrickColor.new("Magenta")
  1329. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  1330. Partweld = Instance.new("ManualWeld")
  1331. Partweld.Part0 = Handle
  1332. Partweld.Part1 = Part
  1333. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1334. Partweld.C1 = CFrame.new(0.00023651123, -0.842823029, -0.364931583, 0.99998641, -2.62516024e-017, -1.67287184e-026, 2.62512451e-017, 1, 3.6862117e-018, 1.67287184e-026, -3.68626216e-018, 0.99998641)
  1335. Partweld.Parent = Part
  1336. PartMesh = Instance.new("BlockMesh", Part)
  1337. PartMesh.Name = "Mesh"
  1338. PartMesh.Offset = Vector3.new(0, 0, 0)
  1339. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  1340. Part = Instance.new("Part", m)
  1341. Part:BreakJoints()
  1342. Part.TopSurface = "Smooth"
  1343. Part.Material = "SmoothPlastic"
  1344. Part.Transparency = 0
  1345. Part.Name = "Part"
  1346. Part.BottomSurface = "Smooth"
  1347. Part.CanCollide = false
  1348. Part.BrickColor = BrickColor.new("Magenta")
  1349. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1350. Partweld = Instance.new("ManualWeld")
  1351. Partweld.Part0 = Handle
  1352. Partweld.Part1 = Part
  1353. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1354. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1355. Partweld.Parent = Part
  1356. PartMesh = Instance.new("BlockMesh", Part)
  1357. PartMesh.Name = "Mesh"
  1358. PartMesh.Offset = Vector3.new(0, 0, 0)
  1359. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1360. Part = Instance.new("Part", m)
  1361. Part:BreakJoints()
  1362. Part.TopSurface = "Smooth"
  1363. Part.Material = "SmoothPlastic"
  1364. Part.Transparency = 0
  1365. Part.Name = "Part"
  1366. Part.BottomSurface = "Smooth"
  1367. Part.CanCollide = false
  1368. Part.BrickColor = BrickColor.new("Magenta")
  1369. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  1370. Partweld = Instance.new("ManualWeld")
  1371. Partweld.Part0 = Handle
  1372. Partweld.Part1 = Part
  1373. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1374. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1375. Partweld.Parent = Part
  1376. PartMesh = Instance.new("BlockMesh", Part)
  1377. PartMesh.Name = "Mesh"
  1378. PartMesh.Offset = Vector3.new(0, 0, 0)
  1379. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  1380. Part = Instance.new("Part", m)
  1381. Part:BreakJoints()
  1382. Part.TopSurface = "Smooth"
  1383. Part.Material = "SmoothPlastic"
  1384. Part.Transparency = 0
  1385. Part.Name = "Part"
  1386. Part.BottomSurface = "Smooth"
  1387. Part.CanCollide = false
  1388. Part.BrickColor = BrickColor.new("Magenta")
  1389. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1390. Partweld = Instance.new("ManualWeld")
  1391. Partweld.Part0 = Handle
  1392. Partweld.Part1 = Part
  1393. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1394. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1395. Partweld.Parent = Part
  1396. PartMesh = Instance.new("CylinderMesh", Part)
  1397. PartMesh.Name = "Mesh"
  1398. PartMesh.Offset = Vector3.new(0, 0, 0)
  1399. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1400. Part = Instance.new("Part", m)
  1401. Part:BreakJoints()
  1402. Part.TopSurface = "Smooth"
  1403. Part.Material = "SmoothPlastic"
  1404. Part.Transparency = 0.5
  1405. Part.Name = "Part"
  1406. Part.BottomSurface = "Smooth"
  1407. Part.CanCollide = false
  1408. Part.BrickColor = BrickColor.new("Magenta")
  1409. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  1410. Partweld = Instance.new("ManualWeld")
  1411. Partweld.Part0 = Handle
  1412. Partweld.Part1 = Part
  1413. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1414. Partweld.C1 = CFrame.new(-8.39233398e-005, -6.13697433, 0.00012421608, -0.99998641, 0, 5.96042398e-008, 0, 1, 0, -5.96042398e-008, 0, -0.99998641)
  1415. Partweld.Parent = Part
  1416. PartMesh = Instance.new("SpecialMesh", Part)
  1417. PartMesh.MeshId = ""
  1418. PartMesh.MeshType = Enum.MeshType.Wedge
  1419. PartMesh.Name = "Mesh"
  1420. PartMesh.Offset = Vector3.new(0, 0, 0)
  1421. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  1422. Part = Instance.new("Part", m)
  1423. Part:BreakJoints()
  1424. Part.TopSurface = "Smooth"
  1425. Part.Material = "SmoothPlastic"
  1426. Part.Transparency = 0
  1427. Part.Name = "Part"
  1428. Part.BottomSurface = "Smooth"
  1429. Part.CanCollide = false
  1430. Part.BrickColor = BrickColor.new("Black")
  1431. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1432. Partweld = Instance.new("ManualWeld")
  1433. Partweld.Part0 = Handle
  1434. Partweld.Part1 = Part
  1435. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1436. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1437. Partweld.Parent = Part
  1438. PartMesh = Instance.new("CylinderMesh", Part)
  1439. PartMesh.Name = "Mesh"
  1440. PartMesh.Offset = Vector3.new(0, 0, 0)
  1441. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1442. Part = Instance.new("Part", m)
  1443. Part:BreakJoints()
  1444. Part.TopSurface = "Smooth"
  1445. Part.Material = "SmoothPlastic"
  1446. Part.Transparency = 0
  1447. Part.Name = "Part"
  1448. Part.BottomSurface = "Smooth"
  1449. Part.CanCollide = false
  1450. Part.BrickColor = BrickColor.new("Magenta")
  1451. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1452. Partweld = Instance.new("ManualWeld")
  1453. Partweld.Part0 = Handle
  1454. Partweld.Part1 = Part
  1455. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1456. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1457. Partweld.Parent = Part
  1458. PartMesh = Instance.new("CylinderMesh", Part)
  1459. PartMesh.Name = "Mesh"
  1460. PartMesh.Offset = Vector3.new(0, 0, 0)
  1461. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1462. Part = Instance.new("Part", m)
  1463. Part:BreakJoints()
  1464. Part.TopSurface = "Smooth"
  1465. Part.Material = "SmoothPlastic"
  1466. Part.Transparency = 0
  1467. Part.Name = "Part"
  1468. Part.BottomSurface = "Smooth"
  1469. Part.CanCollide = false
  1470. Part.BrickColor = BrickColor.new("Magenta")
  1471. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1472. Partweld = Instance.new("ManualWeld")
  1473. Partweld.Part0 = Handle
  1474. Partweld.Part1 = Part
  1475. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1476. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1477. Partweld.Parent = Part
  1478. PartMesh = Instance.new("CylinderMesh", Part)
  1479. PartMesh.Name = "Mesh"
  1480. PartMesh.Offset = Vector3.new(0, 0, 0)
  1481. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1482. local hitbox = Instance.new("Part", m)
  1483. hitbox:BreakJoints()
  1484. hitbox.TopSurface = "Smooth"
  1485. hitbox.Material = "SmoothPlastic"
  1486. hitbox.Transparency = 1
  1487. hitbox.Name = "hitbox"
  1488. hitbox.BottomSurface = "Smooth"
  1489. hitbox.CanCollide = false
  1490. hitbox.BrickColor = BrickColor.new("Black")
  1491. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  1492. local hitboxweld = Instance.new("ManualWeld")
  1493. hitboxweld.Part0 = Handle
  1494. hitboxweld.Part1 = hitbox
  1495. hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1496. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1497. hitboxweld.Parent = hitbox
  1498. local hitboxMesh = Instance.new("BlockMesh", hitbox)
  1499. hitboxMesh.Name = "Mesh"
  1500. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  1501. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1502. local Wedge = Instance.new("WedgePart", m)
  1503. Wedge:BreakJoints()
  1504. Wedge.TopSurface = "Smooth"
  1505. Wedge.Material = "SmoothPlastic"
  1506. Wedge.Transparency = 0
  1507. Wedge.Name = "Wedge"
  1508. Wedge.BottomSurface = "Smooth"
  1509. Wedge.CanCollide = false
  1510. Wedge.BrickColor = BrickColor.new("Black")
  1511. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  1512. local Wedgeweld = Instance.new("ManualWeld")
  1513. Wedgeweld.Part0 = Handle
  1514. Wedgeweld.Part1 = Wedge
  1515. Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1516. Wedgeweld.C1 = CFrame.new(7.62939453e-006, -5.9009819, -4.0769577e-005, -0.999992788, 1.60944605e-010, -8.94063589e-007, 1.60504526e-010, 0.999993563, -4.18958729e-010, 7.897562e-007, -4.18840851e-010, -0.999986649)
  1517. Wedgeweld.Parent = Wedge
  1518. local WedgeMesh = Instance.new("SpecialMesh", Wedge)
  1519. WedgeMesh.MeshId = ""
  1520. WedgeMesh.MeshType = Enum.MeshType.Wedge
  1521. WedgeMesh.Name = "Mesh"
  1522. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  1523. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1524. Handle2 = Instance.new("Part", m)
  1525. Handle2:BreakJoints()
  1526. Handle2.TopSurface = "Smooth"
  1527. Handle2.Transparency = 0
  1528. Handle2.Material = "SmoothPlastic"
  1529. Handle2.Name = "Handle2"
  1530. Handle2.BottomSurface = "Smooth"
  1531. Handle2.CanCollide = false
  1532. Handle2.BrickColor = BrickColor.new("Black")
  1533. Handle2.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  1534. Handle2weld = Instance.new("ManualWeld")
  1535. Handle2weld.Part0 = Character["Right Arm"]
  1536. Handle2weld.Part1 = Handle2
  1537. Handle2weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1538. Handle2weld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  1539. Handle2weld.Parent = Character["Right Arm"]
  1540. Handle2Mesh = Instance.new("CylinderMesh", Handle2)
  1541. Handle2Mesh.Name = "Mesh"
  1542. Handle2Mesh.Offset = Vector3.new(0, 0, 0)
  1543. Handle2Mesh.Scale = Vector3.new(1, 1, 1)
  1544. Part2 = Instance.new("Part", m)
  1545. Part2:BreakJoints()
  1546. Part2.TopSurface = "Smooth"
  1547. Part2.Material = "SmoothPlastic"
  1548. Part2.Transparency = 0
  1549. Part2.Name = "Part"
  1550. Part2.BottomSurface = "Smooth"
  1551. Part2.CanCollide = false
  1552. Part2.BrickColor = BrickColor.new("Black")
  1553. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1554. Partweld = Instance.new("ManualWeld")
  1555. Partweld.Part0 = Handle2
  1556. Partweld.Part1 = Part2
  1557. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1558. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393207669, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  1559. Partweld.Parent = Part2
  1560. PartMesh = Instance.new("BlockMesh", Part2)
  1561. PartMesh.Name = "Mesh"
  1562. PartMesh.Offset = Vector3.new(0, 0, 0)
  1563. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1564. Part2 = Instance.new("Part", m)
  1565. Part2:BreakJoints()
  1566. Part2.TopSurface = "Smooth"
  1567. Part2.Material = "SmoothPlastic"
  1568. Part2.Transparency = 0
  1569. Part2.Name = "Part"
  1570. Part2.BottomSurface = "Smooth"
  1571. Part2.CanCollide = false
  1572. Part2.BrickColor = BrickColor.new("Magenta")
  1573. Part2.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  1574. Partweld = Instance.new("ManualWeld")
  1575. Partweld.Part0 = Handle2
  1576. Partweld.Part1 = Part2
  1577. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1578. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1579. Partweld.Parent = Part2
  1580. PartMesh = Instance.new("SpecialMesh", Part2)
  1581. PartMesh.MeshId = ""
  1582. PartMesh.MeshType = Enum.MeshType.Sphere
  1583. PartMesh.Name = "Mesh"
  1584. PartMesh.Offset = Vector3.new(0, 0, 0)
  1585. PartMesh.Scale = Vector3.new(1, 1, 1)
  1586. Part2 = Instance.new("Part", m)
  1587. Part2:BreakJoints()
  1588. Part2.TopSurface = "Smooth"
  1589. Part2.Material = "SmoothPlastic"
  1590. Part2.Transparency = 0
  1591. Part2.Name = "Part"
  1592. Part2.BottomSurface = "Smooth"
  1593. Part2.CanCollide = false
  1594. Part2.BrickColor = BrickColor.new("Black")
  1595. Part2.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1596. Partweld = Instance.new("ManualWeld")
  1597. Partweld.Part0 = Handle2
  1598. Partweld.Part1 = Part2
  1599. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1600. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1601. Partweld.Parent = Part2
  1602. PartMesh = Instance.new("CylinderMesh", Part2)
  1603. PartMesh.Name = "Mesh"
  1604. PartMesh.Offset = Vector3.new(0, 0, 0)
  1605. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1606. Part2 = Instance.new("Part", m)
  1607. Part2:BreakJoints()
  1608. Part2.TopSurface = "Smooth"
  1609. Part2.Material = "SmoothPlastic"
  1610. Part2.Transparency = 0
  1611. Part2.Name = "Part"
  1612. Part2.BottomSurface = "Smooth"
  1613. Part2.CanCollide = false
  1614. Part2.BrickColor = BrickColor.new("Black")
  1615. Part2.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  1616. Partweld = Instance.new("ManualWeld")
  1617. Partweld.Part0 = Handle2
  1618. Partweld.Part1 = Part2
  1619. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1620. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1621. Partweld.Parent = Part2
  1622. PartMesh = Instance.new("CylinderMesh", Part2)
  1623. PartMesh.Name = "Mesh"
  1624. PartMesh.Offset = Vector3.new(0, 0, 0)
  1625. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1626. Part2 = Instance.new("Part", m)
  1627. Part2:BreakJoints()
  1628. Part2.TopSurface = "Smooth"
  1629. Part2.Material = "SmoothPlastic"
  1630. Part2.Transparency = 0
  1631. Part2.Name = "Part"
  1632. Part2.BottomSurface = "Smooth"
  1633. Part2.CanCollide = false
  1634. Part2.BrickColor = BrickColor.new("Magenta")
  1635. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1636. Partweld = Instance.new("ManualWeld")
  1637. Partweld.Part0 = Handle2
  1638. Partweld.Part1 = Part2
  1639. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1640. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1641. Partweld.Parent = Part2
  1642. PartMesh = Instance.new("CylinderMesh", Part2)
  1643. PartMesh.Name = "Mesh"
  1644. PartMesh.Offset = Vector3.new(0, 0, 0)
  1645. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1646. Part2 = Instance.new("Part", m)
  1647. Part2:BreakJoints()
  1648. Part2.TopSurface = "Smooth"
  1649. Part2.Material = "SmoothPlastic"
  1650. Part2.Transparency = 0
  1651. Part2.Name = "Part"
  1652. Part2.BottomSurface = "Smooth"
  1653. Part2.CanCollide = false
  1654. Part2.BrickColor = BrickColor.new("Black")
  1655. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1656. Partweld = Instance.new("ManualWeld")
  1657. Partweld.Part0 = Handle2
  1658. Partweld.Part1 = Part2
  1659. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1660. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393225789, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  1661. Partweld.Parent = Part2
  1662. PartMesh = Instance.new("BlockMesh", Part2)
  1663. PartMesh.Name = "Mesh"
  1664. PartMesh.Offset = Vector3.new(0, 0, 0)
  1665. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1666. Part2 = Instance.new("Part", m)
  1667. Part2:BreakJoints()
  1668. Part2.TopSurface = "Smooth"
  1669. Part2.Material = "SmoothPlastic"
  1670. Part2.Transparency = 0
  1671. Part2.Name = "Part"
  1672. Part2.BottomSurface = "Smooth"
  1673. Part2.CanCollide = false
  1674. Part2.BrickColor = BrickColor.new("Black")
  1675. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1676. Partweld = Instance.new("ManualWeld")
  1677. Partweld.Part0 = Handle2
  1678. Partweld.Part1 = Part2
  1679. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1680. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  1681. Partweld.Parent = Part2
  1682. PartMesh = Instance.new("BlockMesh", Part2)
  1683. PartMesh.Name = "Mesh"
  1684. PartMesh.Offset = Vector3.new(0, 0, 0)
  1685. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1686. Part2 = Instance.new("Part", m)
  1687. Part2:BreakJoints()
  1688. Part2.TopSurface = "Smooth"
  1689. Part2.Material = "SmoothPlastic"
  1690. Part2.Transparency = 0.5
  1691. Part2.Name = "Part"
  1692. Part2.BottomSurface = "Smooth"
  1693. Part2.CanCollide = false
  1694. Part2.BrickColor = BrickColor.new("Magenta")
  1695. Part2.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  1696. Partweld = Instance.new("ManualWeld")
  1697. Partweld.Part0 = Handle2
  1698. Partweld.Part1 = Part2
  1699. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1700. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1701. Partweld.Parent = Part2
  1702. PartMesh = Instance.new("BlockMesh", Part2)
  1703. PartMesh.Name = "Mesh"
  1704. PartMesh.Offset = Vector3.new(0, 0, 0)
  1705. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  1706. Part2 = Instance.new("Part", m)
  1707. Part2:BreakJoints()
  1708. Part2.TopSurface = "Smooth"
  1709. Part2.Material = "SmoothPlastic"
  1710. Part2.Transparency = 0
  1711. Part2.Name = "Part"
  1712. Part2.BottomSurface = "Smooth"
  1713. Part2.CanCollide = false
  1714. Part2.BrickColor = BrickColor.new("Black")
  1715. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1716. Partweld = Instance.new("ManualWeld")
  1717. Partweld.Part0 = Handle2
  1718. Partweld.Part1 = Part2
  1719. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1720. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  1721. Partweld.Parent = Part2
  1722. PartMesh = Instance.new("BlockMesh", Part2)
  1723. PartMesh.Name = "Mesh"
  1724. PartMesh.Offset = Vector3.new(0, 0, 0)
  1725. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1726. Part2 = Instance.new("Part", m)
  1727. Part2:BreakJoints()
  1728. Part2.TopSurface = "Smooth"
  1729. Part2.Material = "SmoothPlastic"
  1730. Part2.Transparency = 0
  1731. Part2.Name = "Part"
  1732. Part2.BottomSurface = "Smooth"
  1733. Part2.CanCollide = false
  1734. Part2.BrickColor = BrickColor.new("Magenta")
  1735. Part2.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1736. Partweld = Instance.new("ManualWeld")
  1737. Partweld.Part0 = Handle2
  1738. Partweld.Part1 = Part2
  1739. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1740. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1741. Partweld.Parent = Part2
  1742. PartMesh = Instance.new("CylinderMesh", Part2)
  1743. PartMesh.Name = "Mesh"
  1744. PartMesh.Offset = Vector3.new(0, 0, 0)
  1745. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1746. Part2 = Instance.new("Part", m)
  1747. Part2:BreakJoints()
  1748. Part2.TopSurface = "Smooth"
  1749. Part2.Material = "SmoothPlastic"
  1750. Part2.Transparency = 0
  1751. Part2.Name = "Part"
  1752. Part2.BottomSurface = "Smooth"
  1753. Part2.CanCollide = false
  1754. Part2.BrickColor = BrickColor.new("Black")
  1755. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1756. Partweld = Instance.new("ManualWeld")
  1757. Partweld.Part0 = Handle2
  1758. Partweld.Part1 = Part2
  1759. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1760. Partweld.C1 = CFrame.new(0, -0.842823029, 0.393286943, 0.99998641, 1.07852229e-016, 0, -1.14204248e-016, 1, -2.3803019e-013, 0, 2.38031816e-013, 0.99998641)
  1761. Partweld.Parent = Part2
  1762. PartMesh = Instance.new("BlockMesh", Part2)
  1763. PartMesh.Name = "Mesh"
  1764. PartMesh.Offset = Vector3.new(0, 0, 0)
  1765. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1766. Part2 = Instance.new("Part", m)
  1767. Part2:BreakJoints()
  1768. Part2.TopSurface = "Smooth"
  1769. Part2.Material = "SmoothPlastic"
  1770. Part2.Transparency = 0
  1771. Part2.Name = "Part"
  1772. Part2.BottomSurface = "Smooth"
  1773. Part2.CanCollide = false
  1774. Part2.BrickColor = BrickColor.new("Magenta")
  1775. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1776. Partweld = Instance.new("ManualWeld")
  1777. Partweld.Part0 = Handle2
  1778. Partweld.Part1 = Part2
  1779. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1780. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1781. Partweld.Parent = Part2
  1782. PartMesh = Instance.new("CylinderMesh", Part2)
  1783. PartMesh.Name = "Mesh"
  1784. PartMesh.Offset = Vector3.new(0, 0, 0)
  1785. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  1786. Part2 = Instance.new("Part", m)
  1787. Part2:BreakJoints()
  1788. Part2.TopSurface = "Smooth"
  1789. Part2.Material = "SmoothPlastic"
  1790. Part2.Transparency = 0
  1791. Part2.Name = "Part"
  1792. Part2.BottomSurface = "Smooth"
  1793. Part2.CanCollide = false
  1794. Part2.BrickColor = BrickColor.new("Magenta")
  1795. Part2.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1796. Partweld = Instance.new("ManualWeld")
  1797. Partweld.Part0 = Handle2
  1798. Partweld.Part1 = Part2
  1799. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1800. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1801. Partweld.Parent = Part2
  1802. PartMesh = Instance.new("CylinderMesh", Part2)
  1803. PartMesh.Name = "Mesh"
  1804. PartMesh.Offset = Vector3.new(0, 0, 0)
  1805. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1806. Part2 = Instance.new("Part", m)
  1807. Part2:BreakJoints()
  1808. Part2.TopSurface = "Smooth"
  1809. Part2.Material = "SmoothPlastic"
  1810. Part2.Transparency = 0
  1811. Part2.Name = "Part"
  1812. Part2.BottomSurface = "Smooth"
  1813. Part2.CanCollide = false
  1814. Part2.BrickColor = BrickColor.new("Black")
  1815. Part2.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  1816. Partweld = Instance.new("ManualWeld")
  1817. Partweld.Part0 = Handle2
  1818. Partweld.Part1 = Part2
  1819. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1820. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1821. Partweld.Parent = Part2
  1822. PartMesh = Instance.new("BlockMesh", Part2)
  1823. PartMesh.Name = "Mesh"
  1824. PartMesh.Offset = Vector3.new(0, 0, 0)
  1825. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  1826. Part2 = Instance.new("Part", m)
  1827. Part2:BreakJoints()
  1828. Part2.TopSurface = "Smooth"
  1829. Part2.Material = "SmoothPlastic"
  1830. Part2.Transparency = 0
  1831. Part2.Name = "Part"
  1832. Part2.BottomSurface = "Smooth"
  1833. Part2.CanCollide = false
  1834. Part2.BrickColor = BrickColor.new("Magenta")
  1835. Part2.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  1836. Partweld = Instance.new("ManualWeld")
  1837. Partweld.Part0 = Handle2
  1838. Partweld.Part1 = Part2
  1839. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1840. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1841. Partweld.Parent = Part2
  1842. PartMesh = Instance.new("CylinderMesh", Part2)
  1843. PartMesh.Name = "Mesh"
  1844. PartMesh.Offset = Vector3.new(0, 0, 0)
  1845. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1846. Part2 = Instance.new("Part", m)
  1847. Part2:BreakJoints()
  1848. Part2.TopSurface = "Smooth"
  1849. Part2.Material = "SmoothPlastic"
  1850. Part2.Transparency = 0
  1851. Part2.Name = "Part"
  1852. Part2.BottomSurface = "Smooth"
  1853. Part2.CanCollide = false
  1854. Part2.BrickColor = BrickColor.new("Magenta")
  1855. Part2.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  1856. Partweld = Instance.new("ManualWeld")
  1857. Partweld.Part0 = Handle2
  1858. Partweld.Part1 = Part2
  1859. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1860. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1861. Partweld.Parent = Part2
  1862. PartMesh = Instance.new("CylinderMesh", Part2)
  1863. PartMesh.Name = "Mesh"
  1864. PartMesh.Offset = Vector3.new(0, 0, 0)
  1865. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  1866. Part2 = Instance.new("Part", m)
  1867. Part2:BreakJoints()
  1868. Part2.TopSurface = "Smooth"
  1869. Part2.Material = "SmoothPlastic"
  1870. Part2.Transparency = 0
  1871. Part2.Name = "Part"
  1872. Part2.BottomSurface = "Smooth"
  1873. Part2.CanCollide = false
  1874. Part2.BrickColor = BrickColor.new("Black")
  1875. Part2.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  1876. Partweld = Instance.new("ManualWeld")
  1877. Partweld.Part0 = Handle2
  1878. Partweld.Part1 = Part2
  1879. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1880. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1881. Partweld.Parent = Part2
  1882. PartMesh = Instance.new("CylinderMesh", Part2)
  1883. PartMesh.Name = "Mesh"
  1884. PartMesh.Offset = Vector3.new(0, 0, 0)
  1885. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  1886. Part2 = Instance.new("Part", m)
  1887. Part2:BreakJoints()
  1888. Part2.TopSurface = "Smooth"
  1889. Part2.Material = "SmoothPlastic"
  1890. Part2.Transparency = 0
  1891. Part2.Name = "Part"
  1892. Part2.BottomSurface = "Smooth"
  1893. Part2.CanCollide = false
  1894. Part2.BrickColor = BrickColor.new("Magenta")
  1895. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1896. Partweld = Instance.new("ManualWeld")
  1897. Partweld.Part0 = Handle2
  1898. Partweld.Part1 = Part2
  1899. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1900. Partweld.C1 = CFrame.new(0.53044498, -0.842823029, 0.0229825974, 0.258815438, -1.97460321e-017, -0.965912819, 3.30120669e-017, 1, -1.15873321e-017, 0.965912819, -2.88872116e-017, 0.258815438)
  1901. Partweld.Parent = Part2
  1902. PartMesh = Instance.new("BlockMesh", Part2)
  1903. PartMesh.Name = "Mesh"
  1904. PartMesh.Offset = Vector3.new(0, 0, 0)
  1905. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1906. Part2 = Instance.new("Part", m)
  1907. Part2:BreakJoints()
  1908. Part2.TopSurface = "Smooth"
  1909. Part2.Material = "SmoothPlastic"
  1910. Part2.Transparency = 0
  1911. Part2.Name = "Part"
  1912. Part2.BottomSurface = "Smooth"
  1913. Part2.CanCollide = false
  1914. Part2.BrickColor = BrickColor.new("Black")
  1915. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1916. Partweld = Instance.new("ManualWeld")
  1917. Partweld.Part0 = Handle2
  1918. Partweld.Part1 = Part2
  1919. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1920. Partweld.C1 = CFrame.new(0.529430389, -0.842823029, 0.0128250122, 0.258815438, 1.35525272e-020, -0.965912819, -3.50722156e-021, 1, 1.35524351e-020, 0.965912819, 0, 0.258815438)
  1921. Partweld.Parent = Part2
  1922. PartMesh = Instance.new("BlockMesh", Part2)
  1923. PartMesh.Name = "Mesh"
  1924. PartMesh.Offset = Vector3.new(0, 0, 0)
  1925. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1926. Part2 = Instance.new("Part", m)
  1927. Part2:BreakJoints()
  1928. Part2.TopSurface = "Smooth"
  1929. Part2.Material = "SmoothPlastic"
  1930. Part2.Transparency = 0
  1931. Part2.Name = "Part"
  1932. Part2.BottomSurface = "Smooth"
  1933. Part2.CanCollide = false
  1934. Part2.BrickColor = BrickColor.new("Black")
  1935. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1936. Partweld = Instance.new("ManualWeld")
  1937. Partweld.Part0 = Handle2
  1938. Partweld.Part1 = Part2
  1939. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1940. Partweld.C1 = CFrame.new(0.529132843, -0.842823029, -0.0117540359, -0.258815706, -3.25260652e-018, -0.965912759, 3.89845789e-017, 1, -1.38099317e-017, 0.965912759, -4.1236952e-017, -0.258815706)
  1941. Partweld.Parent = Part2
  1942. PartMesh = Instance.new("BlockMesh", Part2)
  1943. PartMesh.Name = "Mesh"
  1944. PartMesh.Offset = Vector3.new(0, 0, 0)
  1945. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1946. Part2 = Instance.new("Part", m)
  1947. Part2:BreakJoints()
  1948. Part2.TopSurface = "Smooth"
  1949. Part2.Material = "SmoothPlastic"
  1950. Part2.Transparency = 0
  1951. Part2.Name = "Part"
  1952. Part2.BottomSurface = "Smooth"
  1953. Part2.CanCollide = false
  1954. Part2.BrickColor = BrickColor.new("Black")
  1955. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  1956. Partweld = Instance.new("ManualWeld")
  1957. Partweld.Part0 = Handle2
  1958. Partweld.Part1 = Part2
  1959. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1960. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  1961. Partweld.Parent = Part2
  1962. PartMesh = Instance.new("BlockMesh", Part2)
  1963. PartMesh.Name = "Mesh"
  1964. PartMesh.Offset = Vector3.new(0, 0, 0)
  1965. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  1966. Part2 = Instance.new("Part", m)
  1967. Part2:BreakJoints()
  1968. Part2.TopSurface = "Smooth"
  1969. Part2.Material = "SmoothPlastic"
  1970. Part2.Transparency = 0
  1971. Part2.Name = "Part"
  1972. Part2.BottomSurface = "Smooth"
  1973. Part2.CanCollide = false
  1974. Part2.BrickColor = BrickColor.new("Magenta")
  1975. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  1976. Partweld = Instance.new("ManualWeld")
  1977. Partweld.Part0 = Handle2
  1978. Partweld.Part1 = Part2
  1979. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1980. Partweld.C1 = CFrame.new(-0.525370121, -0.842823029, 0.0256881714, 0.258815676, -6.64073831e-019, 0.9659127, 1.05359266e-018, 1, 4.06573049e-019, -0.9659127, 9.14795583e-019, 0.258815676)
  1981. Partweld.Parent = Part2
  1982. PartMesh = Instance.new("BlockMesh", Part2)
  1983. PartMesh.Name = "Mesh"
  1984. PartMesh.Offset = Vector3.new(0, 0, 0)
  1985. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  1986. Part2 = Instance.new("Part", m)
  1987. Part2:BreakJoints()
  1988. Part2.TopSurface = "Smooth"
  1989. Part2.Material = "SmoothPlastic"
  1990. Part2.Transparency = 0
  1991. Part2.Name = "Part"
  1992. Part2.BottomSurface = "Smooth"
  1993. Part2.CanCollide = false
  1994. Part2.BrickColor = BrickColor.new("Magenta")
  1995. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1996. Partweld = Instance.new("ManualWeld")
  1997. Partweld.Part0 = Handle2
  1998. Partweld.Part1 = Part2
  1999. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2000. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2001. Partweld.Parent = Part2
  2002. PartMesh = Instance.new("CylinderMesh", Part2)
  2003. PartMesh.Name = "Mesh"
  2004. PartMesh.Offset = Vector3.new(0, 0, 0)
  2005. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  2006. Part2 = Instance.new("Part", m)
  2007. Part2:BreakJoints()
  2008. Part2.TopSurface = "Smooth"
  2009. Part2.Material = "SmoothPlastic"
  2010. Part2.Transparency = 0
  2011. Part2.Name = "Part"
  2012. Part2.BottomSurface = "Smooth"
  2013. Part2.CanCollide = false
  2014. Part2.BrickColor = BrickColor.new("Magenta")
  2015. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  2016. Partweld = Instance.new("ManualWeld")
  2017. Partweld.Part0 = Handle2
  2018. Partweld.Part1 = Part2
  2019. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2020. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  2021. Partweld.Parent = Part2
  2022. PartMesh = Instance.new("BlockMesh", Part2)
  2023. PartMesh.Name = "Mesh"
  2024. PartMesh.Offset = Vector3.new(0, 0, 0)
  2025. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  2026. Part2 = Instance.new("Part", m)
  2027. Part2:BreakJoints()
  2028. Part2.TopSurface = "Smooth"
  2029. Part2.Material = "SmoothPlastic"
  2030. Part2.Transparency = 0
  2031. Part2.Name = "Part"
  2032. Part2.BottomSurface = "Smooth"
  2033. Part2.CanCollide = false
  2034. Part2.BrickColor = BrickColor.new("Magenta")
  2035. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  2036. Partweld = Instance.new("ManualWeld")
  2037. Partweld.Part0 = Handle2
  2038. Partweld.Part1 = Part2
  2039. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2040. Partweld.C1 = CFrame.new(0.00023651123, -0.842823029, -0.364931583, 0.99998641, -2.62516024e-017, -1.67287184e-026, 2.62512451e-017, 1, 3.6862117e-018, 1.67287184e-026, -3.68626216e-018, 0.99998641)
  2041. Partweld.Parent = Part2
  2042. PartMesh = Instance.new("BlockMesh", Part2)
  2043. PartMesh.Name = "Mesh"
  2044. PartMesh.Offset = Vector3.new(0, 0, 0)
  2045. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  2046. Part2 = Instance.new("Part", m)
  2047. Part2:BreakJoints()
  2048. Part2.TopSurface = "Smooth"
  2049. Part2.Material = "SmoothPlastic"
  2050. Part2.Transparency = 0
  2051. Part2.Name = "Part"
  2052. Part2.BottomSurface = "Smooth"
  2053. Part2.CanCollide = false
  2054. Part2.BrickColor = BrickColor.new("Magenta")
  2055. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  2056. Partweld = Instance.new("ManualWeld")
  2057. Partweld.Part0 = Handle2
  2058. Partweld.Part1 = Part2
  2059. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2060. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  2061. Partweld.Parent = Part2
  2062. PartMesh = Instance.new("BlockMesh", Part2)
  2063. PartMesh.Name = "Mesh"
  2064. PartMesh.Offset = Vector3.new(0, 0, 0)
  2065. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  2066. Part2 = Instance.new("Part", m)
  2067. Part2:BreakJoints()
  2068. Part2.TopSurface = "Smooth"
  2069. Part2.Material = "SmoothPlastic"
  2070. Part2.Transparency = 0
  2071. Part2.Name = "Part"
  2072. Part2.BottomSurface = "Smooth"
  2073. Part2.CanCollide = false
  2074. Part2.BrickColor = BrickColor.new("Magenta")
  2075. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  2076. Partweld = Instance.new("ManualWeld")
  2077. Partweld.Part0 = Handle2
  2078. Partweld.Part1 = Part2
  2079. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2080. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2081. Partweld.Parent = Part2
  2082. PartMesh = Instance.new("BlockMesh", Part2)
  2083. PartMesh.Name = "Mesh"
  2084. PartMesh.Offset = Vector3.new(0, 0, 0)
  2085. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  2086. Part2 = Instance.new("Part", m)
  2087. Part2:BreakJoints()
  2088. Part2.TopSurface = "Smooth"
  2089. Part2.Material = "SmoothPlastic"
  2090. Part2.Transparency = 0
  2091. Part2.Name = "Part"
  2092. Part2.BottomSurface = "Smooth"
  2093. Part2.CanCollide = false
  2094. Part2.BrickColor = BrickColor.new("Magenta")
  2095. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2096. Partweld = Instance.new("ManualWeld")
  2097. Partweld.Part0 = Handle2
  2098. Partweld.Part1 = Part2
  2099. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2100. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2101. Partweld.Parent = Part2
  2102. PartMesh = Instance.new("CylinderMesh", Part2)
  2103. PartMesh.Name = "Mesh"
  2104. PartMesh.Offset = Vector3.new(0, 0, 0)
  2105. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  2106. Part3 = Instance.new("Part", m)
  2107. Part3:BreakJoints()
  2108. Part3.TopSurface = "Smooth"
  2109. Part3.Material = "SmoothPlastic"
  2110. Part3.Transparency = 0.5
  2111. Part3.Name = "Part"
  2112. Part3.BottomSurface = "Smooth"
  2113. Part3.CanCollide = false
  2114. Part3.BrickColor = BrickColor.new("Magenta")
  2115. Part3.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  2116. Partweld = Instance.new("ManualWeld")
  2117. Partweld.Part0 = Handle2
  2118. Partweld.Part1 = Part3
  2119. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2120. Partweld.C1 = CFrame.new(-8.39233398e-005, -6.13697433, 0.00012421608, -0.99998641, 0, 5.96042398e-008, 0, 1, 0, -5.96042398e-008, 0, -0.99998641)
  2121. Partweld.Parent = Part3
  2122. PartMesh = Instance.new("SpecialMesh", Part3)
  2123. PartMesh.MeshId = ""
  2124. PartMesh.MeshType = Enum.MeshType.Wedge
  2125. PartMesh.Name = "Mesh"
  2126. PartMesh.Offset = Vector3.new(0, 0, 0)
  2127. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  2128. Part2 = Instance.new("Part", m)
  2129. Part2:BreakJoints()
  2130. Part2.TopSurface = "Smooth"
  2131. Part2.Material = "SmoothPlastic"
  2132. Part2.Transparency = 0
  2133. Part2.Name = "Part"
  2134. Part2.BottomSurface = "Smooth"
  2135. Part2.CanCollide = false
  2136. Part2.BrickColor = BrickColor.new("Black")
  2137. Part2.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  2138. Partweld = Instance.new("ManualWeld")
  2139. Partweld.Part0 = Handle2
  2140. Partweld.Part1 = Part2
  2141. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2142. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2143. Partweld.Parent = Part2
  2144. PartMesh = Instance.new("CylinderMesh", Part2)
  2145. PartMesh.Name = "Mesh"
  2146. PartMesh.Offset = Vector3.new(0, 0, 0)
  2147. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  2148. Part2 = Instance.new("Part", m)
  2149. Part2:BreakJoints()
  2150. Part2.TopSurface = "Smooth"
  2151. Part2.Material = "SmoothPlastic"
  2152. Part2.Transparency = 0
  2153. Part2.Name = "Part"
  2154. Part2.BottomSurface = "Smooth"
  2155. Part2.CanCollide = false
  2156. Part2.BrickColor = BrickColor.new("Magenta")
  2157. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2158. Partweld = Instance.new("ManualWeld")
  2159. Partweld.Part0 = Handle2
  2160. Partweld.Part1 = Part2
  2161. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2162. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2163. Partweld.Parent = Part2
  2164. PartMesh = Instance.new("CylinderMesh", Part2)
  2165. PartMesh.Name = "Mesh"
  2166. PartMesh.Offset = Vector3.new(0, 0, 0)
  2167. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  2168. Part2 = Instance.new("Part", m)
  2169. Part2:BreakJoints()
  2170. Part2.TopSurface = "Smooth"
  2171. Part2.Material = "SmoothPlastic"
  2172. Part2.Transparency = 0
  2173. Part2.Name = "Part"
  2174. Part2.BottomSurface = "Smooth"
  2175. Part2.CanCollide = false
  2176. Part2.BrickColor = BrickColor.new("Magenta")
  2177. Part2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  2178. Partweld = Instance.new("ManualWeld")
  2179. Partweld.Part0 = Handle2
  2180. Partweld.Part1 = Part2
  2181. Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2182. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2183. Partweld.Parent = Part2
  2184. PartMesh = Instance.new("CylinderMesh", Part2)
  2185. PartMesh.Name = "Mesh"
  2186. PartMesh.Offset = Vector3.new(0, 0, 0)
  2187. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  2188. local hitbox2 = Instance.new("Part", m)
  2189. hitbox2:BreakJoints()
  2190. hitbox2.TopSurface = "Smooth"
  2191. hitbox2.Material = "SmoothPlastic"
  2192. hitbox2.Transparency = 1
  2193. hitbox2.Name = "hitbox2"
  2194. hitbox2.BottomSurface = "Smooth"
  2195. hitbox2.CanCollide = false
  2196. hitbox2.BrickColor = BrickColor.new("Black")
  2197. hitbox2.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  2198. local hitbox2weld = Instance.new("ManualWeld")
  2199. hitbox2weld.Part0 = Handle2
  2200. hitbox2weld.Part1 = hitbox2
  2201. hitbox2weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2202. hitbox2weld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  2203. hitbox2weld.Parent = hitbox2
  2204. local hitbox2Mesh = Instance.new("BlockMesh", hitbox2)
  2205. hitbox2Mesh.Name = "Mesh"
  2206. hitbox2Mesh.Offset = Vector3.new(0, 0, 0)
  2207. hitbox2Mesh.Scale = Vector3.new(0.561845124, 1, 1)
  2208. local wedge2 = Instance.new("Part", m)
  2209. wedge2:BreakJoints()
  2210. wedge2.TopSurface = "Smooth"
  2211. wedge2.Material = "SmoothPlastic"
  2212. wedge2.Transparency = 0
  2213. wedge2.Name = "wedge2"
  2214. wedge2.BottomSurface = "Smooth"
  2215. wedge2.CanCollide = false
  2216. wedge2.BrickColor = BrickColor.new("Black")
  2217. wedge2.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  2218. local wedge2weld = Instance.new("ManualWeld")
  2219. wedge2weld.Part0 = Handle2
  2220. wedge2weld.Part1 = wedge2
  2221. wedge2weld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2222. wedge2weld.C1 = CFrame.new(7.62939453e-006, -5.9009819, -4.0769577e-005, -0.999992788, 1.60944605e-010, -8.94063589e-007, 1.60504526e-010, 0.999993563, -4.18958729e-010, 7.897562e-007, -4.18840851e-010, -0.999986649)
  2223. wedge2weld.Parent = wedge2
  2224. local wedge2Mesh = Instance.new("SpecialMesh", wedge2)
  2225. wedge2Mesh.MeshId = ""
  2226. wedge2Mesh.MeshType = Enum.MeshType.Wedge
  2227. wedge2Mesh.Name = "Mesh"
  2228. wedge2Mesh.Offset = Vector3.new(0, 0, 0)
  2229. wedge2Mesh.Scale = Vector3.new(0.561845124, 1, 1)
  2230. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  2231. if hit.Parent == nil then
  2232. return
  2233. end
  2234. h = hit.Parent:FindFirstChild("Humanoid")
  2235. for _,v in pairs(hit.Parent:children()) do
  2236. if v:IsA("Humanoid") then
  2237. h = v
  2238. end
  2239. end
  2240. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  2241. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  2242. end
  2243. if hit.Parent.className == "Hat" then
  2244. hit = hit.Parent.Parent:findFirstChild("Head")
  2245. end
  2246. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2247. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2248. return
  2249. end
  2250. c = Instance.new("ObjectValue")
  2251. c.Name = "creator"
  2252. c.Value = game:service("Players").LocalPlayer
  2253. c.Parent = h
  2254. game:GetService("Debris"):AddItem(c, 0.5)
  2255. Damage = math.random(minim, maxim)
  2256. blocked = false
  2257. block = hit.Parent:findFirstChild("Block")
  2258. if block ~= nil then
  2259. print(block.className)
  2260. if block.className == "NumberValue" and block.Value > 0 then
  2261. blocked = true
  2262. if decreaseblock == nil then
  2263. block.Value = block.Value - 1
  2264. end
  2265. end
  2266. if block.className == "IntValue" and block.Value > 0 then
  2267. blocked = true
  2268. if decreaseblock ~= nil then
  2269. block.Value = block.Value - 1
  2270. end
  2271. end
  2272. end
  2273. if blocked == false then
  2274. if CRIT == false then
  2275. HitHealth = h.Health
  2276. h.Health = h.Health - Damage
  2277. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  2278. print("gained spree")
  2279. Player:FindFirstChild("leaderstats").Spree.Value = Player.leaderstats.Spree.Value + 1
  2280. end
  2281. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  2282. print("gained kill")
  2283. script.Parent.Kills.Value = script.Parent.Kills.Value + 1
  2284. end
  2285. showDamage(hit.Parent, Damage, 0.5, BrickColor.new("Bright violet"))
  2286. else
  2287. h.Health = h.Health - Damage * 2
  2288. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  2289. print("gained kill")
  2290. script.Parent.Kills.Value = script.Parent.Kills.Value + 1
  2291. end
  2292. showDamage(hit.Parent, Damage * 2, 0.5, BrickColor.new("Magenta"))
  2293. coroutine.resume(coroutine.create(function()
  2294. for i = 0, 1, 0.5 do
  2295. swait()
  2296. MagicCircle(BrickColor.new("Magenta"), hit.Parent.Torso.CFrame * angles(math.random(-50, 50), 0, math.random(-50, 50)), 1, 10, 1, 0, 2, 0, 0.06)
  2297. end
  2298. end
  2299. ))
  2300. end
  2301. end
  2302. if Type == "Knockdown" then
  2303. hum = hit.Parent.Humanoid
  2304. hum.PlatformStand = true
  2305. coroutine.resume(coroutine.create(function(HHumanoid)
  2306. swait(1)
  2307. HHumanoid.PlatformStand = false
  2308. end
  2309. ), hum)
  2310. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2311. local bodvol = Instance.new("BodyVelocity")
  2312. bodvol.velocity = angle * knockback
  2313. bodvol.P = 5000
  2314. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  2315. bodvol.Parent = hit
  2316. rl = Instance.new("BodyAngularVelocity")
  2317. rl.P = 3000
  2318. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  2319. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2320. rl.Parent = hit
  2321. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2322. game:GetService("Debris"):AddItem(rl, 0.5)
  2323. else
  2324. do
  2325. if Type == "Normal" then
  2326. vp = Instance.new("BodyVelocity")
  2327. vp.P = 500
  2328. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2329. if KnockbackType == 1 then
  2330. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2331. else
  2332. if KnockbackType == 2 then
  2333. vp.velocity = Property.CFrame.lookVector * knockback
  2334. end
  2335. end
  2336. if knockback > 0 then
  2337. vp.Parent = hit.Parent.Torso
  2338. end
  2339. game:GetService("Debris"):AddItem(vp, 0.5)
  2340. else
  2341. if Type == "Up" then
  2342. local bodyVelocity = Instance.new("BodyVelocity")
  2343. bodyVelocity.velocity = vt(0, 60, 0)
  2344. bodyVelocity.P = 5000
  2345. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  2346. bodyVelocity.Parent = hit
  2347. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2348. rl = Instance.new("BodyAngularVelocity")
  2349. rl.P = 3000
  2350. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  2351. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  2352. rl.Parent = hit
  2353. game:GetService("Debris"):AddItem(rl, 0.5)
  2354. else
  2355. do
  2356. if Type == "Snare" then
  2357. bp = Instance.new("BodyPosition")
  2358. bp.P = 2000
  2359. bp.D = 100
  2360. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2361. bp.position = hit.Parent.Torso.Position
  2362. bp.Parent = hit.Parent.Torso
  2363. game:GetService("Debris"):AddItem(bp, 1)
  2364. else
  2365. if Type == "Target" and Targetting == false then
  2366. ZTarget = hit.Parent.Torso
  2367. coroutine.resume(coroutine.create(function(Part2)
  2368. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  2369. swait(5)
  2370. so("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  2371. end
  2372. ), ZTarget)
  2373. TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  2374. targetgui = Instance.new("BillboardGui")
  2375. targetgui.Parent = ZTarget
  2376. targetgui.Size = UDim2.new(10, 100, 10, 100)
  2377. targ = Instance.new("ImageLabel")
  2378. targ.Parent = targetgui
  2379. targ.BackgroundTransparency = 1
  2380. targ.Image = "rbxassetid://4834067"
  2381. targ.Size = UDim2.new(1, 0, 1, 0)
  2382. cam.CameraType = "Scriptable"
  2383. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  2384. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  2385. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  2386. Targetting = true
  2387. RocketTarget = ZTarget
  2388. for i = 1, Property do
  2389. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  2390. swait()
  2391. end
  2392. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  2393. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  2394. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  2395. end
  2396. Targetting = false
  2397. RocketTarget = nil
  2398. targetgui.Parent = nil
  2399. cam.CameraType = "Custom"
  2400. end
  2401. end
  2402. debounce = Instance.new("BoolValue")
  2403. debounce.Name = "DebounceHit"
  2404. debounce.Parent = hit.Parent
  2405. debounce.Value = true
  2406. game:GetService("Debris"):AddItem(debounce, Delay)
  2407. c = Instance.new("ObjectValue")
  2408. c.Name = "creator"
  2409. c.Value = Player
  2410. c.Parent = h
  2411. game:GetService("Debris"):AddItem(c, 0.5)
  2412. CRIT = false
  2413. hitDeb = true
  2414. AttackPos = 6
  2415. end
  2416. end
  2417. end
  2418. end
  2419. end
  2420. end
  2421. end
  2422.  
  2423. showDamage = function(Char, Dealt, du, Color)
  2424. m = Instance.new("Model")
  2425. m.Name = tostring(Dealt)
  2426. h = Instance.new("Humanoid")
  2427. h.Health = 0
  2428. h.MaxHealth = 0
  2429. h.Parent = m
  2430. c = Instance.new("Part")
  2431. c.Transparency = 0
  2432. c.BrickColor = Color
  2433. c.Name = "Head"
  2434. c.TopSurface = 0
  2435. c.BottomSurface = 0
  2436. c.Size = Vector3.new(1, 0.4, 1)
  2437. ms = Instance.new("CylinderMesh")
  2438. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  2439. if CRIT == true then
  2440. ms.Scale = Vector3.new(1, 1.25, 1)
  2441. end
  2442. ms.Parent = c
  2443. c.Reflectance = 0
  2444. Instance.new("BodyGyro").Parent = c
  2445. c.Parent = m
  2446. if Char:findFirstChild("Head") ~= nil then
  2447. c.CFrame = CFrame.new(Char.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  2448. else
  2449. if Char.Parent:findFirstChild("Head") ~= nil then
  2450. c.CFrame = CFrame.new(Char.Parent.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  2451. end
  2452. end
  2453. f = Instance.new("BodyPosition")
  2454. f.P = 2000
  2455. f.D = 100
  2456. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2457. f.position = c.Position + Vector3.new(0, 3, 0)
  2458. f.Parent = c
  2459. game:GetService("Debris"):AddItem(m, 0.5 + du)
  2460. c.CanCollide = false
  2461. m.Parent = workspace
  2462. c.CanCollide = false
  2463. end
  2464.  
  2465. PlaySound = function(id, pitch, parent, volume)
  2466. if volume == nil then
  2467. volume = tonumber(1)
  2468. end
  2469. epicsound = Instance.new("Sound")
  2470. epicsound.Name = "Epicosound"
  2471. epicsound.SoundId = "rbxassetid://" .. id
  2472. epicsound.Volume = volume
  2473. epicsound.Pitch = pitch
  2474. epicsound.Looped = false
  2475. epicsound.Parent = parent
  2476. sbu = epicsound:Clone()
  2477. sbu.Parent = Storage
  2478. wait()
  2479. epicsound:Play()
  2480. game:service("Debris"):AddItem(epicsound, 8)
  2481. end
  2482.  
  2483. Slashes = {200633108, 200633148, 200633196, 200633281}
  2484. Slash = function(Part2)
  2485. local shot = math.random(1, #Slashes)
  2486. PlaySound(Slashes[shot], 1, Part2)
  2487. end
  2488.  
  2489. local Shockwave = function()
  2490. local Wave = Instance.new("Part", m)
  2491. Wave.Name = "Shockwave"
  2492. Wave.BrickColor = BrickColor.new("Black")
  2493. Wave.Size = Vector3.new(1, 1, 1)
  2494. Wave.Shape = "Ball"
  2495. Wave.CanCollide = false
  2496. Wave.Anchored = true
  2497. Wave.TopSurface = 0
  2498. Wave.BottomSurface = 0
  2499. Wave.Touched:connect(function(hit)
  2500. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") and hit.Parent.Name ~= Character.Name and hit.Parent.Parent ~= mon then
  2501. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 5
  2502. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2503. end
  2504. end
  2505. )
  2506. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2507. Delay(0, function()
  2508. for i = 1, 38 do
  2509. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  2510. Wave.CFrame = Torso.CFrame
  2511. local t = i / 38
  2512. Wave.Transparency = t
  2513. wait()
  2514. end
  2515. Wave:Destroy()
  2516. end
  2517. )
  2518. Delay(0, function()
  2519. while 1 do
  2520. while wait() and Wave ~= nil do
  2521. Wave.CFrame = Wave.CFrame
  2522. end
  2523. break
  2524. end
  2525. end
  2526. )
  2527. end
  2528.  
  2529. hits = {144650218, 135436482, 183345423, 200561185}
  2530. attackone = function()
  2531. attack = true
  2532. con1 = hitbox2.Touched:connect(function(hit)
  2533. Damagefunc(hit, 10, 20, math.random(20, 40), "Normal", RootPart, 0.2, 1)
  2534. end
  2535. )
  2536. for i = 0, 1, 0.2 do
  2537. swait()
  2538. Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0.5), 0.4)
  2539. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  2540. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 1), 0.4)
  2541. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2542. LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.3) * euler(0.4, 0, 0.2) * euler(0, -0.2, 0), 0.4)
  2543. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2544. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  2545. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  2546. end
  2547. so("http://roblox.com/asset/?id=234365549", hitbox2, 1, 1)
  2548. hitconasdf = hitbox2.Touched:connect(function(hit)
  2549. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2550. if hum12 and not hum12:IsDescendantOf(Character) then
  2551. so("http://roblox.com/asset/?id=220025675", hitbox2, 1, 3)
  2552. hitconasdf:disconnect()
  2553. end
  2554. end
  2555. )
  2556. for i = 0, 1, 0.3 do
  2557. swait()
  2558. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.2, 0, 0), 0.4)
  2559. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  2560. RW.C0 = clerp(RW.C0, cf(1.2, 0.5, -0.3) * euler(0.2, 0, -0.2) * euler(0, -0.5, 0), 0.4)
  2561. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2562. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.4)
  2563. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2564. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  2565. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  2566. end
  2567. for i = 0, 1, 0.2 do
  2568. swait()
  2569. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.5) * euler(0.2, 0, 0), 0.4)
  2570. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.5), 0.4)
  2571. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.6, 0, -1) * euler(0, -0.7, 0), 0.4)
  2572. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2573. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.2), 0.4)
  2574. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  2575. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0), 0.4)
  2576. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, -0.5, 0), 0.4)
  2577. end
  2578. con1:disconnect()
  2579. hitconasdf:disconnect()
  2580. attack = false
  2581. end
  2582.  
  2583. attackthree = function()
  2584. attack = true
  2585. for i = 0, 1, 0.2 do
  2586. swait()
  2587. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2588. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  2589. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.3)
  2590. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-100)), 0.3)
  2591. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2592. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2593. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2594. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2595. end
  2596. con1 = hitbox.Touched:connect(function(hit)
  2597. Damagefunc(hit, 10, 20, math.random(20, 40), "Normal", RootPart, 0.2, 1)
  2598. end
  2599. )
  2600. so("http://roblox.com/asset/?id=243711427", Handle2, 1, 1)
  2601. for i = 0, 1, 0.1 do
  2602. swait()
  2603. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.4)
  2604. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(70)), 0.4)
  2605. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(0), math.rad(30)), 0.4)
  2606. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.4)
  2607. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2608. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2609. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2610. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2611. end
  2612. attack = false
  2613. con1:disconnect()
  2614. end
  2615.  
  2616. slam = function()
  2617. attack = true
  2618. Clone()
  2619. MagicBlock(BrickColor.new("Black"), RootPart.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  2620. for i = 0, 1, 0.05 do
  2621. swait()
  2622. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.3)
  2623. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.3)
  2624. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  2625. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.3, 0, 0.2), 0.3)
  2626. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2627. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.3, 0, -0.2), 0.3)
  2628. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  2629. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2630. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2631. end
  2632. MagicBlock(BrickColor.new("Black"), RootPart.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  2633. RootPart.CFrame = RootPart.CFrame * cf(0, 100, 0)
  2634. hit = nil
  2635. for i = 1, 20 do
  2636. if hit == nil then
  2637. swait()
  2638. end
  2639. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  2640. end
  2641. local hit = nil
  2642. while hit == nil do
  2643. swait()
  2644. hit = rayCast(LeftLeg.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  2645. end
  2646. hit = rayCast(LeftLeg.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  2647. do
  2648. if hit ~= nil then
  2649. local ref = part(1, workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  2650. ref.Anchored = true
  2651. ref.CFrame = cf(RootPart.Position)
  2652. game:GetService("Debris"):AddItem(ref, 3)
  2653. for i = 1, 10 do
  2654. Col = hit.BrickColor
  2655. local groundpart = part(3, workspace, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  2656. groundpart.Anchored = true
  2657. groundpart.CanCollide = true
  2658. groundpart.CFrame = cf(RootPart.Position) * cf((math.random(-500, 500) / 100), 0, (math.random(-500, 500) / 100)) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2659. game:GetService("Debris"):AddItem(groundpart, 5)
  2660. end
  2661. so("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  2662. MagicWaveThing(hit.BrickColor, cf(RootPart.Position), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  2663. MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
  2664. end
  2665. attack = false
  2666. end
  2667. end
  2668.  
  2669. StravEffect = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  2670. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2671. prt.Anchored = true
  2672. prt.CFrame = cframe * cf(x, y, z)
  2673. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  2674. game:GetService("Debris"):AddItem(prt, 5)
  2675. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  2676. local num = math.random()
  2677. local num2 = math.random(-3, 2) + math.random()
  2678. local numm = 0
  2679. for i = 0, 1, delay * 2 do
  2680. swait()
  2681. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  2682. Part.Transparency = i
  2683. numm = numm + 0.01
  2684. end
  2685. Part.Parent = nil
  2686. Mesh.Parent = nil
  2687. end
  2688. ), prt, msh, x, y, z)
  2689. end
  2690.  
  2691. wave = function()
  2692. attack = true
  2693. ef = part(1, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Ef", vt())
  2694. for i = 0, 1, 0.1 do
  2695. swait()
  2696. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.4)
  2697. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(70)), 0.4)
  2698. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(150), math.rad(100)), 0.4)
  2699. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.4)
  2700. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2701. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2702. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2703. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2704. end
  2705. coroutine.resume(coroutine.create(function()
  2706. for i = 0, 1, 0.2 do
  2707. swait()
  2708. MagicCircle(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.random(-20, -10)) * angles(math.random(-50, 50), 0, math.random(-50, 50)), 1, 10, 1, 0, 2, 0, 0.06)
  2709. end
  2710. end
  2711. ))
  2712. ef.CFrame = RootPart.CFrame * cf(0, 0, -15)
  2713. MagniDamage(ef, 5, 10, 10, 0, "Normal")
  2714. so("http://roblox.com/asset/?id=243711427", Handle2, 1, 0.7)
  2715. for i = 0, 1, 0.1 do
  2716. swait()
  2717. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2718. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  2719. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(100)), 0.3)
  2720. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-100)), 0.3)
  2721. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2722. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2723. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2724. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2725. end
  2726. for i = 0, 1, 0.1 do
  2727. swait()
  2728. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.4)
  2729. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.4)
  2730. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(-150), math.rad(-100)), 0.4)
  2731. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(150), math.rad(100)), 0.4)
  2732. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2733. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2734. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2735. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2736. end
  2737. coroutine.resume(coroutine.create(function()
  2738. for i = 0, 1, 0.2 do
  2739. swait()
  2740. MagicCircle(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, math.random(-20, -10)) * angles(math.random(-50, 50), 0, math.random(-50, 50)), 1, 10, 1, 0, 2, 0, 0.06)
  2741. end
  2742. end
  2743. ))
  2744. ef.CFrame = RootPart.CFrame * cf(0, 0, -15)
  2745. MagniDamage(ef, 5, 10, 10, 0, "Normal")
  2746. for i = 0, 1, 0.1 do
  2747. swait()
  2748. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2749. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
  2750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(10), math.rad(-100)), 0.3)
  2751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(100)), 0.3)
  2752. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2753. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2754. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2755. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2756. end
  2757. ef.Parent = nil
  2758. attack = false
  2759. end
  2760.  
  2761. anger = function()
  2762. attack = true
  2763. for i = 0, 1, 0.1 do
  2764. swait()
  2765. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2766. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2767. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(150), math.rad(100)), 0.4)
  2768. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.4)
  2769. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2770. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2771. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2772. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2773. end
  2774. so("http://roblox.com/asset/?id=243711427", Handle2, 1, 0.7)
  2775. for i = 0, 1, 0.1 do
  2776. swait()
  2777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2778. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2779. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(-10), math.rad(100)), 0.3)
  2780. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-100)), 0.3)
  2781. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2782. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2783. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2784. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2785. end
  2786. coroutine.resume(coroutine.create(function()
  2787. swarm()
  2788. end
  2789. ))
  2790. attack = false
  2791. end
  2792.  
  2793. swarm = function()
  2794. CRIT = true
  2795. Cloak()
  2796. randnum = math.random(2, 3) + math.random()
  2797. tehr = math.random(200, 300) / 10000
  2798. coroutine.resume(coroutine.create(function()
  2799. while CRIT do
  2800. wait(0.1)
  2801. StravEffect(BrickColor.new("Really black"), RootPart.CFrame * euler(0, math.random(-50, 50), 0), -math.random(1, 10), 0, 0, randnum, randnum, randnum, tehr)
  2802. end
  2803. end
  2804. ))
  2805. for i = 0, 300 do
  2806. swait()
  2807. end
  2808. UnCloak()
  2809. CRIT = false
  2810. end
  2811.  
  2812. shoottrail2 = function(pos1)
  2813. coroutine.resume(coroutine.create(function()
  2814. spread2 = 0
  2815. range2 = 500
  2816. rangepower = 10
  2817. local spreadvector = Vector3.new(math.random(-spread2, spread2), math.random(-spread2, spread2), math.random(-spread2, spread2)) / 100 * pos1.Position.magnitude / 100
  2818. local dir = Head.CFrame.lookVector + spreadvector
  2819. local hit2, pos = rayCast(pos1.Position, dir, 10, Character)
  2820. local rangepos = range2
  2821. local drawtrail = function(From, To)
  2822. local effectsmsh = Instance.new("CylinderMesh")
  2823. effectsmsh.Scale = Vector3.new(1, 1, 1)
  2824. effectsmsh.Name = "Mesh"
  2825. local effectsg = Instance.new("Part")
  2826. effectsg.formFactor = 3
  2827. effectsg.CanCollide = false
  2828. effectsg.Name = "Eff"
  2829. effectsg.Locked = true
  2830. effectsg.Anchored = true
  2831. effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
  2832. effectsg.Parent = m
  2833. effectsmsh.Parent = effectsg
  2834. effectsg.BrickColor = BrickColor.new("Really black")
  2835. effectsg.Reflectance = 0.25
  2836. local LP = From
  2837. local point1 = To
  2838. local mg = (P - point1).magnitude
  2839. effectsmsh.Scale = Vector3.new(1, mg * 5, 1)
  2840. effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0)
  2841. coroutine.resume(coroutine.create(function()
  2842. for i = 0, 1, 0.5 do
  2843. swait()
  2844. effectsg.Transparency = 1 * i
  2845. effectsmsh.Scale = Vector3.new(1 - 1 * i, mg * 5, 1 - 1 * i)
  2846. end
  2847. effectsg.Parent = nil
  2848. end
  2849. ))
  2850. end
  2851.  
  2852. local newpos = pos1.Position
  2853. local inc = rangepower
  2854. repeat
  2855. swait()
  2856. rangepos = rangepos - 10
  2857. hit2 = rayCast(newpos, dir, inc, Character)
  2858. drawtrail(newpos, pos)
  2859. newpos = newpos + dir * inc
  2860. if alt == 1 then
  2861. inc = 10
  2862. if inc >= 20 then
  2863. inc = inc - 10
  2864. end
  2865. end
  2866. if hit2 ~= nil then
  2867. rangepos = 0
  2868. end
  2869. until rangepos <= 0
  2870. if hit2 ~= nil then
  2871. local effectsmsh = Instance.new("SpecialMesh")
  2872. do
  2873. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  2874. effectsmsh.Scale = Vector3.new(3, 3, 3)
  2875. local effectsg = Instance.new("Part")
  2876. effectsg.formFactor = 3
  2877. effectsg.CanCollide = false
  2878. effectsg.Name = "Arrow"
  2879. effectsg.Locked = true
  2880. effectsg.Transparency = 1
  2881. effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
  2882. effectsg.Parent = m
  2883. effectsg.BrickColor = BrickColor.new("Really black")
  2884. effectsmsh.Parent = effectsg
  2885. effectsg.CFrame = CFrame.new(newpos, pos) + CFrame.new(newpos, pos).lookVector * 2.5 * 2
  2886. local efwel = Instance.new("Weld")
  2887. efwel.Parent = effectsg
  2888. efwel.Part0 = effectsg
  2889. efwel.Part1 = hit2
  2890. efwel.Parent = nil
  2891. effectsg.Anchored = true
  2892. local HitPos = effectsg.Position + CFrame.new(newpos, pos).lookVector * 0.75
  2893. local CJ = CFrame.new(HitPos)
  2894. local C0 = effectsg.CFrame:inverse() * CJ
  2895. local C1 = hit2.CFrame:inverse() * CJ
  2896. Damg = 1
  2897. coroutine.resume(coroutine.create(function()
  2898. wait(3)
  2899. effectsg.Parent = nil
  2900. end
  2901. ))
  2902. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  2903. hum = hit2.Parent.Humanoid
  2904. attackdebounce = false
  2905. Damagefunc(hit2, 10, 10, 0, "Normal", RootPart, 0.2, 1)
  2906. else
  2907. if hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2908. do
  2909. hum = hit2.Parent.Parent.Humanoid
  2910. attackdebounce = false
  2911. Damagefunc(hit2, 10, 10, 0, "Normal", RootPart, 0.2, 1)
  2912. -- DECOMPILER ERROR at PC220: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2913.  
  2914. -- DECOMPILER ERROR at PC220: LeaveBlock: unexpected jumping out IF_STMT
  2915.  
  2916. -- DECOMPILER ERROR at PC220: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  2917.  
  2918. -- DECOMPILER ERROR at PC220: LeaveBlock: unexpected jumping out IF_STMT
  2919.  
  2920. end
  2921. end
  2922. end
  2923. end
  2924. end
  2925. end
  2926. ))
  2927. end
  2928.  
  2929. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  2930. for _,c in pairs(workspace:children()) do
  2931. local hum = c:findFirstChild("Humanoid")
  2932. if hum ~= nil then
  2933. local head = c:findFirstChild("Torso")
  2934. if head ~= nil then
  2935. local targ = head.Position - Part.Position
  2936. local mag = targ.magnitude
  2937. if mag <= magni and c.Name ~= Player.Name then
  2938. Damagefunc(head, mindam, maxdam, knock, Type, Part, 0.2, 1, nil, 1)
  2939. end
  2940. end
  2941. end
  2942. end
  2943. end
  2944.  
  2945. dash = function()
  2946. attack = true
  2947. for i = 0, 1, 0.05 do
  2948. swait()
  2949. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.4)
  2950. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(70)), 0.4)
  2951. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(0), math.rad(30)), 0.4)
  2952. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.4)
  2953. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2954. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2955. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2956. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2957. end
  2958. Clone()
  2959. so("http://roblox.com/asset/?id=243711427", Handle2, 1, 0.7)
  2960. coroutine.resume(coroutine.create(function()
  2961. for i = 0, 1, 0.2 do
  2962. swait()
  2963. MagicCircle(BrickColor.new("Magenta"), RootPart.CFrame, 5, 5, 1, 2, 2, 0, 0.07)
  2964. MagniDamage(Torso, 5, 1, 10, 0, "Normal")
  2965. end
  2966. end
  2967. ))
  2968. Torso.Velocity = RootPart.CFrame.lookVector * 200
  2969. for i = 0, 1, 0.2 do
  2970. swait()
  2971. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2972. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  2973. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.3)
  2974. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-100)), 0.3)
  2975. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2976. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  2977. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  2978. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2979. end
  2980. attack = false
  2981. end
  2982.  
  2983. attackfour = function()
  2984. attack = true
  2985. for i = 0, 1, 0.1 do
  2986. swait()
  2987. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.4)
  2988. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(70)), 0.4)
  2989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-70), math.rad(0), math.rad(30)), 0.4)
  2990. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-100)), 0.4)
  2991. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2992. LH.C0 = clerp(LH.C0, cf(-1, -0.6, 0) * angles(math.rad(0), math.rad(-50), math.rad(-30)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2993. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2994. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  2995. end
  2996. con1 = hitbox.Touched:connect(function(hit)
  2997. Damagefunc(hit, 10, 20, math.random(20, 40), "Normal", RootPart, 0.2, 1)
  2998. end
  2999. )
  3000. so("http://roblox.com/asset/?id=243711427", Handle2, 1, 0.7)
  3001. for i = 0, 1, 0.2 do
  3002. swait()
  3003. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3004. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  3005. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.3)
  3006. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-100)), 0.3)
  3007. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(40)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  3008. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(30)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3)
  3009. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3010. Handle2weld.C0 = clerp(Handle2weld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3011. end
  3012. attack = false
  3013. con1:disconnect()
  3014. end
  3015.  
  3016. attacktwo = function()
  3017. attack = true
  3018. con1 = hitbox2.Touched:connect(function(hit)
  3019. Damagefunc(hit, 10, 20, math.random(20, 40), "Normal", RootPart, 0.2, 1)
  3020. end
  3021. )
  3022. for i = 0, 1, 0.2 do
  3023. swait()
  3024. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.7) * euler(0.2, 0, 0), 0.4)
  3025. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0.7), 0.4)
  3026. RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -1) * euler(0, 1.2, 0), 0.4)
  3027. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3028. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4), 0.4)
  3029. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3030. RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.2) * euler(0, 1.57, 0) * euler(0, -0.7, 0), 0.4)
  3031. LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.2) * euler(0, -1.57, 0) * euler(0, -0.7, 0), 0.4)
  3032. end
  3033. so("http://roblox.com/asset/?id=234365573", hitbox2, 1, 1)
  3034. hitconasdf = hitbox2.Touched:connect(function(hit)
  3035. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  3036. if hum12 and not hum12:IsDescendantOf(Character) then
  3037. so("http://roblox.com/asset/?id=220025675", hitbox2, 1, 3)
  3038. hitconasdf:disconnect()
  3039. end
  3040. end
  3041. )
  3042. for i = 0, 1, 0.3 do
  3043. swait()
  3044. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0, 0, 0), 0.4)
  3045. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  3046. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, 1) * euler(0, 1.6, 0), 0.4)
  3047. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3048. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  3049. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3050. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  3051. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  3052. end
  3053. for i = 0, 1, 0.2 do
  3054. swait()
  3055. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  3056. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, -0.5), 0.4)
  3057. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 0.8) * euler(0, 1.3, 0), 0.4)
  3058. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3059. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
  3060. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  3061. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0.5, 0), 0.4)
  3062. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.5, 0), 0.4)
  3063. end
  3064. attack = false
  3065. con1:disconnect()
  3066. hitconasdf:disconnect()
  3067. end
  3068.  
  3069. boom = function()
  3070. attack = true
  3071. for i = 0, 3, 0.2 do
  3072. swait()
  3073. Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2), 0.4)
  3074. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3075. RW.C0 = clerp(RW.C0, cf(1, 1, -0.5) * euler(math.rad(145), math.rad(180), math.rad(45)), 0.4)
  3076. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3077. LW.C0 = clerp(LW.C0, cf(-1, 1, -0.5) * euler(math.rad(145), math.rad(0), math.rad(45)), 0.4)
  3078. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  3079. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  3080. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.4)
  3081. end
  3082. so("http://roblox.com/asset/?id=231917813", hitbox2, 1, 1)
  3083. for i = 0, 1, 0.07 do
  3084. swait()
  3085. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * euler(0.12, 0, 0), 0.4)
  3086. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.1, 0, 0), 0.4)
  3087. RW.C0 = clerp(RW.C0, cf(1, 1, -0.5) * euler(math.rad(90), math.rad(180), math.rad(45)), 0.4)
  3088. LW.C0 = clerp(LW.C0, cf(-1, 1, -0.5) * euler(math.rad(90), math.rad(0), math.rad(45)), 0.4)
  3089. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(-1.2, 1.57, 0), 0.4)
  3090. LH.C0 = clerp(LH.C0, cf(-1.1, 0.4, -0.8) * euler(-0.05, -1.57, 0), 0.4)
  3091. end
  3092. MagicCircle(BrickColor.new("Magenta"), RootPart.CFrame + vt(0, -3.5, 0), 50, 0, 50, 0.5, 0, 0.5, 0.06)
  3093. attack = false
  3094. end
  3095.  
  3096. local CFrameFromTopBack = function(at, top, back)
  3097. local right = top:Cross(back)
  3098. 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)
  3099. end
  3100.  
  3101. Triangle = function(a, b, c)
  3102. local edg1 = c - a:Dot(b - a.unit)
  3103. local edg2 = a - b:Dot(c - b.unit)
  3104. local edg3 = b - c:Dot(a - c.unit)
  3105. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  3106. a = a
  3107. else
  3108. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  3109.  
  3110. if edg2 <= (c - b).magnitude and edg2 >= 0 then
  3111. a = b
  3112. else
  3113. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  3114.  
  3115. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  3116.  
  3117. if edg3 <= (a - c).magnitude and edg3 >= 0 then
  3118. a = c
  3119. else
  3120. assert(false, "unreachable")
  3121. end
  3122. end
  3123. end
  3124. local len1 = c - a:Dot(b - a.unit)
  3125. local len2 = (b - a).magnitude - len1
  3126. local width = (a + b - a.unit * len1) - c.magnitude
  3127. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  3128. local list = {}
  3129. if len1 > 0.01 then
  3130. local w1 = Instance.new("WedgePart", m)
  3131. game:GetService("Debris"):AddItem(w1, 5)
  3132. w1.Material = "SmoothPlastic"
  3133. w1.BrickColor = BrickColor.new("Magenta")
  3134. w1.Transparency = 0
  3135. w1.Reflectance = 0
  3136. w1.Material = "SmoothPlastic"
  3137. w1.CanCollide = false
  3138. NoOutline(w1)
  3139. local sz = Vector3.new(0.2, width, len1)
  3140. w1.Size = sz
  3141. local sp = Instance.new("SpecialMesh", w1)
  3142. sp.MeshType = "Wedge"
  3143. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  3144. w1:BreakJoints()
  3145. w1.Anchored = true
  3146. w1.Parent = workspace
  3147. w1.Transparency = 0.7
  3148. table.insert(Effects, {w1, "Disappear", 0.01})
  3149. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  3150. table.insert(list, w1)
  3151. end
  3152. do
  3153. if len2 > 0.01 then
  3154. local w2 = Instance.new("WedgePart", m)
  3155. game:GetService("Debris"):AddItem(w2, 5)
  3156. w2.Material = "SmoothPlastic"
  3157. w2.BrickColor = BrickColor.new("Magenta")
  3158. w2.Transparency = 0
  3159. w2.Reflectance = 0
  3160. w2.Material = "SmoothPlastic"
  3161. w2.CanCollide = false
  3162. NoOutline(w2)
  3163. local sz = Vector3.new(0.2, width, len2)
  3164. w2.Size = sz
  3165. local sp = Instance.new("SpecialMesh", w2)
  3166. sp.MeshType = "Wedge"
  3167. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  3168. w2:BreakJoints()
  3169. w2.Anchored = true
  3170. w2.Parent = workspace
  3171. w2.Transparency = 0.7
  3172. table.insert(Effects, {w2, "Disappear", 0.01})
  3173. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  3174. table.insert(list, w2)
  3175. end
  3176. do
  3177. return unpack(list)
  3178. end
  3179. end
  3180. end
  3181.  
  3182. NoOutline = function(Part)
  3183. Part.TopSurface = 10
  3184. end
  3185.  
  3186. mouse = Player:GetMouse()
  3187. ob1u = function()
  3188. end
  3189.  
  3190. ob1d = function()
  3191. if attack == false and attacktype == 1 then
  3192. attacktype = 2
  3193. attackone()
  3194. else
  3195. if attack == false and attacktype == 2 then
  3196. attacktype = 3
  3197. attacktwo()
  3198. else
  3199. if attack == false and attacktype == 3 then
  3200. attacktype = 4
  3201. attackthree()
  3202. else
  3203. if attack == false and attacktype == 4 then
  3204. attacktype = 1
  3205. attackfour()
  3206. end
  3207. end
  3208. end
  3209. end
  3210. end
  3211.  
  3212. key = function(k)
  3213. k = k:lower()
  3214. if k == "z" and attack == false and zenabled == true and mana >= 10 then
  3215. zenabled = false
  3216. mana = 100-1
  3217. coroutine.resume(coroutine.create(function()
  3218. for i = 1, 0, -0.01 do
  3219. swait()
  3220. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3221. end
  3222. zenabled = true
  3223. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  3224. end
  3225. ))
  3226. dash()
  3227. else
  3228. if k == "x" and attack == false and xenabled == true and mana >= 15 then
  3229. xenabled = false
  3230. mana = mana - 15
  3231. coroutine.resume(coroutine.create(function()
  3232. for i = 1, 0, -0.005 do
  3233. swait()
  3234. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3235. end
  3236. xenabled = true
  3237. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  3238. end
  3239. ))
  3240. wave()
  3241. else
  3242. if k == "c" and attack == false and cenabled == true and mana >= 25 then
  3243. cenabled = false
  3244. mana = 100 - 1
  3245. coroutine.resume(coroutine.create(function()
  3246. for i = 1, 0, -0.005 do
  3247. swait()
  3248. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3249. end
  3250. cenabled = true
  3251. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  3252. end
  3253. ))
  3254. slam()
  3255. else
  3256. if k == "v" and attack == false and venabled == true and mana >= 45 then
  3257. venabled = false
  3258. mana = 100 - 1
  3259. coroutine.resume(coroutine.create(function()
  3260. for i = 1, 0, -0.001 do
  3261. swait()
  3262. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3263. end
  3264. venabled = true
  3265. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  3266. end
  3267. ))
  3268. anger()
  3269. end
  3270. end
  3271. end
  3272. end
  3273. end
  3274.  
  3275. Bin = Instance.new("HopperBin", Player.Backpack)
  3276. ds = function(mouse)
  3277. end
  3278.  
  3279. s = function(mouse)
  3280. print("Selected")
  3281. mouse.Button1Down:connect(function()
  3282. ob1d(mouse)
  3283. end
  3284. )
  3285. mouse.Button1Up:connect(function()
  3286. ob1u(mouse)
  3287. end
  3288. )
  3289. mouse.KeyDown:connect(key)
  3290. end
  3291.  
  3292. Bin.Selected:connect(s)
  3293. Bin.Deselected:connect(ds)
  3294. local sine = 0
  3295. local change = 1
  3296. local val = 0
  3297. local mananum = 0
  3298. while 1 do
  3299. while 1 do
  3300. while 1 do
  3301. pwait()
  3302. sine = sine + change
  3303. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  3304. local velderp = RootPart.Velocity.y
  3305. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3306. if equipped == true or equipped == false then
  3307. if attack == false then
  3308. idle = idle + 1
  3309. else
  3310. idle = 0
  3311. end
  3312. if ((500 <= idle and attack ~= false) or 1 < RootPart.Velocity.y) and hitfloor == nil then
  3313. Anim = "Jump"
  3314. if attack == false then
  3315. Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.3)
  3316. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.3)
  3317. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  3318. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.5, 0, 0.5), 0.3)
  3319. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  3320. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.5, 0, -0.5), 0.3)
  3321. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  3322. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3323. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
  3324. end
  3325. else
  3326. if RootPart.Velocity.y < -1 and hitfloor == nil then
  3327. Anim = "Fall"
  3328. if attack == false then
  3329. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.3)
  3330. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.3)
  3331. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.3)
  3332. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.3, 0, 0.2), 0.3)
  3333. RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  3334. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.3, 0, -0.2), 0.3)
  3335. LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  3336. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3337. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3338. end
  3339. else
  3340. if torvel.x < 1 or 1 > torvel.z and hitfloor ~= nil then
  3341. Anim = "Idle"
  3342. if attack == false then
  3343. idleanim = 0.4
  3344. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5 - idleanim) * euler(0.4 + idleanim / 2, 0, -0.4), 0.3)
  3345. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * euler(-idleanim / 2, 0, 0.4), 0.3)
  3346. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(-25), math.rad(-35), math.rad(45)), 0.3)
  3347. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(math.rad(30), math.rad(-35), math.rad(-45)), 0.3)
  3348. RH.C0 = clerp(RH.C0, cf(1, -1, -idleanim) * euler(-0.2 - idleanim / 2, 1.57, 0), 0.3)
  3349. 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)
  3350. end
  3351. else
  3352. if 2 < torvel.x or 2 < torvel.z and torvel.x < 22 or torvel.z < 22 and hitfloor ~= nil then
  3353. Anim = "Walk"
  3354. if attack == false then
  3355. idleanim = -1
  3356. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0.4, 0, 0), 0.3)
  3357. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * euler(-0.2, 0, 0), 0.3)
  3358. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(0), math.rad(-35), math.rad(45)), 0.3)
  3359. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(math.rad(0), math.rad(35), math.rad(-45)), 0.3)
  3360. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.2, 1.57, 0), 0.3)
  3361. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0.5, -1.57, 0) * euler(0, 0, 0), 0.3)
  3362. end
  3363. else
  3364. if 22 <= torvel.x or 22<= torvel.z and hitfloor ~= nil then
  3365. Anim = "Run"
  3366. if attack == false then
  3367. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.4, 0, 0), 0.3)
  3368. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * euler(-0.2, 0, 0), 0.3)
  3369. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(math.rad(-35), math.rad(-35), math.rad(45)), 0.3)
  3370. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(math.rad(-35), math.rad(35), math.rad(-45)), 0.3)
  3371. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.2, 1.57, 0), 0.3)
  3372. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0.5, -1.57, 0) * euler(0, 0, 0), 0.3)
  3373. end
  3374. end
  3375. end
  3376. end
  3377. end
  3378. end
  3379. end
  3380. fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
  3381. fenbarmana4.Text = "[Corruption] <{[ " .. mana .. " ]}> [Corruption]"
  3382. if 100 <= mana then
  3383. mana = 100
  3384. -- DECOMPILER ERROR at PC9624: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3385.  
  3386. -- DECOMPILER ERROR at PC9624: LeaveBlock: unexpected jumping out IF_STMT
  3387.  
  3388. end
  3389. end
  3390. if mananum <= 8 then
  3391. mananum = mananum + 1
  3392. -- DECOMPILER ERROR at PC9630: LeaveBlock: unexpected jumping out IF_THEN_STMT
  3393.  
  3394. -- DECOMPILER ERROR at PC9630: LeaveBlock: unexpected jumping out IF_STMT
  3395.  
  3396. end
  3397. end
  3398. mananum = 100
  3399. mana = 100
  3400. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement