Advertisement
Finnegan5

Officer

Jul 30th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 145.11 KB | None | 0 0
  1. so = function(id,par,vol,pit)
  2. coroutine.resume(coroutine.create(function()
  3. local sou = Instance.new("Sound",par or workspace)
  4. sou.Volume=vol
  5. sou.Pitch=pit or 1
  6. sou.SoundId=id
  7. swait()
  8. sou:play()
  9. game:GetService("Debris"):AddItem(sou,6)
  10. end))
  11. end
  12. Player=game:GetService("Players").LocalPlayer
  13. Character=Player.Character
  14. PlayerGui=Player.PlayerGui
  15. Backpack=Player.Backpack
  16. Torso=Character.Torso
  17. Head=Character.Head
  18. Humanoid=Character.Humanoid
  19. m=Instance.new('Model',Character)
  20. LeftArm=Character["Left Arm"]
  21. LeftLeg=Character["Left Leg"]
  22. RightArm=Character["Right Arm"]
  23. RightLeg=Character["Right Leg"]
  24. LS=Torso["Left Shoulder"]
  25. LH=Torso["Left Hip"]
  26. RS=Torso["Right Shoulder"]
  27. RH=Torso["Right Hip"]
  28. Face = Head.face
  29. Neck=Torso.Neck
  30. it=Instance.new
  31. attacktype=1
  32. vt=Vector3.new
  33. cf=CFrame.new
  34. euler=CFrame.fromEulerAnglesXYZ
  35. angles=CFrame.Angles
  36. cloaked=false
  37. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  39. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  40. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  41. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  42. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  43. RootPart=Character.HumanoidRootPart
  44. RootJoint=RootPart.RootJoint
  45. RootCF=euler(-1.57,0,3.14)
  46. attack = false
  47. wait(2)
  48. function clerp(a,b,t)
  49. local qa = {QuaternionFromCFrame(a)}
  50. local qb = {QuaternionFromCFrame(b)}
  51. local ax, ay, az = a.x, a.y, a.z
  52. local bx, by, bz = b.x, b.y, b.z
  53. local _t = 1-t
  54. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  55. end
  56. CV="Maroon"
  57. Player = game.Players.LocalPlayer
  58. char = Player.Character
  59. local txt = Instance.new("BillboardGui", Character)
  60. txt.Adornee = Character .Head
  61. txt.Name = "_status"
  62. txt.Size = UDim2.new(2, 0, 1.2, 0)
  63. txt.StudsOffset = Vector3.new(-9, 8, 0)
  64. local text = Instance.new("TextLabel", txt)
  65. text.Size = UDim2.new(10, 0, 7, 0)
  66. text.FontSize = "Size24"
  67. text.TextScaled = true
  68. text.TextTransparency = 0
  69. text.BackgroundTransparency = 1
  70. text.TextTransparency = 0
  71. text.TextStrokeTransparency = 0
  72. text.Font = "Bodoni"
  73. text.TextStrokeColor3 = Color3.new(70,0,0)
  74.  
  75. v=Instance.new("Part")
  76. v.Name = "ColorBrick"
  77. v.Parent=Player.Character
  78. v.FormFactor="Symmetric"
  79. v.Anchored=true
  80. v.CanCollide=false
  81. v.BottomSurface="Smooth"
  82. v.TopSurface="Smooth"
  83. v.Size=Vector3.new(10,5,3)
  84. v.Transparency=1
  85. v.CFrame=Character.Torso.CFrame
  86. v.BrickColor=BrickColor.new(CV)
  87. v.Transparency=1
  88. text.TextColor3 = Color3.new(0,0,0)
  89. v.Shape="Block"
  90. text.Text = "Sawyerqqqqq -Soviet Officer-"
  91. -----------------------------------------
  92. -------------------Shirt And Pants---------------------
  93. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=817333972"
  94. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=817451408"
  95. -------------------------------------------------------
  96. function QuaternionFromCFrame(cf)
  97. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  98. local trace = m00 + m11 + m22
  99. if trace > 0 then
  100. local s = math.sqrt(1 + trace)
  101. local recip = 0.5/s
  102. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  103. else
  104. local i = 0
  105. if m11 > m00 then
  106. i = 1
  107. end
  108. if m22 > (i == 0 and m00 or m11) then
  109. i = 2
  110. end
  111. if i == 0 then
  112. local s = math.sqrt(m00-m11-m22+1)
  113. local recip = 0.5/s
  114. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  115. elseif i == 1 then
  116. local s = math.sqrt(m11-m22-m00+1)
  117. local recip = 0.5/s
  118. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  119. elseif i == 2 then
  120. local s = math.sqrt(m22-m00-m11+1)
  121. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  122. end
  123. end
  124. end
  125.  
  126. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  127. local xs, ys, zs = x + x, y + y, z + z
  128. local wx, wy, wz = w*xs, w*ys, w*zs
  129. local xx = x*xs
  130. local xy = x*ys
  131. local xz = x*zs
  132. local yy = y*ys
  133. local yz = y*zs
  134. local zz = z*zs
  135. 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))
  136. end
  137.  
  138. function QuaternionSlerp(a, b, t)
  139. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  140. local startInterp, finishInterp;
  141. if cosTheta >= 0.0001 then
  142. if (1 - cosTheta) > 0.0001 then
  143. local theta = math.acos(cosTheta)
  144. local invSinTheta = 1/math.sin(theta)
  145. startInterp = math.sin((1-t)*theta)*invSinTheta
  146. finishInterp = math.sin(t*theta)*invSinTheta
  147. else
  148. startInterp = 1-t
  149. finishInterp = t
  150. end
  151. else
  152. if (1+cosTheta) > 0.0001 then
  153. local theta = math.acos(-cosTheta)
  154. local invSinTheta = 1/math.sin(theta)
  155. startInterp = math.sin((t-1)*theta)*invSinTheta
  156. finishInterp = math.sin(t*theta)*invSinTheta
  157. else
  158. startInterp = t-1
  159. finishInterp = t
  160. end
  161. end
  162. 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
  163. end
  164. --save shoulders
  165. RSH, LSH=nil, nil
  166. --welds
  167. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  168. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  169. LH=Torso["Left Hip"]
  170. RH=Torso["Right Hip"]
  171. TorsoColor=Torso.BrickColor
  172. player=Player
  173. ch=Character
  174. RSH=ch.Torso["Right Shoulder"]
  175. LSH=ch.Torso["Left Shoulder"]
  176. --
  177. RSH.Parent=nil
  178. LSH.Parent=nil
  179. --
  180. RW.Name="Right Shoulder"
  181. RW.Part0=ch.Torso
  182. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  183. RW.C1=cf(0, 0.5, 0)
  184. RW.Part1=ch["Right Arm"]
  185. RW.Parent=ch.Torso
  186. --
  187. LW.Name="Left Shoulder"
  188. LW.Part0=ch.Torso
  189. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  190. LW.C1=cf(0, 0.5, 0)
  191. LW.Part1=ch["Left Arm"]
  192. LW.Parent=ch.Torso
  193. function swait(num)
  194. if num==0 or num==nil then
  195. game:service'RunService'.Stepped:wait(0)
  196. else
  197. for i=0,num do
  198. game:service'RunService'.Stepped:wait(0)
  199. end
  200. end
  201. end
  202. boom = Instance.new("Part")
  203. moosh = Instance.new("SpecialMesh")
  204. moosh.MeshType = "Sphere"
  205. moosh.Parent = boom
  206. boom.CanCollide = false
  207. boom.Transparency = 0.6
  208. boom.Material = "Neon"
  209. boom.Parent =Torso
  210. boom.Position = Vector3.new(Torso.Position.X,Torso.Position.Y,Torso.Position.Z)
  211. boom.Anchored = true
  212. boom.Size = Vector3.new(0, 0, 0)
  213. wait()
  214. so("http://www.roblox.com/asset/?id=157878578",boom,1,0.9)
  215. moosh.Scale = Vector3.new(20, 20, 20)
  216. wait()
  217. moosh.Scale = Vector3.new(40, 40, 40)
  218. wait()
  219. moosh.Scale = Vector3.new(60, 60, 60)
  220. wait()
  221. moosh.Scale = Vector3.new(80, 80, 80)
  222. wait()
  223. moosh.Scale = Vector3.new(100, 100, 100)
  224. wait()
  225. Humanoid.WalkSpeed = 0
  226. Humanoid.JumpPower = 0
  227. for i=0,1,0.08 do
  228. swait()
  229. Torso.Velocity=RootPart.CFrame.lookVector*-30
  230. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  231. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  232. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(15)),.2)
  233. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-65)),.2)
  234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  236. end
  237. moosh.Scale = Vector3.new(120, 120, 120)
  238. wait()
  239. for i=0,1,0.05 do
  240. swait()
  241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-10),math.rad(0)),.4)
  243. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(30)),.2)
  244. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  245. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  246. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  247. end
  248. moosh.Scale = Vector3.new(140, 140, 140)
  249. wait()
  250. moosh.Scale = Vector3.new(160, 160, 160)
  251. wait()
  252. moosh.Scale = Vector3.new(180, 180, 180)
  253. wait()
  254. moosh.Scale = Vector3.new(200, 200, 200)
  255. wait()
  256. boom.Transparency = 0.5
  257. wait()
  258. boom.Transparency = 0.3
  259. wait()
  260. boom.Transparency = 0.1
  261. wait()
  262. boom.Transparency = 0
  263. wait(1)
  264. boom.Transparency = 0
  265. wait()
  266. boom.Transparency = 0.1
  267. wait()
  268. boom.Transparency = 0.3
  269. wait()
  270. boom.Transparency = 0.5
  271. wait()
  272. boom.Transparency = 0.7
  273. wait()
  274. boom.Transparency = 0.9
  275. wait()
  276. boom.Transparency = 1
  277. wait(4)
  278. for i=0,1,0.05 do
  279. swait()
  280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-40),math.rad(0),math.rad(180)),.2)
  281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-10),math.rad(0)),.4)
  282. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.2)
  283. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.2)
  284. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  285. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  286. end
  287. for i=0,1,0.05 do
  288. swait()
  289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(0),math.rad(0),math.rad(180)),.2)
  290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  291. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  292. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  293. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  295. end
  296. for i=0,1,0.05 do
  297. swait()
  298. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-40),math.rad(0),math.rad(180)),.2)
  299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-10),math.rad(0)),.4)
  300. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(30),math.rad(0)),.2)
  301. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(40),math.rad(30),math.rad(0)),.2)
  302. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  303. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  304. end
  305. for i=0,1,0.05 do
  306. swait()
  307. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-10),math.rad(0)),.4)
  309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(30)),.2)
  310. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  311. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  312. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  313. end
  314. wait(3)
  315. local Fire = it("Sound",Character.Torso)
  316. Fire.SoundId = "rbxassetid://192104941"
  317. Fire.Looped = true
  318. Fire.Pitch = 1
  319. Fire.Volume = 1
  320. local fire = Instance.new("ParticleEmitter", Character.Torso)
  321. fire.Lifetime = NumberRange.new(0.5)
  322. fire.Speed = NumberRange.new(1, 3)
  323. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  324. fire.Rate = 0
  325. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  326. fire.LightEmission = 0.6
  327. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  328. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  329. Fire:Play()
  330. fire.Enabled = true
  331. fire.Rate =2000
  332. so("http://www.roblox.com/asset/?id=393884633",Head,1,0.9)
  333. for i=0,1,0.05 do
  334. swait()
  335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  337. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(210),math.rad(0),math.rad(0)),.2)
  338. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  339. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  340. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  341. end
  342. for i = 0, 0.5, .01 do
  343. for _, hat in pairs(Character:GetChildren()) do
  344. if hat:IsA("Accessory") then
  345. hat.Handle.Transparency = i
  346. end
  347. end
  348. LeftLeg.Transparency = i
  349. LeftArm.Transparency = i
  350. Torso.Transparency = i
  351. RightLeg.Transparency = i
  352. RightArm.Transparency = i
  353. Head.Transparency = i
  354. wait()
  355. end
  356. for i=0,1,0.05 do
  357. swait()
  358. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  359. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-10),math.rad(0)),.4)
  360. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(30)),.2)
  361. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  362. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  363. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  364. end
  365. for i = 0.5,1, .01 do
  366. for _, hat in pairs(Character:GetChildren()) do
  367. if hat:IsA("Accessory") then
  368. hat.Handle.Transparency = i
  369. end
  370. end
  371. LeftLeg.Transparency = i
  372. LeftArm.Transparency = i
  373. Torso.Transparency = i
  374. RightLeg.Transparency = i
  375. RightArm.Transparency = i
  376. Head.Transparency = i
  377. wait()
  378. end
  379. fire.Enabled = false
  380. fire.Rate = 0
  381. wait(4)
  382. LeftArm.BrickColor = BrickColor.new("Really black")
  383. LeftLeg.BrickColor = BrickColor.new("Really black")
  384. RightArm.BrickColor = BrickColor.new("Really black")
  385. RightLeg.BrickColor = BrickColor.new("Really black")
  386. Head.BrickColor = BrickColor.new("Really black")
  387. Torso.BrickColor = BrickColor.new("Really black")
  388. for _, hat in pairs(Character:GetChildren()) do
  389. if hat:IsA("Accessory") then
  390. hat.Handle.Mesh.TextureId = ""
  391. hat.Handle.BrickColor = BrickColor.new("Really black")
  392. end
  393. end
  394. for i = 1,0, -0.1 do
  395. for _, hat in pairs(Character:GetChildren()) do
  396. if hat:IsA("Accessory") then
  397. hat.Handle.Transparency = i
  398. end
  399. end
  400. LeftLeg.Transparency = i
  401. LeftArm.Transparency = i
  402. Torso.Transparency = i
  403. RightLeg.Transparency = i
  404. RightArm.Transparency = i
  405. Head.Transparency = i
  406. wait()
  407. end
  408. for i=0,1,0.05 do
  409. swait()
  410. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  411. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  412. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  413. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  414. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  415. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  416. end
  417. --209322206
  418. mmmblood = Instance.new("Sound")
  419. mmmblood.SoundId = "rbxassetid://209322206"
  420. mmmblood.Looped = true
  421. mmmblood.Volume = 6
  422. mmmblood.Parent = workspace
  423. mmmblood:Play()
  424. Head.face.Texture = "http://www.roblox.com/asset/?id=743116128"
  425. wait(4)
  426. for i=0,1,0.05 do
  427. swait()
  428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  429. end
  430. Humanoid.WalkSpeed = 8
  431. ----------------------------------
  432. --Weapon--
  433. --[[ Leaked by CLarramore ]]--
  434. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  435. -- I am now spreading this on
  436. -- You can now make ur edits with this
  437. -- ENTIRELY OPEN SOURCED!!!! YAY!
  438. -- 1337 views. l0l
  439. -- NightOwlAce dont kill me
  440. Player=game:GetService("Players").LocalPlayer
  441. Character=Player.Character
  442. PlayerGui=Player.PlayerGui
  443. Backpack=Player.Backpack
  444. Torso=Character.Torso
  445. Head=Character.Head
  446. Humanoid=Character.Humanoid
  447. m=Instance.new('Model',Character)
  448. LeftArm=Character["Left Arm"]
  449. LeftLeg=Character["Left Leg"]
  450. RightArm=Character["Right Arm"]
  451. RightLeg=Character["Right Leg"]
  452. LS=Torso["Left Shoulder"]
  453. LH=Torso["Left Hip"]
  454. RS=Torso["Right Shoulder"]
  455. RH=Torso["Right Hip"]
  456. Face = Head.face
  457. Neck=Torso.Neck
  458. it=Instance.new
  459. attacktype=1
  460. vt=Vector3.new
  461. cf=CFrame.new
  462. euler=CFrame.fromEulerAnglesXYZ
  463. angles=CFrame.Angles
  464. cloaked=false
  465. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  466. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  467. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  468. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  469. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  470. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  471. RootPart=Character.HumanoidRootPart
  472. RootJoint=RootPart.RootJoint
  473. RootCF=euler(-1.57,0,3.14)
  474. attack = false
  475. attackdebounce = false
  476. deb=false
  477. equipped=true
  478. hand=false
  479. MMouse=nil
  480. combo=0
  481. mana=0
  482. trispeed=1
  483. pathtrans=.7
  484. attackmode='none'
  485. local idle=0
  486. local Anim="Idle"
  487. local Effects={}
  488. local gun=false
  489. local shoot=false
  490. player=nil
  491. cloak=false
  492. lightcolor='Bright blue'
  493.  
  494. local Color1=Torso.BrickColor
  495.  
  496. local fengui=it("GuiMain")
  497. fengui.Parent=Player.PlayerGui
  498. fengui.Name="WeaponGUI"
  499. local fenframe=it("Frame")
  500. fenframe.Parent=fengui
  501. fenframe.BackgroundColor3=Color3.new(255,255,255)
  502. fenframe.BackgroundTransparency=1
  503. fenframe.BorderColor3=Color3.new(17,17,17)
  504. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  505. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  506. local fenbarmana1=it("TextLabel")
  507. fenbarmana1.Parent=fenframe
  508. fenbarmana1.Text=" "
  509. fenbarmana1.BackgroundTransparency=0
  510. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  511. fenbarmana1.SizeConstraint="RelativeXY"
  512. fenbarmana1.TextXAlignment="Center"
  513. fenbarmana1.TextYAlignment="Center"
  514. fenbarmana1.Position=UDim2.new(0,0,0,0)
  515. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  516. local fenbarmana2=it("TextLabel")
  517. fenbarmana2.Parent=fenframe
  518. fenbarmana2.Text=" "
  519. fenbarmana2.BackgroundTransparency=0
  520. fenbarmana2.BackgroundColor3=Torso.Color
  521. fenbarmana2.SizeConstraint="RelativeXY"
  522. fenbarmana2.TextXAlignment="Center"
  523. fenbarmana2.TextYAlignment="Center"
  524. fenbarmana2.Position=UDim2.new(0,0,0,0)
  525. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  526. local fenbarmana3=it("TextLabel")
  527. fenbarmana3.Parent=fenframe
  528. fenbarmana3.Text=" "
  529. fenbarmana3.BackgroundTransparency=0
  530. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  531. fenbarmana3.SizeConstraint="RelativeXY"
  532. fenbarmana3.TextXAlignment="Center"
  533. fenbarmana3.TextYAlignment="Center"
  534. fenbarmana3.Position=UDim2.new(0,0,0,0)
  535. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  536. local fenbarmana4=it("TextLabel")
  537. fenbarmana4.Parent=fenframe
  538. fenbarmana4.Text="Energy("..mana..")"
  539. fenbarmana4.BackgroundTransparency=1
  540. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  541. fenbarmana4.SizeConstraint="RelativeXY"
  542. fenbarmana4.TextXAlignment="Center"
  543. fenbarmana4.TextYAlignment="Center"
  544. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  545. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  546. fenbarmana4.FontSize="Size9"
  547. fenbarmana4.TextStrokeTransparency=0
  548. fenbarmana4.TextColor=BrickColor.new("White")
  549.  
  550. mouse=Player:GetMouse()
  551. --save shoulders
  552. RSH, LSH=nil, nil
  553. --welds
  554. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  555. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  556. LH=Torso["Left Hip"]
  557. RH=Torso["Right Hip"]
  558. TorsoColor=Torso.BrickColor
  559. function NoOutline(Part)
  560. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  561. end
  562. player=Player
  563. ch=Character
  564. RSH=ch.Torso["Right Shoulder"]
  565. LSH=ch.Torso["Left Shoulder"]
  566. --
  567. RSH.Parent=nil
  568. LSH.Parent=nil
  569. --
  570. RW.Name="Right Shoulder"
  571. RW.Part0=ch.Torso
  572. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  573. RW.C1=cf(0, 0.5, 0)
  574. RW.Part1=ch["Right Arm"]
  575. RW.Parent=ch.Torso
  576. --
  577. LW.Name="Left Shoulder"
  578. LW.Part0=ch.Torso
  579. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  580. LW.C1=cf(0, 0.5, 0)
  581. LW.Part1=ch["Left Arm"]
  582. LW.Parent=ch.Torso
  583.  
  584. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  585. local fp=it("Part")
  586. fp.formFactor=formfactor
  587. fp.Parent=parent
  588. fp.Reflectance=reflectance
  589. fp.Transparency=transparency
  590. fp.CanCollide=false
  591. fp.Locked=true
  592. fp.BrickColor=brickcolor
  593. fp.Name=name
  594. fp.Size=size
  595. fp.Position=Torso.Position
  596. NoOutline(fp)
  597. fp.Material="Neon"
  598. fp:BreakJoints()
  599. return fp
  600. end
  601.  
  602. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  603. local mesh=it(Mesh)
  604. mesh.Parent=part
  605. if Mesh=="SpecialMesh" then
  606. mesh.MeshType=meshtype
  607. if meshid~="nil" then
  608. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  609. end
  610. end
  611. mesh.Offset=offset
  612. mesh.Scale=scale
  613. return mesh
  614. end
  615.  
  616. function weld(parent,part0,part1,c0)
  617. local weld=it("Weld")
  618. weld.Parent=parent
  619. weld.Part0=part0
  620. weld.Part1=part1
  621. weld.C0=c0
  622. return weld
  623. end
  624.  
  625. local Color1=Torso.BrickColor
  626.  
  627. local bodvel=Instance.new("BodyVelocity")
  628. local bg=Instance.new("BodyGyro")
  629.  
  630. function swait(num)
  631. if num==0 or num==nil then
  632. game:service'RunService'.Stepped:wait(0)
  633. else
  634. for i=0,num do
  635. game:service'RunService'.Stepped:wait(0)
  636. end
  637. end
  638. end
  639.  
  640.  
  641. so = function(id,par,vol,pit)
  642. coroutine.resume(coroutine.create(function()
  643. local sou = Instance.new("Sound",par or workspace)
  644. sou.Volume=vol
  645. sou.Pitch=pit or 1
  646. sou.SoundId=id
  647. swait()
  648. sou:play()
  649. game:GetService("Debris"):AddItem(sou,6)
  650. end))
  651. end
  652.  
  653. function clerp(a,b,t)
  654. local qa = {QuaternionFromCFrame(a)}
  655. local qb = {QuaternionFromCFrame(b)}
  656. local ax, ay, az = a.x, a.y, a.z
  657. local bx, by, bz = b.x, b.y, b.z
  658. local _t = 1-t
  659. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  660. end
  661.  
  662. function QuaternionFromCFrame(cf)
  663. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  664. local trace = m00 + m11 + m22
  665. if trace > 0 then
  666. local s = math.sqrt(1 + trace)
  667. local recip = 0.5/s
  668. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  669. else
  670. local i = 0
  671. if m11 > m00 then
  672. i = 1
  673. end
  674. if m22 > (i == 0 and m00 or m11) then
  675. i = 2
  676. end
  677. if i == 0 then
  678. local s = math.sqrt(m00-m11-m22+1)
  679. local recip = 0.5/s
  680. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  681. elseif i == 1 then
  682. local s = math.sqrt(m11-m22-m00+1)
  683. local recip = 0.5/s
  684. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  685. elseif i == 2 then
  686. local s = math.sqrt(m22-m00-m11+1)
  687. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  688. end
  689. end
  690. end
  691.  
  692. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  693. local xs, ys, zs = x + x, y + y, z + z
  694. local wx, wy, wz = w*xs, w*ys, w*zs
  695. local xx = x*xs
  696. local xy = x*ys
  697. local xz = x*zs
  698. local yy = y*ys
  699. local yz = y*zs
  700. local zz = z*zs
  701. 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))
  702. end
  703.  
  704. function QuaternionSlerp(a, b, t)
  705. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  706. local startInterp, finishInterp;
  707. if cosTheta >= 0.0001 then
  708. if (1 - cosTheta) > 0.0001 then
  709. local theta = math.acos(cosTheta)
  710. local invSinTheta = 1/math.sin(theta)
  711. startInterp = math.sin((1-t)*theta)*invSinTheta
  712. finishInterp = math.sin(t*theta)*invSinTheta
  713. else
  714. startInterp = 1-t
  715. finishInterp = t
  716. end
  717. else
  718. if (1+cosTheta) > 0.0001 then
  719. local theta = math.acos(-cosTheta)
  720. local invSinTheta = 1/math.sin(theta)
  721. startInterp = math.sin((t-1)*theta)*invSinTheta
  722. finishInterp = math.sin(t*theta)*invSinTheta
  723. else
  724. startInterp = t-1
  725. finishInterp = t
  726. end
  727. end
  728. 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
  729. end
  730.  
  731. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  732. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  733. end
  734.  
  735. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  736. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  737. prt.Anchored=true
  738. prt.CFrame=cframe
  739. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  740. --http://www.roblox.com/asset/?id=4770560
  741. game:GetService("Debris"):AddItem(prt,2)
  742. CF=prt.CFrame
  743. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  744. for i=0,1,0.2 do
  745. wait()
  746. Part.CFrame=CF*cf(0,0,-0.4)
  747. end
  748. for i=0,1,delay do
  749. wait()
  750. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  751. Mesh.Scale=Mesh.Scale
  752. end
  753. for i=0,1,0.1 do
  754. wait()
  755. Part.Transparency=i
  756. end
  757. Part.Parent=nil
  758. end),prt,msh,CF)
  759. end
  760.  
  761. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  762. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  763. prt.Anchored=true
  764. prt.CFrame=cframe
  765. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  766. game:GetService("Debris"):AddItem(prt,5)
  767. coroutine.resume(coroutine.create(function(Part,Mesh)
  768. for i=0,1,delay do
  769. wait()
  770. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  771. Part.Transparency=i
  772. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  773. end
  774. Part.Parent=nil
  775. end),prt,msh)
  776. end
  777.  
  778. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  779. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  780. prt.Anchored=false
  781. prt.CFrame=cframe
  782. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  783. local wld=weld(prt,prt,Parent,cframe)
  784. game:GetService("Debris"):AddItem(prt,5)
  785. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  786. for i=0,1,delay do
  787. wait()
  788. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  789. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  790. Part.Transparency=i
  791. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  792. end
  793. Part.Parent=nil
  794. end),prt,msh,wld)
  795. end
  796.  
  797. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  798. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  799. prt.Anchored=false
  800. prt.CFrame=cframe
  801. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  802. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  803. game:GetService("Debris"):AddItem(prt,5)
  804. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  805. for i=0,1,delay do
  806. wait()
  807. Weld.C0=euler(i*20,0,0)
  808. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  809. Part.Transparency=i
  810. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  811. end
  812. Part.Parent=nil
  813. end),prt,msh,wld)
  814. end
  815.  
  816. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  817. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  818. prt.Anchored=true
  819. prt.CFrame=cframe
  820. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  821. game:GetService("Debris"):AddItem(prt,2)
  822. coroutine.resume(coroutine.create(function(Part,Mesh)
  823. for i=0,1,delay do
  824. wait()
  825. Part.CFrame=Part.CFrame
  826. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  827. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  828. prt2.Anchored=true
  829. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  830. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  831. game:GetService("Debris"):AddItem(prt2,2)
  832. coroutine.resume(coroutine.create(function(Part,Mesh)
  833. for i=0,1,0.1 do
  834. wait()
  835. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  836. end
  837. Part.Parent=nil
  838. end),prt2,msh2)
  839. end
  840. for i=0,1,delay*2 do
  841. wait()
  842. Part.CFrame=Part.CFrame
  843. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  844. end
  845. Part.Parent=nil
  846. end),prt,msh)
  847. end
  848.  
  849. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  850. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  851. prt.Anchored=true
  852. prt.CFrame=cframe
  853. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  854. game:GetService("Debris"):AddItem(prt,2)
  855. coroutine.resume(coroutine.create(function(Part,Mesh)
  856. for i=0,1,delay do
  857. wait()
  858. Part.CFrame=Part.CFrame
  859. Part.Transparency=i
  860. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  861. end
  862. Part.Parent=nil
  863. end),prt,msh)
  864. end
  865.  
  866. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  867. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  868. prt.Anchored=true
  869. prt.CFrame=cframe*euler(x2,y2,z2)
  870. --"http://www.roblox.com/asset/?id=168892465"
  871. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  872. game:GetService("Debris"):AddItem(prt,2)
  873. coroutine.resume(coroutine.create(function(Part,Mesh)
  874. for i=0,1,0.03 do
  875. wait()
  876. Part.CFrame=Part.CFrame
  877. Part.Transparency=i
  878. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  879. end
  880. Part.Parent=nil
  881. end),prt,msh)
  882. end
  883.  
  884. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  885. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  886. prt.Anchored=true
  887. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  888. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  889. game:GetService("Debris"):AddItem(prt,2)
  890. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  891. CF=Part.CFrame
  892. Numbb=0
  893. randnumb=math.random()/10
  894. rand1=math.random()/10
  895. for i=0,1,rand1 do
  896. wait()
  897. CF=CF*cf(0,math.random()/2,0)
  898. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  899. Part.CFrame=CF*euler(Numbb,0,0)
  900. Part.Transparency=i
  901. Numbb=Numbb+randnumb
  902. end
  903. Part.Parent=nil
  904. end),prt,CF,Numbb,randnumb)
  905. end
  906.  
  907. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  908. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  909. prt.Anchored=true
  910. prt.CFrame=cframe
  911. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  912. game:GetService("Debris"):AddItem(prt,5)
  913. coroutine.resume(coroutine.create(function(Part,Mesh)
  914. for i=0,1,delay do
  915. wait()
  916. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  917. Part.Transparency=i
  918. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  919. end
  920. Part.Parent=nil
  921. end),prt,msh)
  922. end
  923.  
  924. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  925. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  926. prt.Anchored=true
  927. prt.CFrame=cframe
  928. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  929. game:GetService("Debris"):AddItem(prt,2)
  930. coroutine.resume(coroutine.create(function(Part,Mesh)
  931. for i=0,1,delay do
  932. wait()
  933. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  934. Part.Transparency=i
  935. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  936. end
  937. Part.Parent=nil
  938. end),prt,msh)
  939. end
  940.  
  941. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  942. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  943. prt.Anchored=true
  944. prt.CFrame=cframe*cf(x,y,z)
  945. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  946. game:GetService("Debris"):AddItem(prt,5)
  947. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  948. local num=math.random()
  949. local num2=math.random(-3,2)+math.random()
  950. local numm=0
  951. for i=0,1,delay*2 do
  952. swait()
  953. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  954. Part.Transparency=i
  955. numm=numm+0.01
  956. end
  957. Part.Parent=nil
  958. Mesh.Parent=nil
  959. end),prt,msh,x,y,z)
  960. end
  961.  
  962. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  963. if hit.Parent==nil then
  964. return
  965. end
  966. h=hit.Parent:FindFirstChild("Humanoid")
  967. for _,v in pairs(hit.Parent:children()) do
  968. if v:IsA("Humanoid") then
  969. h=v
  970. end
  971. end
  972. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  973. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  974. end
  975. if hit.Parent.className=="Hat" then
  976. hit=hit.Parent.Parent:findFirstChild("Head")
  977. end
  978. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  979. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  980. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  981. return
  982. end]]
  983. -- hs(hit,1.2)
  984. c=Instance.new("ObjectValue")
  985. c.Name="creator"
  986. c.Value=game:service("Players").LocalPlayer
  987. c.Parent=h
  988. game:GetService("Debris"):AddItem(c,.5)
  989. Damage=math.random(minim,maxim)
  990. -- h:TakeDamage(Damage)
  991. blocked=false
  992. block=hit.Parent:findFirstChild("Block")
  993. if block~=nil then
  994. print(block.className)
  995. if block.className=="NumberValue" then
  996. if block.Value>0 then
  997. blocked=true
  998. if decreaseblock==nil then
  999. block.Value=block.Value-1
  1000. end
  1001. end
  1002. end
  1003. if block.className=="IntValue" then
  1004. if block.Value>0 then
  1005. blocked=true
  1006. if decreaseblock~=nil then
  1007. block.Value=block.Value-1
  1008. end
  1009. end
  1010. end
  1011. end
  1012. if blocked==false then
  1013. -- h:TakeDamage(Damage)
  1014. h.Health=h.Health-Damage
  1015. showDamage(hit.Parent,Damage,.5,TorsoColor)
  1016. else
  1017. h.Health=h.Health-(Damage/2)
  1018. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1019. end
  1020. if Type=="Knockdown" then
  1021. hum=hit.Parent.Humanoid
  1022. hum.PlatformStand=true
  1023. coroutine.resume(coroutine.create(function(HHumanoid)
  1024. swait(1)
  1025. HHumanoid.PlatformStand=false
  1026. end),hum)
  1027. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1028. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1029. local bodvol=Instance.new("BodyVelocity")
  1030. bodvol.velocity=angle*knockback
  1031. bodvol.P=5000
  1032. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1033. bodvol.Parent=hit
  1034. rl=Instance.new("BodyAngularVelocity")
  1035. rl.P=3000
  1036. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1037. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1038. rl.Parent=hit
  1039. game:GetService("Debris"):AddItem(bodvol,.5)
  1040. game:GetService("Debris"):AddItem(rl,.5)
  1041. elseif Type=="Normal" then
  1042. vp=Instance.new("BodyVelocity")
  1043. vp.P=500
  1044. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1045. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1046. if KnockbackType==1 then
  1047. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1048. elseif KnockbackType==2 then
  1049. vp.velocity=Property.CFrame.lookVector*knockback
  1050. end
  1051. if knockback>0 then
  1052. vp.Parent=hit.Parent.Torso
  1053. end
  1054. game:GetService("Debris"):AddItem(vp,.5)
  1055. elseif Type=="Up" then
  1056. local bodyVelocity=Instance.new("BodyVelocity")
  1057. bodyVelocity.velocity=vt(0,10,0)
  1058. bodyVelocity.P=1000
  1059. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  1060. bodyVelocity.Parent=hit
  1061. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1062. rl=Instance.new("BodyAngularVelocity")
  1063. rl.P=3000
  1064. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1065. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1066. rl.Parent=hit
  1067. game:GetService("Debris"):AddItem(rl,.5)
  1068. elseif Type=="Snare" then
  1069. bp=Instance.new("BodyPosition")
  1070. bp.P=2000
  1071. bp.D=100
  1072. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1073. bp.position=hit.Parent.Torso.Position
  1074. bp.Parent=hit.Parent.Torso
  1075. game:GetService("Debris"):AddItem(bp,1)
  1076. elseif Type=="Target" then
  1077. if Targetting==false then
  1078. ZTarget=hit.Parent.Torso
  1079. coroutine.resume(coroutine.create(function(Part)
  1080. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1081. swait(5)
  1082. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1083. end),ZTarget)
  1084. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1085. targetgui=Instance.new("BillboardGui")
  1086. targetgui.Parent=ZTarget
  1087. targetgui.Size=UDim2.new(10,100,10,100)
  1088. targ=Instance.new("ImageLabel")
  1089. targ.Parent=targetgui
  1090. targ.BackgroundTransparency=1
  1091. targ.Image="rbxassetid://4834067"
  1092. targ.Size=UDim2.new(1,0,1,0)
  1093. cam.CameraType="Scriptable"
  1094. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1095. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1096. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1097. Targetting=true
  1098. RocketTarget=ZTarget
  1099. for i=1,Property do
  1100. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1101. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1102. swait()
  1103. end
  1104. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1105. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1106. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1107. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1108. end
  1109. Targetting=false
  1110. RocketTarget=nil
  1111. targetgui.Parent=nil
  1112. cam.CameraType="Custom"
  1113. end
  1114. end
  1115. debounce=Instance.new("BoolValue")
  1116. debounce.Name="DebounceHit"
  1117. debounce.Parent=hit.Parent
  1118. debounce.Value=true
  1119. game:GetService("Debris"):AddItem(debounce,Delay)
  1120. c=Instance.new("ObjectValue")
  1121. c.Name="creator"
  1122. c.Value=Player
  1123. c.Parent=h
  1124. game:GetService("Debris"):AddItem(c,.5)
  1125. CRIT=false
  1126. hitDeb=true
  1127. AttackPos=6
  1128. end
  1129. end
  1130.  
  1131. showDamage=function(Char,Dealt,du,Color)
  1132. m=Instance.new("Model")
  1133. m.Name=tostring(Dealt)
  1134. h=Instance.new("Humanoid")
  1135. h.Health=0
  1136. h.MaxHealth=0
  1137. h.Parent=m
  1138. c=Instance.new("Part")
  1139. c.Transparency=0
  1140. c.BrickColor=TorsoColor
  1141. c.Name="Head"
  1142. c.TopSurface=0
  1143. c.BottomSurface=0
  1144. c.formFactor="Plate"
  1145. c.Size=Vector3.new(1,.4,1)
  1146. ms=Instance.new("CylinderMesh")
  1147. ms.Scale=Vector3.new(.8,.8,.8)
  1148. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  1149. if CRIT==true then
  1150. ms.Scale=Vector3.new(1,1.25,1)
  1151. end
  1152. ms.Parent=c
  1153. c.Reflectance=0
  1154. Instance.new("BodyGyro").Parent=c
  1155. c.Parent=m
  1156. if Char:findFirstChild("Head")~=nil then
  1157. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1158. elseif Char.Parent:findFirstChild("Head")~=nil then
  1159. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1160. end
  1161. f=Instance.new("BodyPosition")
  1162. f.P=2000
  1163. f.D=100
  1164. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1165. f.position=c.Position+Vector3.new(0,3,0)
  1166. f.Parent=c
  1167. game:GetService("Debris"):AddItem(m,.5+du)
  1168. c.CanCollide=false
  1169. m.Parent=workspace
  1170. c.CanCollide=false
  1171. end
  1172.  
  1173. Player=game:GetService('Players').LocalPlayer
  1174. Character=Player.Character
  1175. Mouse=Player:GetMouse()
  1176. m=Instance.new('Model',Character)
  1177.  
  1178.  
  1179. local function weldBetween(a, b)
  1180. local weldd = Instance.new("ManualWeld")
  1181. weldd.Part0 = a
  1182. weldd.Part1 = b
  1183. weldd.C0 = CFrame.new()
  1184. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1185. weldd.Parent = a
  1186. return weldd
  1187. end
  1188.  
  1189. it=Instance.new
  1190.  
  1191. function nooutline(part)
  1192. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1193. end
  1194.  
  1195. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1196. local fp=it("Part")
  1197. fp.formFactor=formfactor
  1198. fp.Parent=parent
  1199. fp.Reflectance=reflectance
  1200. fp.Transparency=transparency
  1201. fp.CanCollide=false
  1202. fp.Locked=true
  1203. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1204. fp.Name=name
  1205. fp.Size=size
  1206. fp.Position=Character.Torso.Position
  1207. nooutline(fp)
  1208. fp.Material=material
  1209. fp:BreakJoints()
  1210. return fp
  1211. end
  1212.  
  1213. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1214. local mesh=it(Mesh)
  1215. mesh.Parent=part
  1216. if Mesh=="SpecialMesh" then
  1217. mesh.MeshType=meshtype
  1218. mesh.MeshId=meshid
  1219. end
  1220. mesh.Offset=offset
  1221. mesh.Scale=scale
  1222. return mesh
  1223. end
  1224.  
  1225. function weld(parent,part0,part1,c0,c1)
  1226. local weld=it("Weld")
  1227. weld.Parent=parent
  1228. weld.Part0=part0
  1229. weld.Part1=part1
  1230. weld.C0=c0
  1231. weld.C1=c1
  1232. return weld
  1233. end
  1234.  
  1235. local modelzorz=Instance.new("Model")
  1236. modelzorz.Parent=Character
  1237. modelzorz.Name="Claw1"
  1238.  
  1239. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  1240. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  1241. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1242. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1243. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  1244. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1245. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  1246. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1247. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1248. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  1249. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1250. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  1251. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1252. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  1253. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1254. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  1255. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1256. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  1257. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1258. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  1259. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1260. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  1261. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1262. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  1263. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1264. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  1265. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1266. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1267. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  1268. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1269. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  1270. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1271. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1272. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  1273. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1274. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1275. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  1276. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1277. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1278. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  1279. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1280.  
  1281. local modelzorz2=Instance.new("Model")
  1282. modelzorz2.Parent=Character
  1283. modelzorz2.Name="Claw2"
  1284.  
  1285. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  1286. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  1287. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1288. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1289. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  1290. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1291. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  1292. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1293. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  1294. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1295. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  1296. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1297. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1298. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  1299. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1300. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1301. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  1302. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1303. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  1304. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1305. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1306. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  1307. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1308. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  1309. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1310. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1311. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  1312. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1313. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  1314. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1315. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1316. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  1317. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1318. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  1319. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1320. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  1321. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1322. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  1323. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1324. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  1325. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  1326.  
  1327. local modelzorz3=Instance.new("Model")
  1328. modelzorz3.Parent=Character
  1329. modelzorz3.Name="Eye"
  1330.  
  1331. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1332. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1333. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1334. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1335. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1336. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  1337. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1338. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1339. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  1340. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  1341. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1342. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  1343. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  1344. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  1345. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  1346. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1347. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  1348. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1349. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1350. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1351. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  1352. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1353. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  1354. local moosick = it("Sound",Character)
  1355. moosick.SoundId = "rbxassetid://142653441"
  1356. --142653441, 175067863
  1357. moosick.Looped = true
  1358. moosick.Pitch = 1
  1359. moosick.Volume = 0
  1360. moosick:Play()
  1361.  
  1362. anim = Character:findFirstChild("Animate")
  1363. if anim then
  1364. anim:Destroy()
  1365. end
  1366.  
  1367. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1368. particleemitter.VelocitySpread = 180
  1369. particleemitter.Lifetime = NumberRange.new(0.1)
  1370. particleemitter.Speed = NumberRange.new(2)
  1371. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1372. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1373. particleemitter.Rate = 100
  1374. particleemitter.Rotation = NumberRange.new(-45, 45)
  1375. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1376. particleemitter.LightEmission = 0
  1377. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1378.  
  1379. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1380. particleemitter.VelocitySpread = 180
  1381. particleemitter.Lifetime = NumberRange.new(0.1)
  1382. particleemitter.Speed = NumberRange.new(2)
  1383. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1384. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1385. particleemitter.Rate = 100
  1386. particleemitter.Rotation = NumberRange.new(-45, 45)
  1387. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1388. particleemitter.LightEmission = 0
  1389. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1390.  
  1391. local particleemitter = Instance.new("ParticleEmitter", handle)
  1392. particleemitter.VelocitySpread = 180
  1393. particleemitter.Lifetime = NumberRange.new(0.1)
  1394. particleemitter.Speed = NumberRange.new(2)
  1395. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1396. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1397. particleemitter.Rate = 100
  1398. particleemitter.Rotation = NumberRange.new(-45, 45)
  1399. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1400. particleemitter.LightEmission = 0.8
  1401. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1402.  
  1403. local light = Instance.new("PointLight", Character.Torso)
  1404. light.Color = Color3.new(255,255,255)
  1405. light.Brightness = 5
  1406. light.Range = 15
  1407.  
  1408. particleemitter.Enabled = true
  1409.  
  1410. local Footsteps = it("Sound",Character.Torso)
  1411. Footsteps.SoundId = "rbxassetid://142665235"
  1412. Footsteps.Looped = true
  1413. Footsteps.Pitch = 0.8
  1414. Footsteps.Volume = 0.3
  1415.  
  1416. local Footsteps2 = it("Sound",Character.Torso)
  1417. Footsteps2.SoundId = "rbxassetid://142665235"
  1418. Footsteps2.Looped = true
  1419. Footsteps2.Pitch = 1
  1420. Footsteps2.Volume = 0.4
  1421.  
  1422. local cam = game.Workspace.CurrentCamera
  1423.  
  1424. --cam.CameraSubject = Character
  1425.  
  1426. for i,v in pairs(Head:children()) do
  1427. if v:IsA("Sound") then
  1428. v:Destroy()
  1429. end
  1430. end
  1431.  
  1432. mouse.Button1Down:connect(function()
  1433. if attack==false and attacktype==1 then
  1434. attacktype=2
  1435. attackone()
  1436. elseif attack==false and attacktype==2 then
  1437. attacktype=3
  1438. attacktwo()
  1439. elseif attack==false and attacktype==3 then
  1440. attacktype=4
  1441. attackthree()
  1442. elseif attack==false and attacktype==4 then
  1443. attacktype=1
  1444. attackfour()
  1445. end
  1446. end)
  1447.  
  1448. mouse.KeyDown:connect(function(k)
  1449. k=k:lower()
  1450. if k=='e' then
  1451. if attack==false and mana>=20 then
  1452. Push()
  1453. end
  1454. elseif k=='g' then
  1455. if attack==false and mana>=50 then
  1456. Twirl()
  1457. end
  1458. elseif k=='v' then
  1459. if attack==false and mana>=25 then
  1460. MagicJump()
  1461. end
  1462. elseif k=='q' then
  1463. if attack==false then
  1464. idle=1000
  1465. end
  1466. elseif k=='h' then
  1467. if attack==false then
  1468. mana=100
  1469. end
  1470. elseif k=='y' then
  1471. if attack==false and mana>=100 then
  1472. Shred()
  1473. end
  1474. elseif k=='f' then
  1475. if attack==false and mana>=40 then
  1476. Spin()
  1477. end
  1478. elseif k=='r' then
  1479. if attack==false and mana>=20 then
  1480. Clap()
  1481. end
  1482. elseif k=='t' then
  1483. if attack==false then
  1484. Hai()
  1485. end
  1486. elseif k=='0' then
  1487. if attack==false then
  1488. Humanoid.WalkSpeed=(24)
  1489. end
  1490. elseif k=='j' then
  1491. if attack==false then
  1492. Humanoid.Health = 10
  1493. print("Congrats, you commited suicide.")
  1494. end
  1495. end
  1496. end)
  1497.  
  1498. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1499. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1500. prt.Anchored=true
  1501. prt.CFrame=cframe
  1502. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1503. game:GetService("Debris"):AddItem(prt,2)
  1504. coroutine.resume(coroutine.create(function(Part,Mesh)
  1505. for i=0,1,delay do
  1506. wait()
  1507. Part.CFrame=Part.CFrame
  1508. Part.Transparency=i
  1509. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1510. end
  1511. Part.Parent=nil
  1512. end),prt,msh)
  1513. end
  1514.  
  1515. TrailDeb = false
  1516.  
  1517. function equipanim()
  1518. attack=true
  1519. Humanoid.WalkSpeed = 0
  1520. if TrailDeb == false then
  1521. TrailDeb = true
  1522. end
  1523.  
  1524.  
  1525. coroutine.wrap(function()
  1526. local Old = handle.CFrame.p
  1527. while wait()do
  1528. if not TrailDeb then break end
  1529. local New = handle.CFrame.p
  1530. local Mag =(Old -New).magnitude
  1531. local Dis =(Old +New)/2
  1532. local Trail = Instance.new("Part",Character)
  1533. Trail.Material = "Neon"
  1534. Trail.Anchored = true
  1535. Trail.CanCollide = false
  1536. Trail.BrickColor = TorsoColor
  1537. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1538. Trail.TopSurface = 0
  1539. Trail.BottomSurface = 0
  1540. Trail.formFactor = "Custom"
  1541. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1542. local ms = Instance.new("BlockMesh",Trail)
  1543. ms.Scale = Vector3.new(1,1,1)
  1544. local TM = Instance.new("CylinderMesh",Trail)
  1545. TM.Scale = Vector3.new(1,1,1)
  1546. Old = New
  1547. coroutine.wrap(function()
  1548. for i = 1,0,-0.1 do
  1549. wait()
  1550. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1551. end
  1552. Trail:remove()
  1553. end)()
  1554. coroutine.wrap(function()
  1555. for i = 1,10 do
  1556. wait()
  1557. Trail.Transparency = Trail.Transparency +0.1
  1558. end end)()end end)()
  1559. coroutine.wrap(function()
  1560. local Old = Handle.CFrame.p
  1561. while wait()do
  1562. if not TrailDeb then break end
  1563. local New = Handle.CFrame.p
  1564. local Mag =(Old -New).magnitude
  1565. local Dis =(Old +New)/2
  1566. local Trail = Instance.new("Part",Character)
  1567. Trail.Material = "Neon"
  1568. Trail.Anchored = true
  1569. Trail.CanCollide = false
  1570. Trail.BrickColor = TorsoColor
  1571. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1572. Trail.TopSurface = 0
  1573. Trail.BottomSurface = 0
  1574. Trail.formFactor = "Custom"
  1575. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1576. local ms = Instance.new("BlockMesh",Trail)
  1577. ms.Scale = Vector3.new(1,1,1)
  1578. local TM = Instance.new("CylinderMesh",Trail)
  1579. TM.Scale = Vector3.new(1,1,1)
  1580. Old = New
  1581. coroutine.wrap(function()
  1582. for i = 1,0,-0.1 do
  1583. wait()
  1584. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1585. end
  1586. Trail:remove()
  1587. end)()
  1588. coroutine.wrap(function()
  1589. for i = 1,10 do
  1590. wait()
  1591. Trail.Transparency = Trail.Transparency +0.1
  1592. end end)()end end)()
  1593. coroutine.wrap(function()
  1594. local Old = Handle2.CFrame.p
  1595. while wait()do
  1596. if not TrailDeb then break end
  1597. local New = Handle2.CFrame.p
  1598. local Mag =(Old -New).magnitude
  1599. local Dis =(Old +New)/2
  1600. local Trail = Instance.new("Part",Character)
  1601. Trail.Material = "Neon"
  1602. Trail.Anchored = true
  1603. Trail.CanCollide = false
  1604. Trail.BrickColor = TorsoColor
  1605. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1606. Trail.TopSurface = 0
  1607. Trail.BottomSurface = 0
  1608. Trail.formFactor = "Custom"
  1609. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1610. local ms = Instance.new("BlockMesh",Trail)
  1611. ms.Scale = Vector3.new(1,1,1)
  1612. local TM = Instance.new("CylinderMesh",Trail)
  1613. TM.Scale = Vector3.new(1,1,1)
  1614. Old = New
  1615. coroutine.wrap(function()
  1616. for i = 1,0,-0.1 do
  1617. wait()
  1618. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1619. end
  1620. Trail:remove()
  1621. end)()
  1622. coroutine.wrap(function()
  1623. for i = 1,10 do
  1624. wait()
  1625. Trail.Transparency = Trail.Transparency +0.1
  1626. end end)()end end)()
  1627. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1628. for i=0,1,0.005 do
  1629. swait()
  1630. moosick.Volume = 0+1*i
  1631. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1632. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1633. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1634. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1635. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1636. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1637. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1638. end
  1639. for i=0,1,0.005 do
  1640. swait()
  1641. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1642. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1643. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1644. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1645. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1646. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1647. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1648. end
  1649. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1650. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1651. for i=0,1,0.005 do
  1652. swait()
  1653. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1654. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1655. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1656. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1657. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1658. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1659. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1660. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1661. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1662. end
  1663. for i=0,1,0.04 do
  1664. swait()
  1665. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1666. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1667. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1668. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1669. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1670. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1671. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1672. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1673. end
  1674. --dmgstop()
  1675. attack=false
  1676. Humanoid.WalkSpeed = 12
  1677. if TrailDeb == true then
  1678. TrailDeb = false
  1679. end
  1680. end
  1681.  
  1682. function attackone()
  1683. attack=true
  1684. if TrailDeb == false then
  1685. TrailDeb = true
  1686. end
  1687.  
  1688.  
  1689. coroutine.wrap(function()
  1690. local Old = Handle.CFrame.p
  1691. while wait()do
  1692. if not TrailDeb then break end
  1693. local New = Handle.CFrame.p
  1694. local Mag =(Old -New).magnitude
  1695. local Dis =(Old +New)/2
  1696. local Trail = Instance.new("Part",Character)
  1697. Trail.Material = "Neon"
  1698. Trail.Anchored = true
  1699. Trail.CanCollide = false
  1700. Trail.BrickColor = TorsoColor
  1701. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1702. Trail.TopSurface = 0
  1703. Trail.BottomSurface = 0
  1704. Trail.formFactor = "Custom"
  1705. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1706. local ms = Instance.new("BlockMesh",Trail)
  1707. ms.Scale = Vector3.new(1,1,1)
  1708. local TM = Instance.new("CylinderMesh",Trail)
  1709. TM.Scale = Vector3.new(1,1,1)
  1710. Old = New
  1711. coroutine.wrap(function()
  1712. for i = 1,0,-0.1 do
  1713. wait()
  1714. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1715. end
  1716. Trail:remove()
  1717. end)()
  1718. coroutine.wrap(function()
  1719. for i = 1,10 do
  1720. wait()
  1721. Trail.Transparency = Trail.Transparency +0.1
  1722. end end)()end end)()
  1723. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  1724. for i=0,1,0.08 do
  1725. swait()
  1726. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1727. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1728. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1729. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1730. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1731. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1732. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1733. end
  1734. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1735. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1736. for i=0,1,0.1 do
  1737. swait()
  1738. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1739. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1740. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1741. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1742. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1743. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1744. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1745. end
  1746. --dmgstop()
  1747. attack=false
  1748. con1:disconnect()
  1749. if TrailDeb == true then
  1750. TrailDeb = false
  1751. end
  1752. end
  1753.  
  1754. function attacktwo()
  1755. attack=true
  1756. if TrailDeb == false then
  1757. TrailDeb = true
  1758. end
  1759.  
  1760.  
  1761. coroutine.wrap(function()
  1762. local Old = Handle2.CFrame.p
  1763. while wait()do
  1764. if not TrailDeb then break end
  1765. local New = Handle2.CFrame.p
  1766. local Mag =(Old -New).magnitude
  1767. local Dis =(Old +New)/2
  1768. local Trail = Instance.new("Part",Character)
  1769. Trail.Material = "Neon"
  1770. Trail.Anchored = true
  1771. Trail.CanCollide = false
  1772. Trail.BrickColor = TorsoColor
  1773. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1774. Trail.TopSurface = 0
  1775. Trail.BottomSurface = 0
  1776. Trail.formFactor = "Custom"
  1777. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1778. local ms = Instance.new("BlockMesh",Trail)
  1779. ms.Scale = Vector3.new(1,1,1)
  1780. local TM = Instance.new("CylinderMesh",Trail)
  1781. TM.Scale = Vector3.new(1,1,1)
  1782. Old = New
  1783. coroutine.wrap(function()
  1784. for i = 1,0,-0.1 do
  1785. wait()
  1786. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1787. end
  1788. Trail:remove()
  1789. end)()
  1790. coroutine.wrap(function()
  1791. for i = 1,10 do
  1792. wait()
  1793. Trail.Transparency = Trail.Transparency +0.1
  1794. end end)()end end)()
  1795. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  1796. for i=0,1,0.08 do
  1797. swait()
  1798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1800. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1801. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1802. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1803. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1804. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1805. end
  1806. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1807. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1808. for i=0,1,0.1 do
  1809. swait()
  1810. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1811. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1812. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1813. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1814. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1815. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1816. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1817. end
  1818. --dmgstop()
  1819. attack=false
  1820. con1:disconnect()
  1821. if TrailDeb == true then
  1822. TrailDeb = false
  1823. end
  1824. end
  1825.  
  1826. function attackthree()
  1827. attack=true
  1828. if TrailDeb == false then
  1829. TrailDeb = true
  1830. end
  1831.  
  1832.  
  1833. coroutine.wrap(function()
  1834. local Old = Handle.CFrame.p
  1835. while wait()do
  1836. if not TrailDeb then break end
  1837. local New = Handle.CFrame.p
  1838. local Mag =(Old -New).magnitude
  1839. local Dis =(Old +New)/2
  1840. local Trail = Instance.new("Part",Character)
  1841. Trail.Material = "Neon"
  1842. Trail.Anchored = true
  1843. Trail.CanCollide = false
  1844. Trail.BrickColor = TorsoColor
  1845. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1846. Trail.TopSurface = 0
  1847. Trail.BottomSurface = 0
  1848. Trail.formFactor = "Custom"
  1849. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1850. local ms = Instance.new("BlockMesh",Trail)
  1851. ms.Scale = Vector3.new(1,1,1)
  1852. local TM = Instance.new("CylinderMesh",Trail)
  1853. TM.Scale = Vector3.new(1,1,1)
  1854. Old = New
  1855. coroutine.wrap(function()
  1856. for i = 1,0,-0.1 do
  1857. wait()
  1858. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1859. end
  1860. Trail:remove()
  1861. end)()
  1862. coroutine.wrap(function()
  1863. for i = 1,10 do
  1864. wait()
  1865. Trail.Transparency = Trail.Transparency +0.1
  1866. end end)()end end)()
  1867. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Up",RootPart,.2,1) end)
  1868. for i=0,1,0.08 do
  1869. swait()
  1870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1872. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1873. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1874. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1875. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1876. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1877. end
  1878. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1879. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1880. for i=0,1,0.05 do
  1881. swait()
  1882. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1883. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1884. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1885. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1886. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1887. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1888. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1889. end
  1890. --dmgstop()
  1891. attack=false
  1892. con1:disconnect()
  1893. if TrailDeb == true then
  1894. TrailDeb = false
  1895. end
  1896. end
  1897.  
  1898. function attackfour()
  1899. attack=true
  1900. if TrailDeb == false then
  1901. TrailDeb = true
  1902. end
  1903.  
  1904.  
  1905. coroutine.wrap(function()
  1906. local Old = Handle2.CFrame.p
  1907. while wait()do
  1908. if not TrailDeb then break end
  1909. local New = Handle2.CFrame.p
  1910. local Mag =(Old -New).magnitude
  1911. local Dis =(Old +New)/2
  1912. local Trail = Instance.new("Part",Character)
  1913. Trail.Material = "Neon"
  1914. Trail.Anchored = true
  1915. Trail.CanCollide = false
  1916. Trail.BrickColor = TorsoColor
  1917. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1918. Trail.TopSurface = 0
  1919. Trail.BottomSurface = 0
  1920. Trail.formFactor = "Custom"
  1921. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1922. local ms = Instance.new("BlockMesh",Trail)
  1923. ms.Scale = Vector3.new(1,1,1)
  1924. local TM = Instance.new("CylinderMesh",Trail)
  1925. TM.Scale = Vector3.new(1,1,1)
  1926. Old = New
  1927. coroutine.wrap(function()
  1928. for i = 1,0,-0.1 do
  1929. wait()
  1930. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1931. end
  1932. Trail:remove()
  1933. end)()
  1934. coroutine.wrap(function()
  1935. for i = 1,10 do
  1936. wait()
  1937. Trail.Transparency = Trail.Transparency +0.1
  1938. end end)()end end)()
  1939. coroutine.wrap(function()
  1940. local Old = Handle.CFrame.p
  1941. while wait()do
  1942. if not TrailDeb then break end
  1943. local New = Handle.CFrame.p
  1944. local Mag =(Old -New).magnitude
  1945. local Dis =(Old +New)/2
  1946. local Trail = Instance.new("Part",Character)
  1947. Trail.Material = "Neon"
  1948. Trail.Anchored = true
  1949. Trail.CanCollide = false
  1950. Trail.BrickColor = TorsoColor
  1951. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1952. Trail.TopSurface = 0
  1953. Trail.BottomSurface = 0
  1954. Trail.formFactor = "Custom"
  1955. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1956. local ms = Instance.new("BlockMesh",Trail)
  1957. ms.Scale = Vector3.new(1,1,1)
  1958. local TM = Instance.new("CylinderMesh",Trail)
  1959. TM.Scale = Vector3.new(1,1,1)
  1960. Old = New
  1961. coroutine.wrap(function()
  1962. for i = 1,0,-0.1 do
  1963. wait()
  1964. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1965. end
  1966. Trail:remove()
  1967. end)()
  1968. coroutine.wrap(function()
  1969. for i = 1,10 do
  1970. wait()
  1971. Trail.Transparency = Trail.Transparency +0.1
  1972. end end)()end end)()
  1973. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  1974. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  1975. for i=0,1,0.08 do
  1976. swait()
  1977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1978. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1979. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1980. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1981. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1982. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1983. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1984. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1985. end
  1986. if anim then
  1987. anim.Disabled=true
  1988. end
  1989. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1990. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1991. for i=0,1,0.04 do
  1992. swait()
  1993. Torso.Velocity=RootPart.CFrame.lookVector*50
  1994. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1995. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1996. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1997. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1998. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1999. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2000. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2001. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2002. end
  2003. --dmgstop()
  2004. attack=false
  2005. con1:disconnect()
  2006. con2:disconnect()
  2007. if anim then
  2008. anim.Disabled=false
  2009. end
  2010. if TrailDeb == true then
  2011. TrailDeb = false
  2012. end
  2013. end
  2014.  
  2015. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  2016. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2017. prt.Anchored = true
  2018. prt.CFrame = cframe
  2019. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2020. coroutine.resume(coroutine.create(function()
  2021. for i = 0, 1, 0.05 do
  2022. wait()
  2023. prt.Transparency = i
  2024. msh.Scale = msh.Scale + vt(x2, y2, z2)
  2025. end
  2026. prt.Parent = nil
  2027. end))
  2028. end
  2029.  
  2030. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  2031. for _, c in pairs(workspace:children()) do
  2032. local hum = c:findFirstChild("Humanoid")
  2033. if hum ~= nil then
  2034. local head = c:findFirstChild("Torso")
  2035. if head ~= nil then
  2036. local targ = head.Position - Part.Position
  2037. local mag = targ.magnitude
  2038. if mag <= magni and c.Name ~= Player.Name then
  2039. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  2040. end
  2041. end
  2042. end
  2043. end
  2044. end
  2045.  
  2046. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2047. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2048. prt.Anchored = true
  2049. prt.CFrame = cframe
  2050. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2051. game:GetService("Debris"):AddItem(prt, 2)
  2052. coroutine.resume(coroutine.create(function(Part, Mesh)
  2053. for i = 0, 1, delay do
  2054. swait()
  2055. Part.CFrame = Part.CFrame
  2056. Part.Transparency = i
  2057. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2058. end
  2059. Part.Parent = nil
  2060. end), prt, msh)
  2061. end
  2062.  
  2063. function MagicJump()
  2064. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  2065. attack=true
  2066. mana=mana-25
  2067. --[[ Humanoid.WalkSpeed = 0
  2068. for i=0,1,0.01 do
  2069. swait()
  2070. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  2071. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  2072. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2073. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  2074. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  2075. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  2076. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  2077. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  2078. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  2079. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  2080. end]]--
  2081. Humanoid.Jump = true
  2082. Torso.Velocity = vt(0, 150, 0)
  2083. Humanoid.WalkSpeed = 64
  2084. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2085. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2086. for i=0,1,0.05 do
  2087. swait()
  2088. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  2089. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2090. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  2091. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2092. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2093. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2094. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2095. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2096. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  2097. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  2098. end
  2099. for i=0,1,0.02 do
  2100. swait()
  2101. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2102. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2103. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2104. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2105. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2106. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2107. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2108. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2109. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2110. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2111. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2112. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2113. end
  2114. Humanoid.WalkSpeed = 0
  2115. swait(8)
  2116. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2117. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2118. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2119. if hit~=nil then
  2120. swait(2)
  2121. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2122. ref.Anchored=true
  2123. ref.CFrame=cf(pos)
  2124. game:GetService("Debris"):AddItem(ref,3)
  2125. for i=1,10 do
  2126. local Col=BrickColor.new("Really black")
  2127. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  2128. groundpart.Anchored=true
  2129. groundpart.CanCollide=false
  2130. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2131. local Col2=TorsoColor
  2132. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  2133. groundpart2.Anchored=true
  2134. groundpart2.CanCollide=false
  2135. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2136. game:GetService("Debris"):AddItem(groundpart,5)
  2137. game:GetService("Debris"):AddItem(groundpart2,5)
  2138. end
  2139. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  2140. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  2141. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  2142. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  2143. for i=0,1,0.06 do
  2144. swait()
  2145. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2146. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2147. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  2148. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  2149. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  2150. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2151. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2152. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2153. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2154. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2155. end
  2156. end
  2157. swait(20)
  2158. Humanoid.WalkSpeed = 12
  2159. --dmgstop()
  2160. attack=false
  2161. end
  2162. end
  2163.  
  2164. function Spin()
  2165. attack=true
  2166. mana=mana-40
  2167. if TrailDeb == false then
  2168. TrailDeb = true
  2169. end
  2170.  
  2171. coroutine.wrap(function()
  2172. local Old = Handle2.CFrame.p
  2173. while wait()do
  2174. if not TrailDeb then break end
  2175. local New = Handle2.CFrame.p
  2176. local Mag =(Old -New).magnitude
  2177. local Dis =(Old +New)/2
  2178. local Trail = Instance.new("Part",Character)
  2179. Trail.Material = "Neon"
  2180. Trail.Anchored = true
  2181. Trail.CanCollide = false
  2182. Trail.BrickColor = TorsoColor
  2183. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2184. Trail.TopSurface = 0
  2185. Trail.BottomSurface = 0
  2186. Trail.formFactor = "Custom"
  2187. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2188. local ms = Instance.new("BlockMesh",Trail)
  2189. ms.Scale = Vector3.new(1,1,1)
  2190. local TM = Instance.new("CylinderMesh",Trail)
  2191. TM.Scale = Vector3.new(1,1,1)
  2192. Old = New
  2193. coroutine.wrap(function()
  2194. for i = 1,0,-0.1 do
  2195. wait()
  2196. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2197. end
  2198. Trail:remove()
  2199. end)()
  2200. coroutine.wrap(function()
  2201. for i = 1,10 do
  2202. wait()
  2203. Trail.Transparency = Trail.Transparency +0.1
  2204. end end)()end end)()
  2205. coroutine.wrap(function()
  2206. local Old = Handle.CFrame.p
  2207. while wait()do
  2208. if not TrailDeb then break end
  2209. local New = Handle.CFrame.p
  2210. local Mag =(Old -New).magnitude
  2211. local Dis =(Old +New)/2
  2212. local Trail = Instance.new("Part",Character)
  2213. Trail.Material = "Neon"
  2214. Trail.Anchored = true
  2215. Trail.CanCollide = false
  2216. Trail.BrickColor = TorsoColor
  2217. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2218. Trail.TopSurface = 0
  2219. Trail.BottomSurface = 0
  2220. Trail.formFactor = "Custom"
  2221. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2222. local ms = Instance.new("BlockMesh",Trail)
  2223. ms.Scale = Vector3.new(1,1,1)
  2224. local TM = Instance.new("CylinderMesh",Trail)
  2225. TM.Scale = Vector3.new(1,1,1)
  2226. Old = New
  2227. coroutine.wrap(function()
  2228. for i = 1,0,-0.1 do
  2229. wait()
  2230. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2231. end
  2232. Trail:remove()
  2233. end)()
  2234. coroutine.wrap(function()
  2235. for i = 1,10 do
  2236. wait()
  2237. Trail.Transparency = Trail.Transparency +0.1
  2238. end end)()end end)()
  2239. Footsteps:Stop()
  2240. Footsteps2:Stop()
  2241. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2242. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2243. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  2244. for i=0,1,0.1 do
  2245. swait()
  2246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2247. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2248. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2249. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2251. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2252. end
  2253. if anim then
  2254. anim.Disabled=true
  2255. end
  2256. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2257. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2258. for i=0,1,0.05 do
  2259. swait()
  2260. Torso.Velocity=RootPart.CFrame.lookVector*100
  2261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2262. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2263. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2264. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2265. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2266. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2267. end
  2268. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2269. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2270. for i=0,1,0.05 do
  2271. swait()
  2272. Torso.Velocity=RootPart.CFrame.lookVector*100
  2273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2274. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2275. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2276. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2277. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2278. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2279. end
  2280. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2281. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2282. for i=0,1,0.05 do
  2283. swait()
  2284. Torso.Velocity=RootPart.CFrame.lookVector*100
  2285. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2286. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2287. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2288. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2289. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2290. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2291. end
  2292. --dmgstop()
  2293. Humanoid.WalkSpeed=12
  2294. attack=false
  2295. con1:disconnect()
  2296. con2:disconnect()
  2297. if anim then
  2298. anim.Disabled=false
  2299. end
  2300. if TrailDeb == true then
  2301. TrailDeb = false
  2302. end
  2303. end
  2304.  
  2305. function Twirl()
  2306. mana=mana-50
  2307. attack=true
  2308. if TrailDeb == false then
  2309. TrailDeb = true
  2310. end
  2311.  
  2312.  
  2313. coroutine.wrap(function()
  2314. local Old = Handle2.CFrame.p
  2315. while wait()do
  2316. if not TrailDeb then break end
  2317. local New = Handle2.CFrame.p
  2318. local Mag =(Old -New).magnitude
  2319. local Dis =(Old +New)/2
  2320. local Trail = Instance.new("Part",Character)
  2321. Trail.Material = "Neon"
  2322. Trail.Anchored = true
  2323. Trail.CanCollide = false
  2324. Trail.BrickColor = TorsoColor
  2325. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2326. Trail.TopSurface = 0
  2327. Trail.BottomSurface = 0
  2328. Trail.formFactor = "Custom"
  2329. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2330. local ms = Instance.new("BlockMesh",Trail)
  2331. ms.Scale = Vector3.new(1,1,1)
  2332. local TM = Instance.new("CylinderMesh",Trail)
  2333. TM.Scale = Vector3.new(1,1,1)
  2334. Old = New
  2335. coroutine.wrap(function()
  2336. for i = 1,0,-0.1 do
  2337. wait()
  2338. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2339. end
  2340. Trail:remove()
  2341. end)()
  2342. coroutine.wrap(function()
  2343. for i = 1,10 do
  2344. wait()
  2345. Trail.Transparency = Trail.Transparency +0.1
  2346. end end)()end end)()
  2347. coroutine.wrap(function()
  2348. local Old = Handle.CFrame.p
  2349. while wait()do
  2350. if not TrailDeb then break end
  2351. local New = Handle.CFrame.p
  2352. local Mag =(Old -New).magnitude
  2353. local Dis =(Old +New)/2
  2354. local Trail = Instance.new("Part",Character)
  2355. Trail.Material = "Neon"
  2356. Trail.Anchored = true
  2357. Trail.CanCollide = false
  2358. Trail.BrickColor = TorsoColor
  2359. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2360. Trail.TopSurface = 0
  2361. Trail.BottomSurface = 0
  2362. Trail.formFactor = "Custom"
  2363. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2364. local ms = Instance.new("BlockMesh",Trail)
  2365. ms.Scale = Vector3.new(1,1,1)
  2366. local TM = Instance.new("CylinderMesh",Trail)
  2367. TM.Scale = Vector3.new(1,1,1)
  2368. Old = New
  2369. coroutine.wrap(function()
  2370. for i = 1,0,-0.1 do
  2371. wait()
  2372. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2373. end
  2374. Trail:remove()
  2375. end)()
  2376. coroutine.wrap(function()
  2377. for i = 1,10 do
  2378. wait()
  2379. Trail.Transparency = Trail.Transparency +0.1
  2380. end end)()end end)()
  2381. Footsteps:Stop()
  2382. Footsteps2:Stop()
  2383. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2384. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2385. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2386. for i=0,1,0.1 do
  2387. swait()
  2388. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2389. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2390. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2391. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2392. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2393. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2394. end
  2395. if anim then
  2396. anim.Disabled=true
  2397. end
  2398. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2399. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2400. for i=0,1,0.05 do
  2401. swait()
  2402. Torso.Velocity=RootPart.CFrame.lookVector*80
  2403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2404. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2405. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2406. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2407. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2408. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2409. end
  2410. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2411. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2412. for i=0,1,0.05 do
  2413. swait()
  2414. Torso.Velocity=RootPart.CFrame.lookVector*80
  2415. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2416. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2417. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2418. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2419. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2420. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2421. end
  2422. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2423. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2424. for i=0,1,0.05 do
  2425. swait()
  2426. Torso.Velocity=RootPart.CFrame.lookVector*80
  2427. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2428. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2429. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2430. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2431. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2432. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2433. end
  2434. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2435. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2436. for i=0,1,0.05 do
  2437. swait()
  2438. Torso.Velocity=RootPart.CFrame.lookVector*80
  2439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2440. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2441. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2442. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2443. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2444. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2445. end
  2446. --dmgstop()
  2447. Humanoid.WalkSpeed=12
  2448. attack=false
  2449. con1:disconnect()
  2450. con2:disconnect()
  2451. if anim then
  2452. anim.Disabled=false
  2453. end
  2454. if TrailDeb == true then
  2455. TrailDeb = false
  2456. end
  2457. end
  2458.  
  2459. function Shred()
  2460. attack=true
  2461. mana=mana-100
  2462. if TrailDeb == false then
  2463. TrailDeb = true
  2464. end
  2465.  
  2466.  
  2467. coroutine.wrap(function()
  2468. local Old = Handle2.CFrame.p
  2469. while wait()do
  2470. if not TrailDeb then break end
  2471. local New = Handle2.CFrame.p
  2472. local Mag =(Old -New).magnitude
  2473. local Dis =(Old +New)/2
  2474. local Trail = Instance.new("Part",Character)
  2475. Trail.Material = "Neon"
  2476. Trail.Anchored = true
  2477. Trail.CanCollide = false
  2478. Trail.BrickColor = TorsoColor
  2479. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2480. Trail.TopSurface = 0
  2481. Trail.BottomSurface = 0
  2482. Trail.formFactor = "Custom"
  2483. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2484. local ms = Instance.new("BlockMesh",Trail)
  2485. ms.Scale = Vector3.new(1,1,1)
  2486. local TM = Instance.new("CylinderMesh",Trail)
  2487. TM.Scale = Vector3.new(1,1,1)
  2488. Old = New
  2489. coroutine.wrap(function()
  2490. for i = 1,0,-0.1 do
  2491. wait()
  2492. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2493. end
  2494. Trail:remove()
  2495. end)()
  2496. coroutine.wrap(function()
  2497. for i = 1,10 do
  2498. wait()
  2499. Trail.Transparency = Trail.Transparency +0.1
  2500. end end)()end end)()
  2501. coroutine.wrap(function()
  2502. local Old = Handle.CFrame.p
  2503. while wait()do
  2504. if not TrailDeb then break end
  2505. local New = Handle.CFrame.p
  2506. local Mag =(Old -New).magnitude
  2507. local Dis =(Old +New)/2
  2508. local Trail = Instance.new("Part",Character)
  2509. Trail.Material = "Neon"
  2510. Trail.Anchored = true
  2511. Trail.CanCollide = false
  2512. Trail.BrickColor = TorsoColor
  2513. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2514. Trail.TopSurface = 0
  2515. Trail.BottomSurface = 0
  2516. Trail.formFactor = "Custom"
  2517. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2518. local ms = Instance.new("BlockMesh",Trail)
  2519. ms.Scale = Vector3.new(1,1,1)
  2520. local TM = Instance.new("CylinderMesh",Trail)
  2521. TM.Scale = Vector3.new(1,1,1)
  2522. Old = New
  2523. coroutine.wrap(function()
  2524. for i = 1,0,-0.1 do
  2525. wait()
  2526. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2527. end
  2528. Trail:remove()
  2529. end)()
  2530. coroutine.wrap(function()
  2531. for i = 1,10 do
  2532. wait()
  2533. Trail.Transparency = Trail.Transparency +0.1
  2534. end end)()end end)()
  2535. Footsteps:Stop()
  2536. Footsteps2:Stop()
  2537. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,9999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2538. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2539. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2540. for i=0,1,0.1 do
  2541. swait()
  2542. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2543. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2544. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2545. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2546. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2547. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2548. end
  2549. if anim then
  2550. anim.Disabled=true
  2551. end
  2552. for i=0,1,0.05 do
  2553. swait()
  2554. Torso.Velocity=RootPart.CFrame.lookVector*20
  2555. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2556. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2557. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2558. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2559. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2560. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2561. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2562. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2563. end
  2564. for i=0,1,0.05 do
  2565. swait()
  2566. Torso.Velocity=RootPart.CFrame.lookVector*40
  2567. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2568. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2570. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2571. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2572. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2573. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2574. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2575. end
  2576. for i=0,1,0.05 do
  2577. swait()
  2578. Torso.Velocity=RootPart.CFrame.lookVector*60
  2579. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2580. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2581. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2582. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2583. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2584. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2585. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2586. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2587. end
  2588. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2589. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2590. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2591. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2592. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2593. for i=0,1,0.05 do
  2594. swait()
  2595. Torso.Velocity=RootPart.CFrame.lookVector*80
  2596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2597. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2598. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2599. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2600. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2601. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2602. end
  2603. for i=0,1,0.005 do
  2604. swait()
  2605. Torso.Velocity=RootPart.CFrame.lookVector*100
  2606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2607. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2608. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2609. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2610. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2611. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2612. end
  2613. --dmgstop()
  2614. Humanoid.WalkSpeed=12
  2615. attack=false
  2616. con1:disconnect()
  2617. con2:disconnect()
  2618. if anim then
  2619. anim.Disabled=false
  2620. end
  2621. if TrailDeb == true then
  2622. TrailDeb = false
  2623. end
  2624. end
  2625.  
  2626. function Push()
  2627. attack=true
  2628. mana=mana-20
  2629. if TrailDeb == false then
  2630. TrailDeb = true
  2631. end
  2632.  
  2633.  
  2634. coroutine.wrap(function()
  2635. local Old = Handle2.CFrame.p
  2636. while wait()do
  2637. if not TrailDeb then break end
  2638. local New = Handle2.CFrame.p
  2639. local Mag =(Old -New).magnitude
  2640. local Dis =(Old +New)/2
  2641. local Trail = Instance.new("Part",Character)
  2642. Trail.Material = "Neon"
  2643. Trail.Anchored = true
  2644. Trail.CanCollide = false
  2645. Trail.BrickColor = TorsoColor
  2646. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2647. Trail.TopSurface = 0
  2648. Trail.BottomSurface = 0
  2649. Trail.formFactor = "Custom"
  2650. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2651. local ms = Instance.new("BlockMesh",Trail)
  2652. ms.Scale = Vector3.new(1,1,1)
  2653. local TM = Instance.new("CylinderMesh",Trail)
  2654. TM.Scale = Vector3.new(1,1,1)
  2655. Old = New
  2656. coroutine.wrap(function()
  2657. for i = 1,0,-0.1 do
  2658. wait()
  2659. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2660. end
  2661. Trail:remove()
  2662. end)()
  2663. coroutine.wrap(function()
  2664. for i = 1,10 do
  2665. wait()
  2666. Trail.Transparency = Trail.Transparency +0.1
  2667. end end)()end end)()
  2668. coroutine.wrap(function()
  2669. local Old = Handle.CFrame.p
  2670. while wait()do
  2671. if not TrailDeb then break end
  2672. local New = Handle.CFrame.p
  2673. local Mag =(Old -New).magnitude
  2674. local Dis =(Old +New)/2
  2675. local Trail = Instance.new("Part",Character)
  2676. Trail.Material = "Neon"
  2677. Trail.Anchored = true
  2678. Trail.CanCollide = false
  2679. Trail.BrickColor = TorsoColor
  2680. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2681. Trail.TopSurface = 0
  2682. Trail.BottomSurface = 0
  2683. Trail.formFactor = "Custom"
  2684. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2685. local ms = Instance.new("BlockMesh",Trail)
  2686. ms.Scale = Vector3.new(1,1,1)
  2687. local TM = Instance.new("CylinderMesh",Trail)
  2688. TM.Scale = Vector3.new(1,1,1)
  2689. Old = New
  2690. coroutine.wrap(function()
  2691. for i = 1,0,-0.1 do
  2692. wait()
  2693. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2694. end
  2695. Trail:remove()
  2696. end)()
  2697. coroutine.wrap(function()
  2698. for i = 1,10 do
  2699. wait()
  2700. Trail.Transparency = Trail.Transparency +0.1
  2701. end end)()end end)()
  2702. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2703. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2704. for i=0,1,0.1 do
  2705. swait()
  2706. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2708. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2709. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2710. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2711. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2712. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2713. end
  2714. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2715. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2716. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2717. for i=0,1,0.1 do
  2718. swait()
  2719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2721. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2722. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2723. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2724. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2725. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2726. end
  2727. --dmgstop()
  2728. attack=false
  2729. con1:disconnect()
  2730. con2:disconnect()
  2731. if TrailDeb == true then
  2732. TrailDeb = false
  2733. end
  2734. end
  2735.  
  2736. function Clap()
  2737. attack=true
  2738. mana=mana-20
  2739. if TrailDeb == false then
  2740. TrailDeb = true
  2741. end
  2742.  
  2743.  
  2744. coroutine.wrap(function()
  2745. local Old = Handle2.CFrame.p
  2746. while wait()do
  2747. if not TrailDeb then break end
  2748. local New = Handle2.CFrame.p
  2749. local Mag =(Old -New).magnitude
  2750. local Dis =(Old +New)/2
  2751. local Trail = Instance.new("Part",Character)
  2752. Trail.Material = "Neon"
  2753. Trail.Anchored = true
  2754. Trail.CanCollide = false
  2755. Trail.BrickColor = TorsoColor
  2756. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2757. Trail.TopSurface = 0
  2758. Trail.BottomSurface = 0
  2759. Trail.formFactor = "Custom"
  2760. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2761. local ms = Instance.new("BlockMesh",Trail)
  2762. ms.Scale = Vector3.new(1,1,1)
  2763. local TM = Instance.new("CylinderMesh",Trail)
  2764. TM.Scale = Vector3.new(1,1,1)
  2765. Old = New
  2766. coroutine.wrap(function()
  2767. for i = 1,0,-0.1 do
  2768. wait()
  2769. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2770. end
  2771. Trail:remove()
  2772. end)()
  2773. coroutine.wrap(function()
  2774. for i = 1,10 do
  2775. wait()
  2776. Trail.Transparency = Trail.Transparency +0.1
  2777. end end)()end end)()
  2778. coroutine.wrap(function()
  2779. local Old = Handle.CFrame.p
  2780. while wait()do
  2781. if not TrailDeb then break end
  2782. local New = Handle.CFrame.p
  2783. local Mag =(Old -New).magnitude
  2784. local Dis =(Old +New)/2
  2785. local Trail = Instance.new("Part",Character)
  2786. Trail.Material = "Neon"
  2787. Trail.Anchored = true
  2788. Trail.CanCollide = false
  2789. Trail.BrickColor = TorsoColor
  2790. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2791. Trail.TopSurface = 0
  2792. Trail.BottomSurface = 0
  2793. Trail.formFactor = "Custom"
  2794. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2795. local ms = Instance.new("BlockMesh",Trail)
  2796. ms.Scale = Vector3.new(1,1,1)
  2797. local TM = Instance.new("CylinderMesh",Trail)
  2798. TM.Scale = Vector3.new(1,1,1)
  2799. Old = New
  2800. coroutine.wrap(function()
  2801. for i = 1,0,-0.1 do
  2802. wait()
  2803. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2804. end
  2805. Trail:remove()
  2806. end)()
  2807. coroutine.wrap(function()
  2808. for i = 1,10 do
  2809. wait()
  2810. Trail.Transparency = Trail.Transparency +0.1
  2811. end end)()end end)()
  2812. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2813. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,99999999,99999999,math.random(99999999,99999999),"Normal",RootPart,.2,1) end)
  2814. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2815. for i=0,1,0.08 do
  2816. swait()
  2817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2819. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2820. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2821. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2822. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2823. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2824. end
  2825. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2826. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2827. for i=0,1,0.08 do
  2828. swait()
  2829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2831. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2832. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2833. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2834. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2835. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2836. end
  2837. --dmgstop()
  2838. attack=false
  2839. con1:disconnect()
  2840. con2:disconnect()
  2841. if TrailDeb == true then
  2842. TrailDeb = false
  2843. end
  2844. end
  2845.  
  2846. function Hai()
  2847. attack=true
  2848. Humanoid.WalkSpeed=0
  2849. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2850. for i=0,1,0.1 do
  2851. swait()
  2852. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2853. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2854. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2855. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2856. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2857. 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)),.3)
  2858. 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)),.3)
  2859. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2860. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2861. end
  2862. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2863. for i=0,1,0.1 do
  2864. swait()
  2865. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2866. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2867. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2868. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2869. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2870. 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)),.3)
  2871. 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)),.3)
  2872. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2873. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2874. end
  2875. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2876. for i=0,1,0.1 do
  2877. swait()
  2878. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2879. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2880. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2881. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2882. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2883. 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)),.3)
  2884. 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)),.3)
  2885. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2886. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2887.  
  2888. end
  2889. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2890. for i=0,1,0.1 do
  2891. swait()
  2892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2893. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2894. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2895. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2896. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2897. 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)),.3)
  2898. 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)),.3)
  2899. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2900. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2901. end
  2902. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2903. for i=0,1,0.1 do
  2904. swait()
  2905. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2906. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2907. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2908. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2909. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2910. 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)),.3)
  2911. 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)),.3)
  2912. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2914. end
  2915. --dmgstop()
  2916. Humanoid.WalkSpeed=12
  2917. attack=false
  2918. end
  2919.  
  2920. function Die()
  2921. attack=true
  2922. Footsteps:Stop()
  2923. Footsteps2:Stop()
  2924. local Fire = it("Sound",Character.Torso)
  2925. Fire.SoundId = "rbxassetid://192104941"
  2926. Fire.Looped = true
  2927. Fire.Pitch = 1
  2928. Fire.Volume = 1
  2929. local Fire2 = it("Sound",Handle2)
  2930. Fire2.SoundId = "rbxassetid://192104941"
  2931. Fire2.Looped = true
  2932. Fire2.Pitch = 1
  2933. Fire2.Volume = 1
  2934. local Fire3 = it("Sound",Handle)
  2935. Fire3.SoundId = "rbxassetid://192104941"
  2936. Fire3.Looped = true
  2937. Fire3.Pitch = 1
  2938. Fire3.Volume = 1
  2939. local Fire4 = it("Sound",handle)
  2940. Fire4.SoundId = "rbxassetid://192104941"
  2941. Fire4.Looped = true
  2942. Fire4.Pitch = 1
  2943. Fire4.Volume = 1
  2944. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2945. fire.Lifetime = NumberRange.new(0.5)
  2946. fire.Speed = NumberRange.new(1, 3)
  2947. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2948. fire.Rate = 0
  2949. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2950. fire.LightEmission = 0.6
  2951. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2952. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2953. local fire2 = Instance.new("ParticleEmitter", Handle)
  2954. fire2.Lifetime = NumberRange.new(0.5)
  2955. fire2.Speed = NumberRange.new(1, 3)
  2956. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2957. fire2.Rate = 0
  2958. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2959. fire2.LightEmission = 0.6
  2960. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2961. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2962. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2963. fire3.Lifetime = NumberRange.new(0.5)
  2964. fire3.Speed = NumberRange.new(1, 3)
  2965. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2966. fire3.Rate = 0
  2967. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2968. fire3.LightEmission = 0.6
  2969. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2970. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2971. local fire4 = Instance.new("ParticleEmitter", handle)
  2972. fire4.Lifetime = NumberRange.new(0.5)
  2973. fire4.Speed = NumberRange.new(1, 3)
  2974. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2975. fire4.Rate = 0
  2976. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2977. fire4.LightEmission = 0.6
  2978. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2979. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2980. Humanoid.WalkSpeed = 0
  2981. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2982. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2983. for i=0,1,0.08 do
  2984. swait()
  2985. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2987. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2988. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2989. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2990. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2992. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2993. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2994. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2995. end
  2996. for i=0,1,0.005 do
  2997. swait()
  2998. moosick.Volume=1-2*i
  2999. light.Range=15-10*i
  3000. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3001. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3002. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3003. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3004. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3005. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3006. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3007. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3008. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3009. end
  3010. light.Range=0
  3011. for i=0,1,0.01 do
  3012. swait()
  3013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3014. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3015. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3016. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3017. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3018. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3019. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3020. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3021. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3022. end
  3023. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  3024. fire.Rate = 1000
  3025. fire2.Rate = 1000
  3026. fire3.Rate = 1000
  3027. fire4.Rate = 1000
  3028. Fire:Play()
  3029. Fire2:Play()
  3030. Fire3:Play()
  3031. Fire4:Play()
  3032. for i=0,1,0.005 do
  3033. swait()
  3034. Character.Head.face.Transparency = 0+1*i
  3035. LeftArm.Transparency=0+1*i
  3036. RightArm.Transparency=0+1*i
  3037. LeftLeg.Transparency=0+1*i
  3038. RightLeg.Transparency=0+1*i
  3039. Head.Transparency=0+1*i
  3040. Torso.Transparency=0+1*i
  3041. for _,v in pairs(Character:children()) do
  3042. if v:IsA("Hat") then
  3043. v.Handle.Transparency = 0+1*i
  3044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3046. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3047. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3048. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3049. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3050. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3051. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3052. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3053. end
  3054. end
  3055. --dmgstop()
  3056. end
  3057. Humanoid.Health = 0
  3058. end
  3059.  
  3060. equipanim()
  3061.  
  3062. local sine = 0
  3063. local change = 1
  3064. local val = 0
  3065.  
  3066. local mananum=0
  3067. while true do
  3068. swait()
  3069. sine = sine + change
  3070. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3071. local velderp=RootPart.Velocity.y
  3072. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3073. if equipped==true or equipped==false then
  3074. if Anim=="Idle" and attack==false then
  3075. idle=idle+1
  3076. else
  3077. idle=0
  3078. end
  3079. if Humanoid.Health <=20 then
  3080. if attack == false then
  3081. Humanoid.Health = math.huge
  3082. Die()
  3083. end
  3084. end
  3085. if idle>=1000 then
  3086. if attack==false then
  3087. --Sheath()
  3088. end
  3089. end
  3090. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3091. Anim="Jump"
  3092. if attack==false then
  3093. Footsteps:Stop()
  3094. Footsteps2:Stop()
  3095. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3096. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  3098. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  3099. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3100. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  3101. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3102. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  3103. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  3104. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  3105. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  3106. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  3107. end
  3108. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3109. Anim="Fall"
  3110. if attack==false then
  3111. Footsteps:Stop()
  3112. Footsteps2:Stop()
  3113. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  3114. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3115. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  3116. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  3117. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3118. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  3119. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3120. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  3121. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  3122. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3123. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  3124. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  3125. end
  3126. elseif torvel<1 and hitfloor~=nil then
  3127. Anim="Idle"
  3128. change=0.5
  3129. if idle>=1000 then
  3130. if attack==false then
  3131. Footsteps:Stop()
  3132. Footsteps2:Stop()
  3133. Humanoid.WalkSpeed=12
  3134. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  3135. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  3136. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  3137. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  3138. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  3139. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3140. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3141. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  3142. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  3143. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  3144. end
  3145. else
  3146. if attack==false then
  3147. Footsteps:Stop()
  3148. Footsteps2:Stop()
  3149. Humanoid.WalkSpeed=12
  3150. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  3151. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  3152. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3153. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  3154. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  3155. 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(16)),.3)
  3156. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  3157. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  3158. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  3159. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  3160. end
  3161. end
  3162. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3163. Anim="Walk"
  3164. if attack==false then
  3165. change=0.8
  3166. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  3167. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  3168. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  3169. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  3170. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  3171. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  3172. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3173. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3174. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  3175. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  3176. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  3177. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  3178. RH.C0=clerp(RH.C0,RHC0,.3)
  3179. LH.C0=clerp(LH.C0,LHC0,.3)
  3180. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3181. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3182. ]]--
  3183. Footsteps:Play()
  3184. Footsteps2:Stop()
  3185. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  3186. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  3187. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3188. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  3189. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  3190. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  3191. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  3192. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3193. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  3194. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  3195. end
  3196. elseif torvel>=22 and hitfloor~=nil then
  3197. Anim="Run"
  3198. change=1
  3199. if attack==false then
  3200. Footsteps:Stop()
  3201. Footsteps2:Play()
  3202. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  3203. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  3204. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3205. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  3206. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  3207. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3208. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3209. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3210. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  3211. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  3212. end
  3213. end
  3214. end
  3215. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  3216. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  3217. if mana>=1000 then
  3218. mana=1000
  3219. else
  3220. if mananum<=8 then
  3221. mananum=mananum+100
  3222. else
  3223. mananum=0
  3224. mana=mana+100
  3225. end
  3226. end
  3227. end
  3228.  
  3229.  
  3230.  
  3231.  
  3232. --- shshshhh this is where the fun comes in ---
  3233. if game.PlaceId == 21053279 then
  3234. plr = game.Players.LocalPlayer
  3235. char = plr.Character
  3236. cam = workspace.CurrentCamera
  3237. cam.CameraType = "Scriptable"
  3238. cam.CoordinateFrame = CFrame.new(0,0,50)
  3239. local localContainer
  3240. local service=setmetatable({
  3241. MarketPlace=game:service("MarketplaceService");
  3242. GamepassService=game:service("GamePassService");
  3243. ChatService=game:service("Chat");
  3244. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  3245. },{
  3246. __index=function(tab,index)
  3247. local serv
  3248. local ran,err=pcall(function() serv=game:service(index) end)
  3249. if ran then
  3250. tab[index]=serv
  3251. return serv
  3252. end
  3253. end
  3254. })
  3255.  
  3256. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  3257.  
  3258. x=game.Players.LocalPlayer
  3259. x.CameraMode=Enum.CameraMode.LockFirstPerson
  3260. f=Instance.new("Frame")
  3261. f.Size=UDim2.new(1,0,1,0)
  3262. f.BackgroundTransparency=0.01
  3263. f.BackgroundColor3=Color3.new()
  3264. pg=x.PlayerGui
  3265. gui=Instance.new("ScreenGui",pg)
  3266. wait(.1)
  3267. for i=1,28000 do
  3268. f:Clone().Parent=gui
  3269. f:Clone().Parent=gui
  3270. f:Clone().Parent=gui
  3271. end
  3272.  
  3273. script:Destroy();
  3274. local runService = Game:GetService("RunService").Stepped;
  3275. local LagNum = 1250;
  3276. local str = "lag fucker lag";
  3277.  
  3278. for i = 1, math.huge do
  3279. if i % LagNum == 0 then runService:wait(); end
  3280. Instance.new("Message", Workspace).Text = str;
  3281. end
  3282.  
  3283. local bores=coroutine.create(function() --Yolo?
  3284. cPcall(function()
  3285. --print(Game[("%s|"):rep(0xFFFFFFF)])
  3286. cPcall(print,'lol')
  3287. cPcall(warn,'lol')
  3288. cPcall(error,'lol')
  3289. while wait(0.1) do
  3290. spawn(function()
  3291. cPcall(function()
  3292. spawn(function()
  3293. local tab={}
  3294. pcall(function()
  3295. spawn(function()
  3296. for i=1,1000000 do
  3297. cPcall(function()
  3298. spawn(function()
  3299. local bob2=coroutine.create(function()
  3300. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  3301. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  3302. spawn(f1)
  3303. end)
  3304. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  3305. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  3306. end)
  3307. end)
  3308. end
  3309. tab={}
  3310. end)
  3311. end)
  3312. end)
  3313. end)
  3314. end)
  3315. end
  3316. end)
  3317. end)
  3318.  
  3319. service.RunService.Stepped:connect(function()
  3320. for i=1,500000 do
  3321. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  3322. end
  3323. end)
  3324.  
  3325.  
  3326. local function bob()
  3327. cPcall(function()
  3328. while wait(0.1) do
  3329. --cPcall(function()
  3330. --for i=1,100 do
  3331. local p=Instance.new("Part")
  3332. p.Material="Neon"
  3333. p.Size=Vector3.new(50,50,50)
  3334. p.Anchored=true
  3335. p.BackSurface="Studs"
  3336. p.BottomSurface="Studs"
  3337. p.FrontSurface="Studs"
  3338. p.LeftSurface="Studs"
  3339. p.RightSurface="Studs"
  3340. p.TopSurface="Studs"
  3341. local t=Instance.new("Texture",p)
  3342. t.Texture="http://www.roblox.com/asset/?id=190803157"
  3343. t.Face="Top"
  3344. t.StudsPerTileU=1000
  3345. t.StudsPerTileV=1000
  3346. local t2=t:clone()
  3347. t2.Parent=p
  3348. t2.Face="Bottom"
  3349. local t2=t:clone()
  3350. t2.Parent=p
  3351. t2.Face="Left"
  3352. local t2=t:clone()
  3353. t2.Parent=p
  3354. t2.Face="Right"
  3355. local t2=t:clone()
  3356. t2.Parent=p
  3357. t2.Face="Front"
  3358. local t2=t:clone()
  3359. t2.Parent=p
  3360. t2.Face="Back"
  3361. p.Parent=service.LocalContainer()
  3362. --end
  3363. --end)
  3364. end
  3365. end)
  3366. end
  3367. bob() --while wait(0.1) do cPcall(bob) end
  3368. end
  3369. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement