D0MiN0_FX

Aerios

Nov 3rd, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.18 KB | None | 0 0
  1. Ply = game.Players.LocalPlayer
  2. Char = Ply.Character
  3. Tor = Char.Torso
  4. He = Char.Head
  5. Ne = Tor.Neck
  6. Hu = Char.Humanoid
  7. LA = Char["Left Arm"]
  8. LL = Char["Left Leg"]
  9. RA = Char["Right Arm"]
  10. RL = Char["Right Leg"]
  11. LS = Tor["Left Shoulder"]
  12. RS = Tor["Right Shoulder"]
  13. LH = Tor["Left Hip"]
  14. RH = Tor["Right Hip"]
  15. Combo = 1
  16. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  17. RP = Char.HumanoidRootPart
  18. RJ = RP.RootJoint
  19. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  20. LHCF = CFrame.Angles(0, math.rad(-90), 0)
  21. RHCF = CFrame.Angles(0, math.rad(90), 0)
  22. attack = false
  23. equipped = false
  24. local Anim = "Idle"
  25. cam = workspace.CurrentCamera
  26. local RbxUtility = LoadLibrary("RbxUtility")
  27. local Create = RbxUtility.Create
  28. local m = Create("Model"){
  29. Parent = Char,
  30. Name = "WeaponModel",
  31. }
  32. local Effects = { }
  33. RS.Parent = nil
  34. LS.Parent = nil
  35.  
  36. RW = Create("Weld"){
  37. Name = "Right Shoulder",
  38. Part0 = Tor ,
  39. C0 = CFrame.new(1.5, 0.5, 0),
  40. C1 = CFrame.new(0, 0.5, 0),
  41. Part1 = RA ,
  42. Parent = Tor ,
  43. }
  44.  
  45. LW = Create("Weld"){
  46. Name = "Left Shoulder",
  47. Part0 = Tor ,
  48. C0 = CFrame.new(-1.5, 0.5, 0),
  49. C1 = CFrame.new(0, 0.5, 0) ,
  50. Part1 = LA ,
  51. Parent = Tor ,
  52. }
  53.  
  54. mouse = Ply:GetMouse()
  55.  
  56. function RemoveOutlines(part)
  57. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  58. end
  59.  
  60. function CreatePart(FF, Par, Mat, Ref, Tra, BC, Nam, Siz)
  61. local Part = Create("Part"){
  62. formFactor = FF,
  63. Parent = Par,
  64. Reflectance = Ref,
  65. Transparency = Tra,
  66. CanCollide = false,
  67. Locked = true,
  68. BrickColor = BrickColor.new(tostring(BC)),
  69. Name = Nam,
  70. Size = Siz,
  71. Position = Tor.Position,
  72. Material = Mat,
  73. }
  74. RemoveOutlines(Part)
  75. return Part
  76. end
  77.  
  78. function CreateMesh(Ms, Par, MType, MId, OS, Sca)
  79. local Msh = Create(Ms){
  80. Parent = Par,
  81. Offset = OS,
  82. Scale = Sca,
  83. }
  84. if Ms == "SpecialMesh" then
  85. Msh.MeshType = MType
  86. Msh.MeshId = MId
  87. end
  88. end
  89.  
  90. function CreateWeld(Par, PartA, PartB, CA, CB)
  91. local Weld = Create("Weld"){
  92. Parent = Par,
  93. Part0 = PartA,
  94. Part1 = PartB,
  95. C0 = CA,
  96. C1 = CB,
  97. }
  98. return Weld
  99. end
  100.  
  101. function CreateSound(id, par, vol, pit)
  102. coroutine.resume(coroutine.create(function()
  103. local sou = Create("Sound"){
  104. Parent = par or workspace,
  105. Volume = vol,
  106. Pitch = pit or 1,
  107. SoundId = id,
  108. }
  109. wait()
  110. sou:play()
  111. end))
  112. end
  113.  
  114. function clerp(a, b, t)
  115. local function QuaternionFromCFrame(cf)
  116. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  117. local trace = m00 + m11 + m22
  118. if trace > 0 then
  119. local s = math.sqrt(1 + trace)
  120. local recip = 0.5 / s
  121. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  122. else
  123. local i = 0
  124. if m11 > m00 then
  125. i = 1
  126. end
  127. if m22 > (i == 0 and m00 or m11) then
  128. i = 2
  129. end
  130. if i == 0 then
  131. local s = math.sqrt(m00 - m11 - m22 + 1)
  132. local recip = 0.5 / s
  133. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  134. elseif i == 1 then
  135. local s = math.sqrt(m11 - m22 - m00 + 1)
  136. local recip = 0.5 / s
  137. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  138. elseif i == 2 then
  139. local s = math.sqrt(m22 - m00 - m11 + 1)
  140. local recip = 0.5 / s
  141. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  142. end
  143. end
  144. end
  145.  
  146. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  147. local xs, ys, zs = x + x, y + y, z + z
  148. local wx, wy, wz = w * xs, w * ys, w * zs
  149. local xx = x * xs
  150. local xy = x * ys
  151. local xz = x * zs
  152. local yy = y * ys
  153. local yz = y * zs
  154. local zz = z * zs
  155. 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))
  156. end
  157.  
  158. local function QuaternionSlerp(a, b, t)
  159. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  160. local startInterp, finishInterp;
  161. if cosTheta >= 0.0001 then
  162. if (1 - cosTheta) > 0.0001 then
  163. local theta = math.acos(cosTheta)
  164. local invSinTheta = 1 / math.sin(theta)
  165. startInterp = math.sin((1 - t) * theta) * invSinTheta
  166. finishInterp = math.sin(t * theta) * invSinTheta
  167. else
  168. startInterp = 1 - t
  169. finishInterp = t
  170. end
  171. else
  172. if (1 + cosTheta) > 0.0001 then
  173. local theta = math.acos(-cosTheta)
  174. local invSinTheta = 1 / math.sin(theta)
  175. startInterp = math.sin((t - 1) * theta) * invSinTheta
  176. finishInterp = math.sin(t * theta) * invSinTheta
  177. else
  178. startInterp = t - 1
  179. finishInterp = t
  180. end
  181. end
  182. 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
  183. end
  184.  
  185. local qa = {
  186. QuaternionFromCFrame(a)
  187. }
  188. local qb = {
  189. QuaternionFromCFrame(b)
  190. }
  191. local ax, ay, az = a.x, a.y, a.z
  192. local bx, by, bz = b.x, b.y, b.z
  193.  
  194. local _t = 1 - t
  195. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  196. end
  197.  
  198. function rayCast(Pos, Dir, Max, Ignore)
  199. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  200. end
  201.  
  202. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  203. for i, v in pairs(hit:GetChildren()) do
  204. if v:IsA("Humanoid") and hit.Name ~= Char.Name then
  205. local find = v:FindFirstChild("Hitz")
  206. if not find then
  207. if v.Parent:findFirstChild("Head") then
  208. local BillG = Create("BillboardGui"){
  209. Parent = v.Parent.Head,
  210. Size = UDim2.new(1, 0, 1, 0),
  211. Adornee = v.Parent.Head,
  212. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  213. }
  214. local TL = Create("TextLabel"){
  215. Parent = BillG,
  216. Size = UDim2.new(3, 3, 3, 3),
  217. BackgroundTransparency = 1,
  218. Text = tostring(damage).."-",
  219. TextColor3 = Color1.Color,
  220. TextStrokeColor3 = Color2.Color,
  221. TextStrokeTransparency = 0,
  222. TextXAlignment = Enum.TextXAlignment.Center,
  223. TextYAlignment = Enum.TextYAlignment.Center,
  224. FontSize = Enum.FontSize.Size18,
  225. Font = "ArialBold",
  226. }
  227. coroutine.resume(coroutine.create(function()
  228. wait(1)
  229. for i = 0, 1, .1 do
  230. wait(.1)
  231. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  232. end
  233. BillG:Destroy()
  234. end))
  235. end
  236. v.Health = v.Health - damage
  237. local bool = Create("BoolValue"){
  238. Parent = v,
  239. Name = 'Hitz',
  240. }
  241. if HSound ~= nil and HPitch ~= nil then
  242. CreateSound(HSound, hit, 1, HPitch)
  243. end
  244. game:GetService("Debris"):AddItem(bool, cooldown)
  245. end
  246. end
  247. end
  248. end
  249.  
  250. Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Fossil","Handle",Vector3.new(0.200000003, 1.5999999, 0.400000006))
  251. Handleweld=CreateWeld(m,RA,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144958496, -0.000473022461, -0.902323723, -0.99999088, -7.06478168e-005, 1.32429577e-007, -1.32337391e-007, -1.23539292e-006, -0.999991298, 7.11832181e-005, -0.999998987, 1.19070683e-006))
  252. FakeHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Fossil","FakeHandle",Vector3.new(0.200000003, 0.399999976, 0.400000006))
  253. FakeHandleweld=CreateWeld(m,Handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-006, 0, -4.76837158e-007, 0.999981761, -1.49498192e-011, -1.60442858e-006, 4.88853402e-012, 0.999982595, 1.34059405e-007, 5.34804883e-007, -4.46862032e-008, 0.999998212))
  254. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  255. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-005, -1.29968262, -0.0999927521, 0.999981761, -4.21102413e-006, -0.000178337199, 4.21249342e-006, 0.999982595, 8.45484647e-006, 0.000177264592, -8.3660907e-006, 0.999998212))
  256. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  257. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  258. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, -1.20024109, 0.0999908447, 0.999981761, -3.9908814e-006, -0.00018298396, -3.993885e-006, -0.999982595, -1.6677257e-005, -0.000181911251, 1.65883521e-005, -0.999998212))
  259. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  260. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  261. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, -1.29968262, -0.100018501, -0.999981761, 4.32283468e-006, 0.00017718962, 4.32428533e-006, 0.999982595, 8.40528628e-006, -0.000176117028, 8.3165487e-006, -0.999998212))
  262. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  263. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  264. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-005, 0.100128174, -3.0040741e-005, -0.999981761, -3.06569291e-006, 0.000182044634, -3.06690617e-006, 0.999982595, -6.56936527e-006, -0.000180971983, -6.65919424e-006, -0.999998212))
  265. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  266. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  267. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.52587891e-005, -0.100143433, -2.28881836e-005, -0.999981761, 8.39634822e-007, 0.000183251264, -8.39851964e-007, -0.999982595, -1.34311608e-006, 0.000182178643, -1.2538751e-006, 0.999998212))
  268. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  269. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.200000003, 0.400000036, 0.400000006))
  270. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, -0.39994812, -0.000118732452, 0.999981761, 3.41485384e-006, -2.31657104e-005, 3.41463692e-006, -0.999982595, -1.02540453e-005, -2.20957536e-005, 1.01644318e-005, -0.999998212))
  271. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  272. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.400000006))
  273. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-005, 0.399993896, -6.67572021e-006, 0.999981761, -1.19159111e-007, -1.12509952e-005, 1.19157249e-007, 0.999982595, 9.39085567e-007, 1.01812002e-005, -8.49698608e-007, 0.999998212))
  274. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  275. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.400000006))
  276. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, 0.799972534, 4.76837158e-006, 0.999981761, -1.78735206e-007, -1.23205427e-005, 1.78738247e-007, 0.999982595, 1.29673231e-006, 1.12507296e-005, -1.20734046e-006, 0.999998212))
  277. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  278. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.34057617e-005, -1.20025635, 0.10000658, -0.999981761, 3.90575906e-006, 0.000185596058, -3.90847254e-006, -0.999982595, -1.48671952e-005, 0.000184523349, -1.47783121e-005, 0.999998212))
  279. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  280. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  281. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-005, -0.899749756, -1.00135803e-005, 0.999981761, -4.52529139e-006, -0.000163834338, 4.52641507e-006, 0.999982595, 7.07933259e-006, 0.000162761979, -6.99058864e-006, 0.999998212))
  282. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  283. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  284. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.29977417, -3.57627869e-005, -0.999981761, 4.56700582e-006, 2.76307201e-005, -4.56679709e-006, -0.999982595, 7.23480662e-006, 2.65607014e-005, 7.32394074e-006, 0.999998212))
  285. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  286. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  287. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, -0.299850464, -1.8119812e-005, -0.999981761, 6.3186701e-007, 2.16101889e-005, 6.31867863e-007, 0.999982595, 6.72535407e-007, -2.05402212e-005, 5.8316482e-007, -0.999998212))
  288. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  289. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  290. Partweld=CreateWeld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-005, 0.899765015, -1.62124634e-005, 0.999981761, -9.32578303e-007, -0.000175737689, -9.32731155e-007, -0.999982595, -1.02931472e-006, -0.000174665154, 9.40088398e-007, -0.999998212))
  291. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  292. BladeHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Toothpaste","BladeHandle",Vector3.new(0.200000003, 0.400000006, 0.400000006))
  293. BladeHandleweld=CreateWeld(m,FakeHandle,BladeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, 1.99960327, 3.95774841e-005, -0.999981761, -1.32326576e-007, 0.000178653223, 1.3257916e-007, -0.999982715, 1.35444691e-006, 0.000177580674, 1.39915676e-006, 0.999998212))
  294. CreateMesh("SpecialMesh",BladeHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  295. Hitbox=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Fossil","Hitbox",Vector3.new(0.200000003, 3.4000001, 1.20000005))
  296. Hitboxweld=CreateWeld(m,BladeHandle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -2.29992676, -0.000141143799, -0.999981761, 1.54720542e-011, 1.56042952e-005, -1.84014193e-011, -0.999982834, 5.96584471e-008, 1.66794853e-005, 5.96595839e-008, 0.999998212))
  297. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 3.20000005, 0.600000024))
  298. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, -2.39953613, 0.299910545, -0.999981761, 1.11494702e-011, 4.91918036e-006, -1.47164086e-011, -0.999982834, 5.96425735e-008, 5.99455234e-006, 5.96437033e-008, 0.999998212))
  299. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  300. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  301. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.100128174, 0.700077772, 0.999981761, 3.34093864e-012, -9.17352736e-008, -5.13478149e-013, -0.999982834, 5.95590421e-008, -1.16718002e-006, -5.95602003e-008, -0.999998212))
  302. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  303. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 3.20000005, 0.600000024))
  304. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-005, -2.39958191, 0.300290346, 0.999981761, -2.12692253e-010, -1.34985239e-005, -2.15749973e-010, -0.999982834, 5.94570011e-008, -1.45737504e-005, -5.94581344e-008, -0.999998212))
  305. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  306. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.200000018))
  307. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.400344849, 0.500155926, 0.999981761, -2.19540247e-010, -1.26651285e-005, -2.22647581e-010, -0.999982834, 5.94515797e-008, -1.37403622e-005, -5.94527094e-008, -0.999998212))
  308. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  309. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  310. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.15527344e-005, -0.499847412, -0.300111532, 0.999981761, -6.99822465e-007, 3.21262632e-006, 6.99820532e-007, 0.999982834, 2.40010445e-006, -2.13713793e-006, -2.40006443e-006, 0.999998212))
  311. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  312. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  313. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000137329102, 0.20010376, -0.299919605, 0.999981761, -4.54817467e-007, -5.03034971e-006, -4.54819144e-007, -0.999982834, 2.78908715e-007, -6.10571442e-006, -2.78904196e-007, -0.999998212))
  314. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  315. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  316. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-005, -0.599838257, 0.600077152, -0.999981761, 2.73906039e-007, -4.02069418e-006, 2.7390189e-007, 0.999982834, 2.64749633e-006, 2.9451985e-006, 2.64745267e-006, -0.999998212))
  317. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  318. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.200000018))
  319. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -0.400344849, 0.499759197, -0.999981761, 1.20092963e-011, 6.70757436e-006, -1.54696325e-011, -0.999982834, 5.96330949e-008, 7.78290996e-006, 5.96342247e-008, 0.999998212))
  320. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  321. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000033))
  322. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-005, -0.500274658, 0.699822426, -0.999981761, 2.13075807e-011, 1.29148029e-005, -2.44003914e-011, -0.999982834, 5.94436145e-008, 1.39900367e-005, 5.94447549e-008, 0.999998212))
  323. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  324. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  325. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000152587891, 0.29977417, -0.20009017, 0.999981761, -6.43139708e-012, -3.69289774e-006, 1.0355744e-011, 0.999982834, -2.66098255e-011, 4.76827699e-006, 2.8663294e-011, 0.999998212))
  326. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  327. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  328. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000183105469, 0.200149536, -0.300102234, -0.999981761, 1.49097339e-008, 4.5542256e-006, -1.49133381e-008, -0.999982834, 5.42441221e-008, 5.62959031e-006, 5.42452696e-008, 0.999998212))
  329. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  330. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.800000072, 0.400000006))
  331. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.39233398e-005, -0.999664307, 0.200092554, 0.999981761, -3.95544708e-012, 4.41308657e-007, -7.84210197e-012, -0.999982834, 5.96419412e-008, -6.34157914e-007, -5.96430709e-008, -0.999998212))
  332. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  333. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  334. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000152587891, 0.100143433, 0.500086546, 0.999981761, -5.8873878e-012, -3.42418934e-006, -9.54353263e-012, -0.999982834, 5.96374576e-008, -4.49957588e-006, -5.96385945e-008, -0.999998212))
  335. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.600000024))
  336. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-005, -0.599533081, 0.700154305, -0.999981761, -1.4772513e-008, 1.21978883e-005, -1.49355408e-008, 0.999982834, -1.2579485e-005, -1.32731293e-005, -1.25792931e-005, -0.999998212))
  337. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  338. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000003))
  339. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-005, 0.0995178223, 0.700134993, 0.999981761, -2.18819241e-010, 9.61532351e-007, -2.22737162e-010, -0.999982834, 6.0835994e-008, -1.13912392e-007, -6.08371167e-008, -0.999998212))
  340. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  341. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000137, 0.600000024))
  342. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.05175781e-005, -0.70022583, 0.300123453, 0.999981761, -2.20294477e-010, 6.77464413e-008, -2.24158456e-010, -0.999982834, 5.98086771e-008, -1.00770558e-006, -5.98098069e-008, -0.999998212))
  343. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  344. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000003))
  345. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, 0.0997314453, 0.900169849, 0.999981761, -2.16103496e-010, 1.49953121e-006, -2.20052046e-010, -0.999982834, 6.14535409e-008, 4.24064638e-007, -6.14546636e-008, -0.999998212))
  346. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  347. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000033))
  348. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -0.500228882, 0.700129032, 0.999981761, -2.17749069e-010, -4.84001066e-006, -2.21319518e-010, -0.999982834, 5.9810489e-008, -5.91537537e-006, -5.98116188e-008, -0.999998212))
  349. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  350. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000083, 0.200000003))
  351. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.91821289e-005, 0.100112915, 0.699890614, -0.999981761, 7.18990145e-012, -1.53825385e-006, -1.11410742e-011, -0.999982834, 5.976095e-008, -4.62780008e-007, 5.97621082e-008, 0.999998212))
  352. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  353. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.400000006))
  354. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.10351563e-005, 0.299789429, -0.199937344, -0.999981761, 2.7011865e-012, 1.49950938e-006, 6.31858454e-012, 0.999982834, -1.19261927e-007, -2.5749323e-006, -1.19262154e-007, -0.999998212))
  355. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  356. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.800000072, 0.400000006))
  357. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.999954224, 0.199864864, -0.999981761, 8.21773205e-012, 5.84091322e-006, -1.1729645e-011, -0.999982834, 5.96492384e-008, 6.91626337e-006, 5.96503753e-008, 0.999998212))
  358. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  359. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  360. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-005, 0.100036621, 0.499933243, -0.999981761, 1.20618862e-011, 3.85295425e-006, -1.56922253e-011, -0.999982834, 5.96835577e-008, 4.92833351e-006, 5.96846945e-008, 0.999998212))
  361. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  362. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.05175781e-005, -0.399963379, 0.499933243, -0.999981761, 8.33516589e-012, 2.36118649e-006, -1.20545518e-011, -0.999982834, 5.96779444e-008, 3.43659485e-006, 5.96790812e-008, 0.999998212))
  363. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  364. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.400000155, 0.600000024))
  365. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000183105469, -0.599578857, 0.699863434, 0.999981761, -1.50043302e-008, -5.07864752e-006, 1.50849182e-008, 0.999982834, 1.24600392e-005, 6.15401223e-006, -1.24598455e-005, 0.999998212))
  366. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  367. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000003))
  368. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000122070313, 0.0995788574, 0.699845791, -0.999981761, 1.22518801e-011, 6.45028194e-007, -1.60736077e-011, -0.999982834, 5.86622804e-008, 1.72046566e-006, 5.86634457e-008, 0.999998212))
  369. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  370. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000137, 0.600000024))
  371. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-005, -0.700195313, 0.299836636, -0.999981761, 1.4545129e-011, 3.57317185e-006, -1.8192392e-011, -0.999982834, 5.96309135e-008, 4.64856566e-006, 5.96320504e-008, 0.999998212))
  372. CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  373. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  374. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000137329102, -0.499862671, -0.299929142, -0.999981761, -6.99751979e-007, -2.97113729e-006, -6.99742486e-007, 0.999982834, -2.51947517e-006, 1.89564162e-006, -2.51943766e-006, -0.999998212))
  375. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  376. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036))
  377. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.599853516, 0.599877834, 0.999981761, 2.73833876e-007, 3.43463034e-006, -2.73823105e-007, 0.999982834, -2.76679339e-006, -2.35912739e-006, 2.766752e-006, 0.999998212))
  378. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  379. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.600000143, 0.200000003))
  380. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000198364258, 0.0998077393, 0.899896622, -0.999981761, 1.10282478e-011, -1.01601472e-007, -1.48965076e-011, -0.999982834, 5.82748356e-008, 9.73850547e-007, 5.82760045e-008, 0.999998212))
  381. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 1))
  382. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Fossil","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003))
  383. Partweld=CreateWeld(m,BladeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000183105469, -0.399810791, 0.500085354, 0.999981761, -1.92078298e-012, -1.94731547e-006, -5.66501013e-012, -0.999982834, 5.96335141e-008, -3.02273838e-006, -5.9634651e-008, -0.999998212))
  384. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  385.  
  386. function FirstAttack()
  387. attack = true
  388. for i = 0,1,0.1 do
  389. wait()
  390. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(-60)), .3)
  391. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5), math.rad(0), math.rad(60)), .3)
  392. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(90)), .3)
  393. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-90)), .3)
  394. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .3)
  395. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .3)
  396. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  397. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  398. end
  399. CreateSound("http://roblox.com/asset/?id=199145095",Hitbox,1,1)
  400. local HitDeb = Hitbox.Touched:connect(function(hit)
  401. Damage(hit.Parent, math.random(10,30), 0.5, BrickColor.new("Fossil"), BrickColor.new("Toothpaste"), "rbxassetid://199149137" ,1)
  402. end)
  403. for i = 0,1,0.1 do
  404. wait()
  405. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(60)), .4)
  406. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5), math.rad(0), math.rad(-60)), .4)
  407. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(90)), .4)
  408. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-50)), .4)
  409. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .4)
  410. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .4)
  411. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(100), math.rad(0), math.rad(0)), .4)
  412. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .4)
  413. end
  414. attack = false
  415. HitDeb:disconnect()
  416. end
  417.  
  418. function SecondAttack()
  419. attack = true
  420. for i = 0,1,0.1 do
  421. wait()
  422. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(70)), .3)
  423. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5), math.rad(0), math.rad(-70)), .3)
  424. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * CFrame.Angles(math.rad(0), math.rad(100), math.rad(130)), .3)
  425. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(-30)), .3)
  426. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  427. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  428. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), .3)
  429. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  430. end
  431. CreateSound("http://roblox.com/asset/?id=199145146",Hitbox,1,1)
  432. local HitDeb = Hitbox.Touched:connect(function(hit)
  433. Damage(hit.Parent, math.random(10,30), 0.5, BrickColor.new("Fossil"), BrickColor.new("Toothpaste"), "rbxassetid://199149186" ,1)
  434. end)
  435. for i = 0,1,0.1 do
  436. wait()
  437. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(-70)), .4)
  438. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(70)), .4)
  439. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(50)), .4)
  440. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), .4)
  441. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .4)
  442. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .4)
  443. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(-20)), .3)
  444. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  445. end
  446. attack = false
  447. HitDeb:disconnect()
  448. end
  449.  
  450. function ThirdAttack()
  451. attack = true
  452. for i = 1,2 do
  453. CreateSound("http://roblox.com/asset/?id=199145327",Hitbox,.7,1)
  454. for i = 0,1,0.2 do
  455. wait()
  456. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(-70)), .3)
  457. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(70)), .3)
  458. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(30)), .3)
  459. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
  460. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -.3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .3)
  461. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(60), math.rad(-.5)), .3)
  462. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(6*i, math.rad(0), math.rad(0)), .8)
  463. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  464. end
  465. end
  466. local HitDeb = Hitbox.Touched:connect(function(hit)
  467. Damage(hit.Parent, math.random(10,30), 0.1, BrickColor.new("Fossil"), BrickColor.new("Toothpaste"), "rbxassetid://199149221" ,1)
  468. end)
  469. for i = 1,4 do
  470. CreateSound("http://roblox.com/asset/?id=199145327",Hitbox,.7,1)
  471. for i = 0,1,0.2 do
  472. wait()
  473. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(70)), .3)
  474. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-70)), .3)
  475. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(50)), .3)
  476. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
  477. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  478. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  479. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), 6*i, math.rad(90)), .8)
  480. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  481. end
  482. end
  483. attack = false
  484. HitDeb:disconnect()
  485. end
  486.  
  487. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  488. local prt = CreatePart("Custom", workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  489. prt.Anchored = true
  490. prt.CFrame = cframe
  491. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  492. game:GetService("Debris"):AddItem(prt, 5)
  493. table.insert(Effects, {
  494. prt,
  495. "Cylinder",
  496. delay,
  497. x3,
  498. y3,
  499. z3,
  500. msh
  501. })
  502. end
  503.  
  504. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  505. local prt = CreatePart("Custom", workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  506. prt.Anchored = true
  507. prt.CFrame = cframe
  508. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  509. game:GetService("Debris"):AddItem(prt, 5)
  510. table.insert(Effects, {
  511. prt,
  512. "Cylinder",
  513. delay,
  514. x3,
  515. y3,
  516. z3,
  517. msh
  518. })
  519. end
  520.  
  521. function SummonShards(Color)
  522. attack=true
  523. for i=0,1,0.1 do
  524. wait()
  525. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-.5), math.rad(0), math.rad(80)), .3)
  526. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(5), math.rad(0), math.rad(-80)), .3)
  527. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(80)), .3)
  528. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
  529. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, .3) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  530. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, -.2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-60), math.rad(-.5)), .3)
  531. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .8)
  532. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  533. end
  534. Hu.WalkSpeed = 0
  535. for i=1,5 do
  536. local Shard=CreatePart(3,m,"Neon",0,0.5,Color,"Shard",Vector3.new(5,5,5))
  537. local smsh=CreateMesh("SpecialMesh",Shard,"FileMesh","http://www.roblox.com/Asset/?id=9756362",Vector3.new(0,0,0),Vector3.new(.5,.5,3))
  538. Shard.Anchored=true
  539. local newCF=CFrame.new(math.random(-600,600)/100,math.random(500,1000)/100,math.random(-600,600)/100)
  540. Shard.CFrame=CFrame.new(RP.Position)*newCF
  541. Shard.CFrame=CFrame.new(Shard.Position,mouse.Hit.p)*CFrame.fromEulerAnglesXYZ(3.14,0,0)
  542. SphereEffect(Color,Shard.CFrame,5,5,10,1,1,3,.1)
  543. CreateSound("http://roblox.com/asset/?id=278596476",Shard,1,1.5)
  544. game:GetService("Debris"):AddItem(Shard,10)
  545. local hitt=false
  546. local con=Shard.Touched:connect(function(hit)
  547. if hitt==true then return end
  548. hitt=true
  549. if hit.Name~="Shard" then
  550. Shard.Parent=nil
  551. print("hit")
  552. local ref=CreatePart(3,workspace,"Neon",0,1,hit.BrickColor,"Effect",Vector3.new())
  553. ref.Anchored=true
  554. ref.CFrame=CFrame.new(Shard.Position)
  555. SphereEffect(Color,CFrame.new(ref.Position),1,1,1,2,2,2,.05)
  556. game:GetService("Debris"):AddItem(ref,1)
  557. Shard.Touched:connect(function(hit)
  558. Damage(hit.Parent, math.random(5,10), 0, BrickColor.new("Fossil"), BrickColor.new("Toothpaste"), "rbxassetid://199149137" ,1)
  559. end)
  560. end
  561. local debounce=Instance.new("BoolValue")
  562. debounce.Name="DebounceHit"
  563. debounce.Parent=hit.Parent
  564. debounce.Value=true
  565. game:GetService("Debris"):AddItem(debounce,.5)
  566. end)
  567. coroutine.resume(coroutine.create(function(Part,Cframe,numb)
  568. while Part.Parent~=nil do
  569. wait()
  570. numb=numb-1
  571. if numb<=0 then
  572. Part.CFrame=Part.CFrame*CFrame.new(0,0,2)
  573. else
  574. Part.CFrame=CFrame.new(RP.Position)*Cframe
  575. Part.CFrame=CFrame.new(Part.Position,mouse.Hit.p)*CFrame.fromEulerAnglesXYZ(3.14,0,0)
  576. end
  577. end
  578. end),Shard,newCF,i)
  579. end
  580. wait(1)
  581. Hu.WalkSpeed = 16
  582. attack=false
  583. end
  584.  
  585. function Boomerang()
  586. attack = true
  587. for i = 0,1,0.1 do
  588. wait()
  589. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-70)), .3)
  590. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5), math.rad(0), math.rad(70)), .3)
  591. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(90)), .3)
  592. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-70)), .3)
  593. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(70), math.rad(-.5)), .3)
  594. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(70), math.rad(-.5)), .3)
  595. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(150), math.rad(0), math.rad(0)), .8)
  596. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), .3)
  597. end
  598. local HitDeb = Hitbox.Touched:connect(function(hit)
  599. Damage(hit.Parent, math.random(10,30), 0, BrickColor.new("Fossil"), BrickColor.new("Toothpaste"), "rbxassetid://199149186" ,1)
  600. end)
  601. for i = 1,5 do
  602. CreateSound("http://roblox.com/asset/?id=199145095",Hitbox,1,1.3)
  603. for i = 0,1,0.2 do
  604. wait()
  605. SphereEffect(BrickColor.new("Toothpaste"),CFrame.new(BladeHandle.Position),.3,.3,.3,.2,.2,.2,.05)
  606. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(70)), .3)
  607. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5), math.rad(0), math.rad(-70)), .3)
  608. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(90)), .3)
  609. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-30)), .3)
  610. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(-.5)), .3)
  611. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(-.5)), .3)
  612. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), .3)
  613. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, 7, 0) * CFrame.Angles(6*i, math.rad(0), math.rad(0)), .8)
  614. end
  615. end
  616. HitDeb:disconnect()
  617. attack = false
  618. end
  619.  
  620. mouse.Button1Down:connect(function()
  621. if attack == false and Combo == 1 then
  622. Combo = 2
  623. FirstAttack()
  624. elseif attack == false and Combo == 2 then
  625. Combo = 3
  626. SecondAttack()
  627. elseif attack == false and Combo == 3 then
  628. Combo = 1
  629. ThirdAttack()
  630. end
  631. end)
  632.  
  633. mouse.KeyDown:connect(function(k)
  634. k = k:lower()
  635. if k == "q" and attack == false then
  636. SummonShards(BrickColor.new("Toothpaste"))
  637. elseif k == "e" and attack == false then
  638. Boomerang()
  639. end
  640. end)
  641.  
  642.  
  643. local sine = 0
  644. local change = 1
  645. local val = 0
  646. local donum = 0
  647.  
  648. while true do
  649. wait()
  650. sine = sine + change
  651. local torvel = (RP.Velocity * Vector3.new(1, 0, 1)).magnitude
  652. local velderp = RP.Velocity.y
  653. hitfloor, posfloor = rayCast(RP.Position, (CFrame.new(RP.Position, RP.Position - Vector3.new(0, 1, 0))).lookVector, 4, Char)
  654. if equipped == true or equipped == false then
  655. if donum >= .5 then
  656. handidle = true
  657. elseif donum <= 0 then
  658. handidle = false
  659. end
  660. if handidle == false then
  661. donum = donum + 0.003
  662. else
  663. donum = donum - 0.003
  664. end
  665. if RP.Velocity.y > 1 and hitfloor == nil then
  666. Anim = "Jump"
  667. if attack == false then
  668. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  669. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  670. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), .3)
  671. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), .3)
  672. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  673. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  674. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  675. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1+donum/1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  676. end
  677. elseif RP.Velocity.y < -1 and hitfloor == nil then
  678. Anim = "Fall"
  679. if attack == false then
  680. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  681. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  682. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), .3)
  683. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), .3)
  684. RH.C0 = clerp(RH.C0, CFrame.new(1, -.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  685. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  686. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), .3)
  687. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1+donum/1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  688. end
  689. elseif torvel < 1 and hitfloor ~= nil then
  690. Anim = "Idle"
  691. if attack == false then
  692. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-.5)+donum/3.5, math.rad(0), math.rad(-40)), .3)
  693. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(.5)-donum/3.5, math.rad(0), math.rad(40)), .3)
  694. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-1)-donum/2, math.rad(1)-donum/2, math.rad(2)+donum/2), .3)
  695. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(5)+donum/2, math.rad(0), math.rad(-2)-donum/2), .3)
  696. RH.C0 = clerp(RH.C0, CFrame.new(1, -1-donum/6, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(20), math.rad(-.5)+donum/3.5), .3)
  697. LH.C0 = clerp(LH.C0, CFrame.new(-.9, -1, .2) * LHCF * CFrame.Angles(math.rad(-5), math.rad(40), math.rad(-.5)-donum/3.5), .3)
  698. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10)-donum/2, math.rad(0), math.rad(-10)), .3)
  699. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1+donum/3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  700. end
  701. elseif torvel > 2 and hitfloor ~= nil then
  702. Anim = "Walk"
  703. if attack == false then
  704. RJ.C0 = clerp(RJ.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  705. Ne.C0 = clerp(Ne.C0, NeckCF * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  706. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-20)-donum/2, math.rad(0), math.rad(10)+donum/2), .3)
  707. LW.C0 = clerp(LW.C0, CFrame.new(-.6, 0.6, -.9) * CFrame.Angles(math.rad(120)+donum/2, math.rad(10), math.rad(80)), .3)
  708. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  709. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  710. FakeHandleweld.C0 = clerp(FakeHandleweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-5)-donum/1, math.rad(0), math.rad(0)), .3)
  711. BladeHandleweld.C0 = clerp(BladeHandleweld.C0, CFrame.new(0, -.1+donum/1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  712. end
  713. end
  714. end
  715. if #Effects > 0 then
  716. for e = 1, #Effects do
  717. if Effects[e] ~= nil then
  718. local Thing = Effects[e]
  719. if Thing ~= nil then
  720. local Part = Thing[1]
  721. local Mode = Thing[2]
  722. local Delay = Thing[3]
  723. local IncX = Thing[4]
  724. local IncY = Thing[5]
  725. local IncZ = Thing[6]
  726. if Thing[1].Transparency <= 1 then
  727. if Thing[2] == "Block1" then
  728. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  729. Mesh = Thing[1].Mesh
  730. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  731. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  732. elseif Thing[2] == "Cylinder" then
  733. Mesh = Thing[1].Mesh
  734. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  735. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  736. elseif Thing[2] == "Blood" then
  737. Mesh = Thing[7]
  738. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  739. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  740. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  741. elseif Thing[2] == "Elec" then
  742. Mesh = Thing[1].Mesh
  743. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  744. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  745. elseif Thing[2] == "Disappear" then
  746. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  747. end
  748. else
  749. Part.Parent = nil
  750. table.remove(Effects, e)
  751. end
  752. end
  753. end
  754. end
  755. end
  756. end
Add Comment
Please, Sign In to add comment