astronaut32

ace

Oct 15th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.63 KB | None | 0 0
  1.  
  2. --LW a nil value--
  3. Player = game:GetService("Players").LocalPlayer
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. Humanoid = Character.Humanoid
  10. Humanoid.WalkSpeed = 999
  11. m = Instance.new("Model", Character)
  12. LeftArm = Character["Left Arm"]
  13. LeftLeg = Character["Left Leg"]
  14. RightArm = Character["Right Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LS = Torso["Left Shoulder"]
  17. LH = Torso["Left Hip"]
  18. RS = Torso["Right Shoulder"]
  19. RH = Torso["Right Hip"]
  20. Face = Head.face
  21. Neck = Torso.Neck
  22. it = Instance.new
  23. attacktype = 1
  24. vt = Vector3.new
  25. cf = CFrame.new
  26. euler = CFrame.fromEulerAnglesXYZ
  27. angles = CFrame.Angles
  28. cloaked = false
  29. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  30. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  31. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  32. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  34. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  35. RootPart = Character.HumanoidRootPart
  36. RootJoint = RootPart.RootJoint
  37. RootCF = euler(-1.57, 0, 3.14)
  38. attack = false
  39. attackdebounce = false
  40. deb = false
  41. equipped = true
  42. hand = false
  43. MMouse = nil
  44. combo = 0
  45. mana = 0
  46. trispeed = 0.2
  47. attackmode = "none"
  48. local idle = 0
  49. local Anim = "Idle"
  50. local Effects = {}
  51. local gun = false
  52. local shoot = false
  53. player = nil
  54. mana = 0
  55. mouse = Player:GetMouse()
  56. RSH = nil
  57. RW = Instance.new("Weld")
  58. RW.Name = "Right Shoulder"
  59. LW.Name = "Left Shoulder"
  60. LH = Torso["Left Hip"]
  61. RH = Torso["Right Hip"]
  62. TorsoColor = Torso.BrickColor
  63. NoOutline = function(Part)
  64. Part.TopSurface = 10
  65. end
  66. player = Player
  67. ch = Character
  68. RSH = ch.Torso["Right Shoulder"]
  69. LSH = ch.Torso["Left Shoulder"]
  70. RSH.Parent = nil
  71. LSH.Parent = nil
  72. RW.Name = "Right Shoulder"
  73. RW.Part0 = ch.Torso
  74. RW.C0 = cf(1.5, 0.5, 0)
  75. RW.C1 = cf(0, 0.5, 0)
  76. RW.Part1 = ch["Right Arm"]
  77. RW.Parent = ch.Torso
  78. LW.Name = "Left Shoulder"
  79. LW.Part0 = ch.Torso
  80. LW.C0 = cf(-1.5, 0.5, 0)
  81. LW.C1 = cf(0, 0.5, 0)
  82. LW.Part1 = ch["Left Arm"]
  83. LW.Parent = ch.Torso
  84. Player = game:GetService("Players").LocalPlayer
  85. Character = Player.Character
  86. Mouse = Player:GetMouse()
  87. m = Instance.new("Model", Character)
  88. local weldBetween = function(a, b)
  89. local weldd = Instance.new("ManualWeld")
  90. weldd.Part0 = a
  91. weldd.Part1 = b
  92. weldd.C0 = CFrame.new()
  93. weldd.C1 = b.CFrame:inverse() * a.CFrame
  94. weldd.Parent = a
  95. return weldd
  96. end
  97. swait = function(num)
  98. if num == 0 or num == nil then
  99. game:service("RunService").Stepped:wait(0)
  100. else
  101. for i = 0, num do
  102. game:service("RunService").Stepped:wait(0)
  103. end
  104. end
  105. end
  106. nooutline = function(part)
  107. part.TopSurface = 10
  108. end
  109. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  110. local fp = it("Part")
  111. fp.formFactor = formfactor
  112. fp.Parent = parent
  113. fp.Reflectance = reflectance
  114. fp.Transparency = transparency
  115. fp.CanCollide = false
  116. fp.Locked = true
  117. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  118. fp.Name = name
  119. fp.Size = size
  120. fp.Position = Character.Torso.Position
  121. nooutline(fp)
  122. fp.Material = material
  123. fp:BreakJoints()
  124. return fp
  125. end
  126. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  127. local mesh = it(Mesh)
  128. mesh.Parent = part
  129. if Mesh == "SpecialMesh" then
  130. mesh.MeshType = meshtype
  131. mesh.MeshId = meshid
  132. end
  133. mesh.Offset = offset
  134. mesh.Scale = scale
  135. return mesh
  136. end
  137. weld = function(parent, part0, part1, c0, c1)
  138. local weld = it("Weld")
  139. weld.Parent = parent
  140. weld.Part0 = part0
  141. weld.Part1 = part1
  142. weld.C0 = c0
  143. weld.C1 = c1
  144. return weld
  145. end
  146. local CFrameFromTopBack = function(at, top, back)
  147. local right = top:Cross(back)
  148. 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)
  149. end
  150. Triangle = function(a, b, c)
  151. local edg1 = c - a:Dot(b - a.unit)
  152. local edg2 = a - b:Dot(c - b.unit)
  153. local edg3 = b - c:Dot(a - c.unit)
  154. if edg1 <= b - a.magnitude and edg1 >= 0 then
  155. a = a
  156. else
  157. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  158.  
  159. if edg2 <= c - b.magnitude and edg2 >= 0 then
  160. a = b
  161. else
  162. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  163.  
  164. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  165.  
  166. if edg3 <= a - c.magnitude and edg3 >= 0 then
  167. a = c
  168. else
  169. assert(false, "unreachable")
  170. end
  171. end
  172. end
  173. local len1 = c - a:Dot(b - a.unit)
  174. local len2 = b - a.magnitude - len1
  175. local width = a + b - a.unit * len1 - c.magnitude
  176. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  177. local list = {}
  178. local TrailColor = "Dark grey"
  179. if len1 > 0.01 then
  180. local w1 = Instance.new("WedgePart", m)
  181. game:GetService("Debris"):AddItem(w1, 5)
  182. w1.Material = "SmoothPlastic"
  183. w1.FormFactor = "Custom"
  184. w1.BrickColor = BrickColor.new(TrailColor)
  185. w1.Transparency = 0
  186. w1.Reflectance = 0
  187. w1.Material = "SmoothPlastic"
  188. w1.CanCollide = false
  189. NoOutline(w1)
  190. local sz = Vector3.new(0.2, width, len1)
  191. w1.Size = sz
  192. local sp = Instance.new("SpecialMesh", w1)
  193. sp.MeshType = "Wedge"
  194. sp.Scale = Vector3.new(0, 1, 2) * sz / w1.Size
  195. w1:BreakJoints()
  196. w1.Anchored = true
  197. w1.Parent = workspace
  198. w1.Transparency = 0.7
  199. table.insert(Effects, {w1, "Disappear", 0.01})
  200. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  201. table.insert(list, w1)
  202. end
  203. do
  204. if len2 > 0.01 then
  205. local w2 = Instance.new("WedgePart", m)
  206. game:GetService("Debris"):AddItem(w2, 5)
  207. w2.Material = "SmoothPlastic"
  208. w2.FormFactor = "Custom"
  209. w2.BrickColor = BrickColor.new(TrailColor)
  210. w2.Transparency = 0
  211. w2.Reflectance = 0
  212. w2.Material = "SmoothPlastic"
  213. w2.CanCollide = false
  214. NoOutline(w2)
  215. local sz = Vector3.new(0.2, width, len2)
  216. w2.Size = sz
  217. local sp = Instance.new("SpecialMesh", w2)
  218. sp.MeshType = "Wedge"
  219. sp.Scale = Vector3.new(0, 1, 2) * sz / w2.Size
  220. w2:BreakJoints()
  221. w2.Anchored = true
  222. w2.Parent = workspace
  223. w2.Transparency = 0.7
  224. table.insert(Effects, {w2, "Disappear", 0.01})
  225. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  226. table.insert(list, w2)
  227. end
  228. do
  229. return unpack(list)
  230. end
  231. end
  232. end
  233. so = function(id, par, vol, pit)
  234. coroutine.resume(coroutine.create(function()
  235. local sou = Instance.new("Sound", par or workspace)
  236. sou.Volume = vol
  237. sou.Pitch = pit or 1
  238. sou.SoundId = id
  239. swait()
  240. sou:play()
  241. game:GetService("Debris"):AddItem(sou, 6)
  242. end))
  243. end
  244. clerp = function(a, b, t)
  245. local qa = {QuaternionFromCFrame(a)}
  246. local qb = {QuaternionFromCFrame(b)}
  247. local ax, ay, az = a.x, a.y, a.z
  248. local bx, by, bz = b.x, b.y, b.z
  249. local _t = 1 - t
  250. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  251. end
  252. QuaternionFromCFrame = function(cf)
  253. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  254. local trace = m00 + m11 + m22
  255. if trace > 0 then
  256. local s = math.sqrt(1 + trace)
  257. local recip = 0.5 / s
  258. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  259. else
  260. do
  261. local i = 0
  262. if m00 < m11 then
  263. i = 1
  264. end
  265. if i == 0 and m00 or m11 < m22 then
  266. i = 2
  267. end
  268. if i == 0 then
  269. local s = math.sqrt(m00 - m11 - m22 + 1)
  270. local recip = 0.5 / s
  271. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  272. else
  273. do
  274. if i == 1 then
  275. local s = math.sqrt(m11 - m22 - m00 + 1)
  276. local recip = 0.5 / s
  277. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  278. else
  279. do
  280. if i == 2 then
  281. local s = math.sqrt(m22 - m00 - m11 + 1)
  282. local recip = 0.5 / s
  283. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  284. end
  285. end
  286. end
  287. end
  288. end
  289. end
  290. end
  291. end
  292. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  293. local xs, ys, zs = x + x, y + y, z + z
  294. local wx, wy, wz = w * xs, w * ys, w * zs
  295. local xx = x * xs
  296. local xy = x * ys
  297. local xz = x * zs
  298. local yy = y * ys
  299. local yz = y * zs
  300. local zz = z * zs
  301. 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))
  302. end
  303. QuaternionSlerp = function(a, b, t)
  304. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  305. local startInterp, finishInterp = nil, nil
  306. if cosTheta >= 0.0001 then
  307. if 1 - cosTheta > 0.0001 then
  308. local theta = math.acos(cosTheta)
  309. local invSinTheta = 1 / math.sin(theta)
  310. startInterp = math.sin((1 - t) * theta) * invSinTheta
  311. finishInterp = math.sin(t * theta) * invSinTheta
  312. else
  313. do
  314. startInterp = 1 - t
  315. finishInterp = t
  316. if 1 + cosTheta > 0.0001 then
  317. local theta = math.acos(-cosTheta)
  318. local invSinTheta = 1 / math.sin(theta)
  319. startInterp = math.sin((t - 1) * theta) * invSinTheta
  320. finishInterp = math.sin(t * theta) * invSinTheta
  321. else
  322. do
  323. startInterp = t - 1
  324. finishInterp = t
  325. 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
  326. end
  327. end
  328. end
  329. end
  330. end
  331. end
  332. rayCast = function(Pos, Dir, Max, Ignore)
  333. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  334. end
  335. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  336. if hit.Parent == nil then
  337. return
  338. end
  339. h = hit.Parent:FindFirstChild("Humanoid")
  340. for _,v in pairs(hit.Parent:children()) do
  341. if v:IsA("Humanoid") then
  342. h = v
  343. end
  344. end
  345. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  346. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  347. end
  348. if hit.Parent.className == "Hat" then
  349. hit = hit.Parent.Parent:findFirstChild("Head")
  350. end
  351. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  352. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  353. return
  354. end
  355. c = Instance.new("ObjectValue")
  356. c.Name = "creator"
  357. c.Value = game:service("Players").LocalPlayer
  358. c.Parent = h
  359. game:GetService("Debris"):AddItem(c, 0.5)
  360. Damage = math.random(minim, maxim)
  361. blocked = false
  362. block = hit.Parent:findFirstChild("Block")
  363. if block ~= nil then
  364. print(block.className)
  365. if block.className == "NumberValue" and block.Value > 0 then
  366. blocked = true
  367. if decreaseblock == nil then
  368. block.Value = block.Value - 1
  369. end
  370. end
  371. if block.className == "IntValue" and block.Value > 0 then
  372. blocked = true
  373. if decreaseblock ~= nil then
  374. block.Value = block.Value - 1
  375. end
  376. end
  377. end
  378. if blocked == false then
  379. h.Health = h.Health - Damage
  380. showDamage(hit.Parent, Damage, 0.5, BrickColor.new("New Yeller"))
  381. else
  382. h.Health = h.Health - Damage / 2
  383. showDamage(hit.Parent, Damage / 2, 0.5, BrickColor.new("Bright blue"))
  384. end
  385. if Type == "Knockdown" then
  386. hum = hit.Parent.Humanoid
  387. hum.PlatformStand = true
  388. coroutine.resume(coroutine.create(function(HHumanoid)
  389. swait(1)
  390. HHumanoid.PlatformStand = false
  391. end), hum)
  392. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  393. local bodvol = Instance.new("BodyVelocity")
  394. bodvol.velocity = angle * knockback
  395. bodvol.P = 5000
  396. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  397. bodvol.Parent = hit
  398. rl = Instance.new("BodyAngularVelocity")
  399. rl.P = 3000
  400. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  401. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  402. rl.Parent = hit
  403. game:GetService("Debris"):AddItem(bodvol, 0.5)
  404. game:GetService("Debris"):AddItem(rl, 0.5)
  405. else
  406. do
  407. if Type == "Normal" then
  408. vp = Instance.new("BodyVelocity")
  409. vp.P = 500
  410. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  411. if KnockbackType == 1 then
  412. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  413. else
  414. if KnockbackType == 2 then
  415. vp.velocity = Property.CFrame.lookVector * knockback
  416. end
  417. end
  418. if knockback > 0 then
  419. vp.Parent = hit.Parent.Torso
  420. end
  421. game:GetService("Debris"):AddItem(vp, 0.5)
  422. else
  423. if Type == "Up" then
  424. local bodyVelocity = Instance.new("BodyVelocity")
  425. bodyVelocity.velocity = vt(0, 60, 0)
  426. bodyVelocity.P = 5000
  427. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  428. bodyVelocity.Parent = hit
  429. game:GetService("Debris"):AddItem(bodyVelocity, 2)
  430. rl = Instance.new("BodyAngularVelocity")
  431. rl.P = 3000
  432. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  433. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  434. rl.Parent = hit
  435. game:GetService("Debris"):AddItem(rl, 0.5)
  436. else
  437. do
  438. if Type == "Snare" then
  439. bp = Instance.new("BodyPosition")
  440. bp.P = 2000
  441. bp.D = 100
  442. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  443. bp.position = hit.Parent.Torso.Position
  444. bp.Parent = hit.Parent.Torso
  445. game:GetService("Debris"):AddItem(bp, 2)
  446. else
  447. if Type == "Target" and Targetting == false then
  448. ZTarget = hit.Parent.Torso
  449. coroutine.resume(coroutine.create(function(Part)
  450. swait(5)
  451. end), ZTarget)
  452. TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  453. targetgui = Instance.new("BillboardGui")
  454. targetgui.Parent = ZTarget
  455. targetgui.Size = UDim2.new(10, 100, 10, 100)
  456. targ = Instance.new("ImageLabel")
  457. targ.Parent = targetgui
  458. targ.BackgroundTransparency = 1
  459. targ.Image = "rbxassetid://4834067"
  460. targ.Size = UDim2.new(1, 0, 1, 0)
  461. cam.CameraType = "Scriptable"
  462. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  463. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  464. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  465. Targetting = true
  466. RocketTarget = ZTarget
  467. for i = 1, Property do
  468. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  469. swait()
  470. end
  471. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  472. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  473. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  474. end
  475. Targetting = false
  476. RocketTarget = nil
  477. targetgui.Parent = nil
  478. cam.CameraType = "Custom"
  479. end
  480. end
  481. debounce = Instance.new("BoolValue")
  482. debounce.Name = "DebounceHit"
  483. debounce.Parent = hit.Parent
  484. debounce.Value = true
  485. game:GetService("Debris"):AddItem(debounce, Delay)
  486. c = Instance.new("ObjectValue")
  487. c.Name = "creator"
  488. c.Value = Player
  489. c.Parent = h
  490. game:GetService("Debris"):AddItem(c, 0.5)
  491. CRIT = false
  492. hitDeb = true
  493. AttackPos = 6
  494. end
  495. end
  496. end
  497. end
  498. end
  499. end
  500. end
  501. showDamage = function(Char, Dealt, du, Color)
  502. m = Instance.new("Model")
  503. m.Name = tostring(Dealt)
  504. h = Instance.new("Humanoid")
  505. h.Health = 0
  506. h.MaxHealth = 0
  507. h.Parent = m
  508. c = Instance.new("Part")
  509. c.Transparency = 0
  510. c.BrickColor = Color
  511. c.Name = "Head"
  512. c.TopSurface = 0
  513. c.BottomSurface = 0
  514. c.formFactor = "Plate"
  515. c.Size = Vector3.new(1, 0.4, 2)
  516. ms = Instance.new("CylinderMesh")
  517. ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  518. if CRIT == true then
  519. ms.Scale = Vector3.new(1, 1.25, 2)
  520. end
  521. ms.Parent = c
  522. c.Reflectance = 0
  523. Instance.new("BodyGyro").Parent = c
  524. c.Parent = m
  525. if Char:findFirstChild("Head") ~= nil then
  526. c.CFrame = CFrame.new(Char.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  527. else
  528. if Char.Parent:findFirstChild("Head") ~= nil then
  529. c.CFrame = CFrame.new(Char.Parent.Head.CFrame.p + Vector3.new(0, 1.5, 0))
  530. end
  531. end
  532. f = Instance.new("BodyPosition")
  533. f.P = 2000
  534. f.D = 100
  535. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  536. f.position = c.Position + Vector3.new(0, 3, 0)
  537. f.Parent = c
  538. game:GetService("Debris"):AddItem(m, 0.5 + du)
  539. c.CanCollide = false
  540. m.Parent = workspace
  541. c.CanCollide = false
  542. end
  543. HandleA = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "HandleA", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  544. HandleAweld = weld(m, Character["Right Arm"], HandleA, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.14440918e-05, 0, 0.800000191, -0.999999821, -2.98023188e-08, 0, 0, 0, 1, -2.98023224e-08, 0.999999702, 0))
  545. mesh("SpecialMesh", HandleA, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.22000003, 1.11999989, 1.48000002))
  546. MagicPrtA = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "MagicPrtA", Vector3.new(0.400000066, 0.200000003, 0.400000006))
  547. MagicPrtAweld = weld(m, HandleA, MagicPrtA, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.100000858, 3.81469727e-06, 0.999999642, -2.98023064e-08, 2.98023188e-08, 2.98023064e-08, -4.47034836e-08, -0.999999285, 2.98023188e-08, 0.999999404, -2.98023153e-08))
  548. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  549. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599983215, -1.0995748, 0.200019836, 0.999999821, -5.43913802e-06, 3.44865896e-08, -3.44864155e-08, 3.01454435e-08, 0.999999344, -5.43913711e-06, -1, 3.01452339e-08))
  550. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  551. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  552. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599998951, 0, -0.600002289, -2.98023224e-08, 0, 0.999999821, 0, 1, 0, -0.999999821, 0, -2.98023224e-08))
  553. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.539999962, 0.539999962, 1.48000002))
  554. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.20000005, 1))
  555. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.600006104, -0.599998951, 0, -0.999999821, 0, -2.98023224e-08, -2.98023188e-08, 0, 0.999999702, 0, 1, 0))
  556. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  557. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599983215, -1.29950213, 0.400028229, 0.999999523, -6.69091787e-06, 3.448665e-08, -3.44863018e-08, 3.01455501e-08, 0.999993145, -6.69091651e-06, -0.999999702, 3.0145106e-08))
  558. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  559. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  560. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599973679, 0.100389957, -2.67028809e-05, -0.999999821, 7.28699251e-06, -2.98029086e-08, -2.98028944e-08, 7.16782753e-13, 0.999999344, 7.28699115e-06, 1, -4.99611745e-13))
  561. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  562. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599981308, 0.0995743275, 0.19997406, 0.999999344, 5.36441803e-06, -3.42694264e-08, -4.46758364e-09, 5.93965268e-08, -0.999999225, -5.54323105e-06, 0.999999881, 5.9397351e-08))
  563. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  564. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  565. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599973679, -0.100358725, 0.399974823, 0.999999464, -7.28698978e-06, -2.98017078e-08, -2.98017504e-08, -2.82443882e-13, -0.999998987, 7.28699115e-06, 1, -4.99611745e-13))
  566. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  567. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  568. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599981308, 0.0995743275, 0.200027466, -0.999999523, -5.43913802e-06, -8.94069458e-08, 5.96046235e-08, 3.01454435e-08, -0.999999225, 5.4391362e-06, -1, -3.01443492e-08))
  569. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  570. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  571. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599994659, -1.29949927, 0.399971008, -0.999999821, 6.75052434e-06, -2.98028091e-08, -2.98025888e-08, 1.03027981e-12, 0.99999243, 6.75052297e-06, 1, -8.29105447e-13))
  572. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  573. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  574. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599975586, -0.100389719, 0.400028229, -0.999999225, 7.25718564e-06, -8.9407493e-08, 8.9407493e-08, -1.14667997e-12, -0.999998987, -7.21248216e-06, -0.999999583, 5.01831974e-13))
  575. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  576. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.799999952, 0.200000003))
  577. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599983215, -0.599738359, -0.200023651, -0.999999821, 6.83996359e-06, -2.98027985e-08, -2.98027842e-08, 7.42544481e-13, 0.999999344, 6.83996223e-06, 1, -5.38696854e-13))
  578. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  579. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599979401, -1.0995748, 0.199981689, -0.999999642, 5.46872616e-06, -2.51180481e-08, -2.51182009e-08, -3.01454435e-08, 0.999999344, 5.46872525e-06, 0.999999821, 3.01455607e-08))
  580. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  581. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.799999952, 0.200000003))
  582. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599994659, -0.599813223, 0.199977875, -0.999999821, 4.69404995e-06, -2.98026279e-08, -2.98026137e-08, 5.29311675e-13, 0.999999344, 4.69404904e-06, 1, -3.89419237e-13))
  583. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.400000006, 0.220000014, 0.200000003))
  584. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599994659, 0.600000381, 0, 2.98012424e-08, -4.69401448e-06, -0.999994099, 0.999996483, -4.54851326e-13, 2.98017682e-08, 2.14393451e-11, -0.999997139, 4.69402175e-06))
  585. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  586. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  587. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599973679, -1.29961014, -2.67028809e-05, -0.999999821, 7.28699251e-06, -2.98029086e-08, -2.98028944e-08, 7.16782753e-13, 0.999999344, 7.28699115e-06, 1, -4.99611745e-13))
  588. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  589. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599990845, -0.0995154381, -3.05175781e-05, -0.999999821, 6.75052434e-06, -2.9802866e-08, -2.98028517e-08, 6.63480122e-13, 0.999999344, 6.75052297e-06, 1, -4.62297626e-13))
  590. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  591. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, -1.20000076, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  592. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.22000003, 1.11999989, 1.48000002))
  593. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  594. Partweld = weld(m, HandleA, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599990845, -1.09951615, -3.05175781e-05, -0.999999821, 6.75052434e-06, -2.9802866e-08, -2.98028517e-08, 6.63480122e-13, 0.999999344, 6.75052297e-06, 1, -4.62297626e-13))
  595. HandleB = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "HandleB", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  596. HandleBweld = weld(m, Character["Left Arm"], HandleB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00098991394, 3.05175781e-05, 0.800000191, 0.999999464, 8.36810372e-08, -4.47034836e-08, -5.96046448e-08, 1.96981595e-08, -0.999999702, -8.36810443e-08, 0.999999702, 1.96981613e-08))
  597. mesh("SpecialMesh", HandleB, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.22000003, 1.11999989, 1.48000002))
  598. MagicPrtB = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "MagicPrtB", Vector3.new(0.400000066, 0.200000003, 0.400000006))
  599. MagicPrtBweld = weld(m, HandleB, MagicPrtB, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00100708008, -0.100000858, 3.43322754e-05, -0.999999285, 8.94069316e-08, 8.36810301e-08, -8.36810017e-08, 2.50053187e-08, -0.999999285, -7.45057633e-08, -0.999999106, -1.01041664e-08))
  600. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  601. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, -1.20000029, 0.999998927, -1.49011434e-08, 2.75411323e-14, -1.49011434e-08, 0.999999404, 7.10542736e-15, 2.75411323e-14, 7.10542736e-15, 0.999999642))
  602. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.22000003, 1.11999989, 1.48000002))
  603. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  604. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599981308, -1.09957433, 0.199989319, -0.999999285, 5.52832898e-06, -2.51180712e-08, -2.51181635e-08, -3.01454222e-08, 0.999999344, 5.51342691e-06, 0.999999523, 3.01455501e-08))
  605. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  606. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 1.20000005, 1))
  607. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.600004196, -0.599998713, 0, -0.999999166, -3.55271368e-15, -2.98023508e-08, -2.98022798e-08, 8.8817842e-15, 0.999999702, -1.49011434e-08, 0.999999404, 7.10542736e-15))
  608. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.799999952, 0.200000003))
  609. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.600004196, -0.599812984, 0.199977875, -0.999999344, 4.69386441e-06, -2.9802635e-08, -2.98025782e-08, 5.54223334e-13, 0.999999344, 4.67896234e-06, 0.999999583, -3.92574862e-13))
  610. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  611. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599975586, 0.0995745659, 0.19997406, 0.999998689, 5.24520738e-06, -3.42694086e-08, -4.46761206e-09, 5.93964842e-08, -0.999999225, -5.52832762e-06, 0.999999523, 5.9397351e-08))
  612. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  613. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  614. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599988937, -1.29949903, 0.399974823, -0.999999166, 6.76512536e-06, -2.98028446e-08, -2.98025498e-08, 1.02673425e-12, 0.99999243, 6.75022238e-06, 0.999999404, -8.2600593e-13))
  615. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  616. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  617. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599973679, -0.100358725, 0.399974823, 0.999998868, -7.40587484e-06, -2.98016953e-08, -2.98017575e-08, -2.93098879e-13, -0.999998987, 7.28666373e-06, 0.999999344, -4.92050845e-13))
  618. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  619. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  620. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599992752, -0.0995156765, -3.43322754e-05, -0.999999166, 6.76512536e-06, -2.98029015e-08, -2.98027913e-08, 6.73239242e-13, 0.999999344, 6.75022238e-06, 0.999999404, -4.56523708e-13))
  621. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  622. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599983215, -1.2996099, -2.67028809e-05, -0.999999106, 7.30156671e-06, -2.98029335e-08, -2.98028553e-08, 7.35411732e-13, 0.999999344, 7.28666373e-06, 0.999999344, -4.92050845e-13))
  623. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  624. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599988937, -1.09957433, 0.200023651, 0.999999285, -5.52832898e-06, 3.44866038e-08, -3.44863622e-08, 3.01454222e-08, 0.999999344, -5.51342691e-06, -0.999999523, 3.0145241e-08))
  625. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  626. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  627. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599998713, 0, -0.600000381, -2.98022726e-08, 1.77635684e-14, 0.999999821, -1.49011434e-08, 0.999999404, 7.10542736e-15, -0.999999166, -3.55271368e-15, -2.98023508e-08))
  628. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.539999962, 0.539999962, 1.48000002))
  629. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  630. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599985123, -1.29950166, 0.400032043, 0.999998868, -6.85453233e-06, 3.44866748e-08, -3.44862556e-08, 3.01455572e-08, 0.999993145, -6.83962935e-06, -0.999999106, 3.01451237e-08))
  631. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  632. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  633. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599977493, -0.100389481, 0.400024414, -0.999998808, 7.33136903e-06, -8.94075214e-08, 8.94074077e-08, -1.15818466e-12, -0.999998987, -7.28666373e-06, -0.999999046, 5.22248911e-13))
  634. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  635. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.799999952, 0.200000003))
  636. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599985123, -0.599738121, -0.200023651, -0.999999106, 6.95884e-06, -2.98028127e-08, -2.98027487e-08, 7.47846229e-13, 0.999999344, 6.94393748e-06, 0.999999344, -5.43565193e-13))
  637. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  638. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599985123, 0.0995743275, 0.200031281, -0.999998987, -5.30481157e-06, -8.94069601e-08, 5.9604556e-08, 3.01454079e-08, -0.999999225, 5.4985253e-06, -0.999999583, -3.01443599e-08))
  639. mesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  640. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.400000006, 0.220000014, 0.200000003))
  641. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.599994421, 0.599998474, -3.81469727e-06, 2.98012459e-08, -4.69401175e-06, -0.999994099, 0.999996006, -1.19209062e-07, 2.98017913e-08, -2.98018108e-08, -0.999996841, 4.69402084e-06))
  642. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  643. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.220000014, 0.200000003, 0.200000003))
  644. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599990845, -1.09951591, -3.43322754e-05, -0.999999166, 6.76512536e-06, -2.98029015e-08, -2.98027913e-08, 6.73239242e-13, 0.999999344, 6.75022238e-06, 0.999999404, -4.56523708e-13))
  645. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  646. Partweld = weld(m, HandleB, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.599983215, 0.100389719, -2.67028809e-05, -0.999999106, 7.30156671e-06, -2.98029335e-08, -2.98028553e-08, 7.35411732e-13, 0.999999344, 7.28666373e-06, 0.999999344, -4.92050845e-13))
  647. local PE1 = Instance.new("ParticleEmitter", MagicPrtA)
  648. PE1.Color = ColorSequence.new(Color3.new(255, 0, 0))
  649. PE1.LightEmission = NumberSequence.new(0.2)
  650. PE1.Size = NumberSequence.new(1.1)
  651. PE1.Texture = "http://www.roblox.com/asset/?id=258908759"
  652. PE1.Lifetime = NumberRange.new(0.5)
  653. PE1.Rate = 10
  654. PE1.Transparency = NumberSequence.new(0.2)
  655. PE1.LightEmission = NumberSequence.new(0.2)
  656. PE1.Rotation = NumberRange.new(100)
  657. PE1.Speed = NumberRange.new(0)
  658. PE1.RotSpeed = NumberRange.new(100)
  659. local PE2 = Instance.new("ParticleEmitter", MagicPrtB)
  660. PE2.Color = ColorSequence.new(Color3.new(255, 0, 0))
  661. PE2.LightEmission = NumberSequence.new(0.2)
  662. PE2.Size = NumberSequence.new(1.1)
  663. PE2.Texture = "http://www.roblox.com/asset/?id=258908759"
  664. PE2.Lifetime = NumberRange.new(0.5)
  665. PE2.Rate = 10
  666. PE2.Transparency = NumberSequence.new(0.2)
  667. PE2.LightEmission = NumberSequence.new(0.2)
  668. PE2.Rotation = NumberRange.new(100)
  669. PE2.Speed = NumberRange.new(0)
  670. PE2.RotSpeed = NumberRange.new(100)
  671. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  672. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  673. prt.Anchored = true
  674. prt.CFrame = cframe
  675. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  676. game:GetService("Debris"):AddItem(prt, 2)
  677. coroutine.resume(coroutine.create(function(Part, Mesh)
  678. for i = 0, 1, delay do
  679. swait()
  680. Part.CFrame = Part.CFrame
  681. Part.Transparency = i
  682. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  683. end
  684. Part.Parent = nil
  685. end), prt, msh)
  686. end
  687. MagicCircle(BrickColor.new("Really red"), Torso.CFrame, 1, 1, 1, 5, 5, 5, 0.01)
  688. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  689. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  690. prt.Anchored = true
  691. prt.CFrame = cframe
  692. local PE1 = Instance.new("ParticleEmitter", prt)
  693. PE1.Color = ColorSequence.new(Color3.new(255, 0, 0))
  694. PE1.LightEmission = NumberSequence.new(0.2)
  695. PE1.Size = NumberSequence.new(2)
  696. PE1.Texture = "http://www.roblox.com/asset/?id=258908759"
  697. PE1.Lifetime = NumberRange.new(5)
  698. PE1.Rate = 10
  699. PE1.Transparency = NumberSequence.new(0.2)
  700. PE1.LightEmission = NumberSequence.new(0.2)
  701. PE1.Speed = NumberRange.new(0)
  702. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  703. game:GetService("Debris"):AddItem(prt, 2)
  704. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  705. for i = 0, 1, delay do
  706. swait()
  707. Part.Transparency = i
  708. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  709. end
  710. Part.Parent = nil
  711. end), prt, msh, (math.random(0, 2) + math.random()) / 5)
  712. end
  713. MMMAGIC = function(part, x1, y1, z1, x2, y2, z2, color)
  714. local msh1 = it("BlockMesh")
  715. msh1.Scale = vt(0.5, 0.5, 0.5)
  716. local S = it("Part")
  717. S.Material = "SmoothPlastic"
  718. S.Name = "Effect"
  719. S.formFactor = 0
  720. S.Size = vt(x1, y1, z1)
  721. S.BrickColor = color
  722. S.Reflectance = 0
  723. S.TopSurface = 0
  724. S.BottomSurface = 0
  725. S.Transparency = 0
  726. S.Anchored = true
  727. S.CanCollide = false
  728. S.CFrame = part.CFrame * cf(x2, y2, z2) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  729. S.Parent = workspace
  730. msh1.Parent = S
  731. coroutine.resume(coroutine.create(function(Part, CF)
  732. for i = 1, 9 do
  733. Part.Mesh.Scale = Part.Mesh.Scale + vt(0.1, 0.1, 0.1)
  734. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  735. Part.Transparency = i * 0.1
  736. wait()
  737. end
  738. Part.Parent = nil
  739. end), S, S.CFrame)
  740. end
  741. attackone = function()
  742. attack = true
  743. for i = 0, 1, 0.1 do
  744. swait()
  745. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.8)
  746. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(50)), 0.8)
  747. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.8)
  748. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.5) * angles(math.rad(70), math.rad(0), math.rad(50)), 0.8)
  749. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(100), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  750. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  751. end
  752. for i = 0, 1, 0.1 do
  753. swait()
  754. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.8)
  755. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  756. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.8)
  757. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.8)
  758. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  759. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-100), math.rad(10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  760. end
  761. for i = 0, 22 do
  762. end
  763. for i = 0, 1 do
  764. MagicCircle(BrickColor.new("Really red"), MagicPrtA.CFrame, 0.1, 0.1, 0.1, 0.8, 0.8, 0.8, 0.06)
  765. MagicRing(BrickColor.new("Really red"), MagicPrtA.CFrame, 0.1, 0.1, 0.1, 1, 1, 1, 0.06)
  766. MMMAGIC(MagicPrtA, 2, 2, 2, 0, 0, 0, BrickColor.new("Really red"))
  767. end
  768. for i = 0, 1, 0.2 do
  769. swait()
  770. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.8)
  771. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  772. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.8)
  773. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.8)
  774. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  775. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-100), math.rad(10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  776. end
  777. attack = false
  778. end
  779. attacktwo = function()
  780. attack = true
  781. for i = 0, 1, 0.1 do
  782. swait()
  783. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.8)
  784. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(-80)), 0.8)
  785. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.8)
  786. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-30)), 0.8)
  787. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(70), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  788. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-100), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  789. end
  790. for i = 0, 1, 0.1 do
  791. swait()
  792. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.8)
  793. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(50)), 0.8)
  794. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.8)
  795. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.8)
  796. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(100), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  797. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  798. end
  799. for i = 0, 22 do
  800. end
  801. for i = 0, 1 do
  802. MagicCircle(BrickColor.new("Really red"), MagicPrtB.CFrame, 0.1, 0.1, 0.1, 0.8, 0.8, 0.8, 0.06)
  803. MagicRing(BrickColor.new("Really red"), MagicPrtB.CFrame, 0.1, 0.1, 0.1, 1, 1, 1, 0.06)
  804. MMMAGIC(MagicPrtB, 2, 2, 2, 0, 0, 0, BrickColor.new("Really red"))
  805. end
  806. for i = 0, 1, 0.2 do
  807. swait()
  808. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.8)
  809. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(50)), 0.8)
  810. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.8)
  811. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.8)
  812. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(100), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  813. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  814. end
  815. attack = false
  816. end
  817. attackthree = function()
  818. attack = true
  819. for i = 0, 1, 0.1 do
  820. swait()
  821. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  822. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(0)), 0.8)
  823. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.8)
  824. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.8)
  825. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  826. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  827. end
  828. for i = 0, 1, 0.1 do
  829. swait()
  830. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.8)
  831. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.8)
  832. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.8)
  833. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.8)
  834. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  835. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-80), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  836. end
  837. for i = 0, 22 do
  838. end
  839. for i = 0, 1 do
  840. MagicCircle(BrickColor.new("Really red"), Torso.CFrame * cf(0, 0, -5), 0.5, 0.5, 0.5, 2, 2, 2, 0.06)
  841. MagicRing(BrickColor.new("Really red"), Torso.CFrame * cf(0, 0, -5), 0.5, 0.5, 0.5, 2, 2, 2, 0.06)
  842. end
  843. for i = 0, 1, 0.2 do
  844. swait()
  845. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.8)
  846. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.8)
  847. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.8)
  848. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.8)
  849. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  850. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-80), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  851. end
  852. attack = false
  853. end
  854. mouse.Button1Down:connect(function()
  855. if attacktype == 1 then
  856. attacktype = 2
  857. attackone()
  858. else
  859. if attacktype == 2 then
  860. attacktype = 3
  861. attacktwo()
  862. else
  863. if attacktype == 3 then
  864. attacktype = 1
  865. attackthree()
  866. end
  867. end
  868. end
  869. end)
  870. mouse.KeyDown:connect(function(k)
  871. k = k:lower()
  872. end)
  873. local sine = 0
  874. local change = 1
  875. local val = 0
  876. while 1 do
  877. swait()
  878. sine = sine + change
  879. local torvel = RootPart.Velocity * Vector3.new(1, 0, 2).magnitude
  880. local velderp = RootPart.Velocity.y
  881. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  882. if equipped == true or equipped == false then
  883. if attack == false then
  884. idle = idle + 1
  885. else
  886. idle = 0
  887. end
  888. if ((500 <= idle and attack ~= false) or 1 < RootPart.Velocity.y) and hitfloor == nil then
  889. Anim = "Jump"
  890. if attack == false then
  891. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  892. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.8)
  893. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.8)
  894. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-40)), 0.8)
  895. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  896. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  897. end
  898. else
  899. if RootPart.Velocity.y < -1 and hitfloor == nil then
  900. Anim = "Fall"
  901. if attack == false then
  902. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  903. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), 0.8)
  904. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(70)), 0.8)
  905. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-70)), 0.8)
  906. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  907. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  908. end
  909. else
  910. if torvel < 1 and hitfloor ~= nil then
  911. Anim = "Idle"
  912. if attack == false then
  913. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.8)
  914. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(30)), 0.8)
  915. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.8)
  916. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.8)
  917. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(100), math.rad(-10)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  918. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.8)
  919. end
  920. else
  921. if 2 < torvel and hitfloor ~= nil then
  922. Anim = "Walk"
  923. if attack == false then
  924. change = 3
  925. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.8)
  926. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.8)
  927. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90 * math.cos((sine) / 1)), math.rad(0), math.rad(15)), 0.8)
  928. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90 * math.cos((sine) / 1)), math.rad(0), math.rad(-15)), 0.8)
  929. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-10)) * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.8)
  930. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(10)) * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.8)
  931. end
  932. end
  933. end
  934. end
  935. end
  936. end
  937. if 0 < #Effects then
  938. for e = 1, #Effects do
  939. if Effects[e] ~= nil then
  940. local Thing = Effects[e]
  941. if Thing ~= nil then
  942. local Part = Thing[1]
  943. local Mode = Thing[2]
  944. local Delay = Thing[3]
  945. local IncX = Thing[4]
  946. local IncY = Thing[5]
  947. local IncZ = Thing[6]
  948. if Thing[1].Transparency <= 1 then
  949. if Thing[2] == "Block1" then
  950. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  951. Mesh = Thing[1].Mesh
  952. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  953. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  954. else
  955. if Thing[2] == "Cylinder" then
  956. Mesh = Thing[1].Mesh
  957. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  958. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  959. else
  960. if Thing[2] == "Blood" then
  961. Mesh = Thing[7]
  962. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  963. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  964. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  965. else
  966. if Thing[2] == "Elec" then
  967. Mesh = Thing[1].Mesh
  968. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  969. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  970. else
  971. if Thing[2] == "Disappear" then
  972. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  973. end
  974. end
  975. end
  976. end
  977. end
  978. else
  979. Part.Parent = nil
  980. table.remove(Effects, e)
  981. end
  982. end
  983. end
  984. end
  985. end
  986. end
Add Comment
Please, Sign In to add comment