Advertisement
Dark_EccentricYT

Untitled

Jun 1st, 2018
2,519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.26 KB | None | 0 0
  1. --Made by noobygames12
  2.  
  3. p = game.Players.LocalPlayer
  4. char = p.Character
  5. torso = char.Torso
  6. neck = char.Torso.Neck
  7.  
  8. Player=game:GetService("Players").LocalPlayer
  9. Character=Player.Character
  10. PlayerGui=Player.PlayerGui
  11. Backpack=Player.Backpack
  12. Torso=Character.Torso
  13. Head=Character.Head
  14. Humanoid=Character.Humanoid
  15. LeftArm=Character["Left Arm"]
  16. LeftLeg=Character["Left Leg"]
  17. RightArm=Character["Right Arm"]
  18. RightLeg=Character["Right Leg"]
  19. cam=game.Workspace.CurrentCamera
  20. LS=Torso["Left Shoulder"]
  21. LH=Torso["Left Hip"]
  22. RS=Torso["Right Shoulder"]
  23. RH=Torso["Right Hip"]
  24. Face = Head.face
  25. Neck=Torso.Neck
  26. it=Instance.new
  27. attacktype=1
  28. vt=Vector3.new
  29. cf=CFrame.new
  30. euler=CFrame.fromEulerAnglesXYZ
  31. angles=CFrame.Angles
  32. cloaked=false
  33. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  35. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  36. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  37. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  38. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  39. RootPart=Character.HumanoidRootPart
  40. RootJoint=RootPart.RootJoint
  41. RootCF=euler(-1.57,0,3.14)
  42. attack = false
  43. bounce=false
  44. cooldown=false
  45. deeznuts=false
  46. attackdebounce = false
  47. deb=false
  48. equipped=true
  49. hand=false
  50. MMouse=nil
  51. combo=0
  52. mana=0
  53. trispeed=.2
  54. attackmode='none'
  55. local idle=0
  56. local Anim="Idle"
  57. local Effects={}
  58. local gun=false
  59. local shoot=false
  60. player=nil
  61. mana=0
  62. cam = workspace.CurrentCamera
  63. ZTarget = nil
  64. RocketTarget = nil
  65. local m = Instance.new("Model",Character)
  66. m.Name = "WeaponModel"
  67.  
  68. mouse=Player:GetMouse()
  69. --save shoulders
  70. RSH, LSH=nil, nil
  71. --welds
  72. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  73. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  74. LH=Torso["Left Hip"]
  75. RH=Torso["Right Hip"]
  76. TorsoColor=Torso.BrickColor
  77. function NoOutline(Part)
  78. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  79. end
  80. player=Player
  81. ch=Character
  82. RSH=ch.Torso["Right Shoulder"]
  83. LSH=ch.Torso["Left Shoulder"]
  84. --
  85. RSH.Parent=nil
  86. LSH.Parent=nil
  87. --
  88. RW.Name="Right Shoulder"
  89. RW.Part0=ch.Torso
  90. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  91. RW.C1=cf(0, 0.5, 0)
  92. RW.Part1=ch["Right Arm"]
  93. RW.Parent=ch.Torso
  94. --
  95. LW.Name="Left Shoulder"
  96. LW.Part0=ch.Torso
  97. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  98. LW.C1=cf(0, 0.5, 0)
  99. LW.Part1=ch["Left Arm"]
  100. LW.Parent=ch.Torso
  101.  
  102. function swait(num)
  103. if num==0 or num==nil then
  104. game:service'RunService'.Heartbeat:wait(0)
  105. else
  106. for i=0,num do
  107. game:service'RunService'.Heartbeat:wait(0)
  108. end
  109. end
  110. end
  111.  
  112.  
  113. local Player = game.Players.localPlayer
  114. local Character = Player.Character
  115. local red = 255
  116. local green = 255
  117. local blue = 255
  118. local Humanoid = Character.Humanoid
  119. local mouse = Player:GetMouse()
  120. local m = Instance.new("Model", Character)
  121. m.Name = "WeaponModel"
  122. local LeftArm = Character["Left Arm"]
  123. local RightArm = Character["Right Arm"]
  124. local LeftLeg = Character["Left Leg"]
  125. local RightLeg = Character["Right Leg"]
  126. local Head = Character.Head
  127. local Torso = Character.Torso
  128. local cam = game.Workspace.CurrentCamera
  129. local RootPart = Character.HumanoidRootPart
  130. local RootJoint = RootPart.RootJoint
  131. local equipped = false
  132. local attack = false
  133. local Anim = "Idle"
  134. local idle = 0
  135. local attacktype = 1
  136. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  137. local velocity = RootPart.Velocity.y
  138. local sine = 0
  139. local change = 1
  140. local grabbed = false
  141. local cn = CFrame.new
  142. local mr = math.rad
  143. local angles = CFrame.Angles
  144. local ud = UDim2.new
  145. local c3 = Color3.new
  146. local lim = 0
  147. local st = 0
  148. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  149. local attacktype = 1
  150. local ZTarget, RocketTarget = nil, nil
  151. local euler = CFrame.fromEulerAnglesXYZ
  152. function clerp(a,b,t)
  153. local qa = {QuaternionFromCFrame(a)}
  154. local qb = {QuaternionFromCFrame(b)}
  155. local ax, ay, az = a.x, a.y, a.z
  156. local bx, by, bz = b.x, b.y, b.z
  157. local _t = 1-t
  158. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  159. end
  160.  
  161. function QuaternionFromCFrame(cf)
  162. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  163. local trace = m00 + m11 + m22
  164. if trace > 0 then
  165. local s = math.sqrt(1 + trace)
  166. local recip = 0.5/s
  167. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  168. else
  169. local i = 0
  170. if m11 > m00 then
  171. i = 1
  172. end
  173. if m22 > (i == 0 and m00 or m11) then
  174. i = 2
  175. end
  176. if i == 0 then
  177. local s = math.sqrt(m00-m11-m22+1)
  178. local recip = 0.5/s
  179. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  180. elseif i == 1 then
  181. local s = math.sqrt(m11-m22-m00+1)
  182. local recip = 0.5/s
  183. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  184. elseif i == 2 then
  185. local s = math.sqrt(m22-m00-m11+1)
  186. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  187. end
  188. end
  189. end
  190.  
  191. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  192. local xs, ys, zs = x + x, y + y, z + z
  193. local wx, wy, wz = w*xs, w*ys, w*zs
  194. local xx = x*xs
  195. local xy = x*ys
  196. local xz = x*zs
  197. local yy = y*ys
  198. local yz = y*zs
  199. local zz = z*zs
  200. 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))
  201. end
  202.  
  203. function QuaternionSlerp(a, b, t)
  204. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  205. local startInterp, finishInterp;
  206. if cosTheta >= 0.0001 then
  207. if (1 - cosTheta) > 0.0001 then
  208. local theta = math.acos(cosTheta)
  209. local invSinTheta = 1/math.sin(theta)
  210. startInterp = math.sin((1-t)*theta)*invSinTheta
  211. finishInterp = math.sin(t*theta)*invSinTheta
  212. else
  213. startInterp = 1-t
  214. finishInterp = t
  215. end
  216. else
  217. if (1+cosTheta) > 0.0001 then
  218. local theta = math.acos(-cosTheta)
  219. local invSinTheta = 1/math.sin(theta)
  220. startInterp = math.sin((t-1)*theta)*invSinTheta
  221. finishInterp = math.sin(t*theta)*invSinTheta
  222. else
  223. startInterp = t-1
  224. finishInterp = t
  225. end
  226. end
  227. 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
  228. end
  229. rayCast = function(Position, Direction, Range, Ignore)
  230. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  231. end
  232. local v = game.Players.localPlayer
  233. local torso = v.Character.Torso
  234.  
  235. plr = game.Players.LocalPlayer
  236. char = game.Players.LocalPlayer.Character
  237. hum = game.Players.LocalPlayer.Character.Humanoid
  238. t = game.Players.LocalPlayer.Character.Torso
  239. h = game.Players.LocalPlayer.Character.Head
  240. ra = game.Players.LocalPlayer.Character["Right Arm"]
  241. la = game.Players.LocalPlayer.Character["Left Arm"]
  242. rl = game.Players.LocalPlayer.Character["Right Leg"]
  243. ll = game.Players.LocalPlayer.Character["Left Leg"]
  244. tors = Character.Torso
  245. lleg = Character["Left Leg"]
  246. root = Character.HumanoidRootPart
  247. hed = Character.Head
  248. rleg = Character["Right Leg"]
  249. rarm = Character["Right Arm"]
  250. larm = Character["Left Arm"]
  251. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  252. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  253. local Effects = {}
  254. attack = false
  255. local attacking = false
  256. vt = Vector3.new
  257. bc = BrickColor.new
  258. br = BrickColor.random
  259. it = Instance.new
  260. cf = CFrame.new
  261. euler = CFrame.fromEulerAnglesXYZ
  262. angles = CFrame.Angles
  263. matr = math.random
  264. local colororg = BrickColor.new("Dark indigo") -- set color u like
  265. local meshtype = "Sphere" -- only for specialmesh
  266. mouse = plr:GetMouse()
  267.  
  268.  
  269. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  270. if hit.Parent==nil then
  271. return
  272. end
  273. h=hit.Parent:FindFirstChild("Humanoid")
  274. for _,v in pairs(hit.Parent:children()) do
  275. if v:IsA("Humanoid") then
  276. h=v
  277. end
  278. end
  279. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  280. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  281. end
  282. if hit.Parent.className=="Hat" then
  283. hit=hit.Parent.Parent:findFirstChild("Head")
  284. end
  285. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  286. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  287. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  288. return
  289. end]]
  290. -- hs(hit,1.2)
  291. c=Instance.new("ObjectValue")
  292. c.Name="creator"
  293. c.Value=game:service("Players").LocalPlayer
  294. c.Parent=h
  295. game:GetService("Debris"):AddItem(c,.5)
  296. Damage=math.random(minim,maxim)
  297. -- h:TakeDamage(Damage)
  298. blocked=false
  299. block=hit.Parent:findFirstChild("Block")
  300. if block~=nil then
  301. print(block.className)
  302. if block.className=="NumberValue" then
  303. if block.Value>0 then
  304. blocked=true
  305. if decreaseblock==nil then
  306. block.Value=block.Value-1
  307. end
  308. end
  309. end
  310. if block.className=="IntValue" then
  311. if block.Value>0 then
  312. blocked=true
  313. if decreaseblock~=nil then
  314. block.Value=block.Value-1
  315. end
  316. end
  317. end
  318. end
  319. if blocked==false then
  320. -- h:TakeDamage(Damage)
  321. h.Health=h.Health-Damage
  322. showDamage(hit.Parent,Damage,3,TorsoColor)
  323. else
  324. h.Health=h.Health-(Damage/2)
  325. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
  326. end
  327. if Type=="Knockdown" then
  328. hum=hit.Parent.Humanoid
  329. hum.PlatformStand=true
  330. coroutine.resume(coroutine.create(function(HHumanoid)
  331. swait(1)
  332. HHumanoid.PlatformStand=false
  333. end),hum)
  334. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  335. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  336. local bodvol=Instance.new("BodyVelocity")
  337. bodvol.velocity=angle*knockback
  338. bodvol.P=5000
  339. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  340. bodvol.Parent=hit
  341. rl=Instance.new("BodyAngularVelocity")
  342. rl.P=3000
  343. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  344. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  345. rl.Parent=hit
  346. game:GetService("Debris"):AddItem(bodvol,.5)
  347. game:GetService("Debris"):AddItem(rl,.5)
  348. elseif Type=="Normal" then
  349. vp=Instance.new("BodyVelocity")
  350. vp.P=500
  351. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  352. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  353. if KnockbackType==1 then
  354. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  355. elseif KnockbackType==2 then
  356. vp.velocity=Property.CFrame.lookVector*knockback
  357. end
  358. if knockback>0 then
  359. vp.Parent=hit.Parent.Torso
  360. end
  361. game:GetService("Debris"):AddItem(vp,.5)
  362. elseif Type=="Up" then
  363. local bodyVelocity=Instance.new("BodyVelocity")
  364. bodyVelocity.velocity=vt(0,10,0)
  365. bodyVelocity.P=1000
  366. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  367. bodyVelocity.Parent=hit
  368. game:GetService("Debris"):AddItem(bodyVelocity,1)
  369. rl=Instance.new("BodyAngularVelocity")
  370. rl.P=3000
  371. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  372. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  373. rl.Parent=hit
  374. game:GetService("Debris"):AddItem(rl,.5)
  375. elseif Type=="Snare" then
  376. bp=Instance.new("BodyPosition")
  377. bp.P=2000
  378. bp.D=100
  379. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  380. bp.position=hit.Parent.Torso.Position
  381. bp.Parent=hit.Parent.Torso
  382. game:GetService("Debris"):AddItem(bp,1)
  383. elseif Type=="Target" then
  384. if Targetting==false then
  385. ZTarget=hit.Parent.Torso
  386. coroutine.resume(coroutine.create(function(Part)
  387. swait(5)
  388. end),ZTarget)
  389. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  390. targetgui=Instance.new("BillboardGui")
  391. targetgui.Parent=ZTarget
  392. targetgui.Size=UDim2.new(10,100,10,100)
  393. targ=Instance.new("ImageLabel")
  394. targ.Parent=targetgui
  395. targ.BackgroundTransparency=1
  396. targ.Image="rbxassetid://4834067"
  397. targ.Size=UDim2.new(1,0,1,0)
  398. cam.CameraType="Scriptable"
  399. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  400. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  401. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  402. Targetting=true
  403. RocketTarget=ZTarget
  404. for i=1,Property do
  405. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  406. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  407. swait()
  408. end
  409. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  410. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  411. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  412. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  413. end
  414. Targetting=false
  415. RocketTarget=nil
  416. targetgui.Parent=nil
  417. cam.CameraType="Custom"
  418. end
  419. end
  420. debounce=Instance.new("BoolValue")
  421. debounce.Name="DebounceHit"
  422. debounce.Parent=hit.Parent
  423. debounce.Value=true
  424. game:GetService("Debris"):AddItem(debounce,Delay)
  425. c=Instance.new("ObjectValue")
  426. c.Name="creator"
  427. c.Value=Player
  428. c.Parent=h
  429. game:GetService("Debris"):AddItem(c,.5)
  430. CRIT=false
  431. hitDeb=true
  432. AttackPos=6
  433. end
  434. end
  435.  
  436. showDamage=function(Char,Dealt,du,Color)
  437. m=Instance.new("Model")
  438. m.Name=""
  439. h=Instance.new("Humanoid")
  440. h.Health=0
  441. h.MaxHealth=0
  442. h.Parent=m
  443. c=Instance.new("Part")
  444. c.Transparency=0
  445. c.Material = "Neon"
  446. c.BrickColor=bc("Bright red")
  447. c.Name="Head"
  448. c.TopSurface=0
  449. c.BottomSurface=0
  450. CV="Hot pink"
  451.  
  452. local txt = Instance.new("BillboardGui", c)
  453. txt.Adornee = c
  454. txt.Name = "_status"
  455. txt.Size = UDim2.new(2, 0, 1.2, 0)
  456. txt.StudsOffset = Vector3.new(-9, 8, 0)
  457. local text = Instance.new("TextLabel", txt)
  458. text.Size = UDim2.new(10, 0, 7, 0)
  459. text.FontSize = "Size24"
  460. text.TextScaled = true
  461. text.TextTransparency = 0
  462. text.BackgroundTransparency = 1
  463. text.TextTransparency = 0
  464. text.TextStrokeTransparency = 0
  465. if Dealt < 12 then
  466. text.Font = "Highway"
  467. elseif Dealt < 20 then
  468. text.Font = "SourceSansBold"
  469. elseif Dealt >= 20 then
  470. text.Font = "Fantasy"
  471. end
  472. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  473. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  474. v=Instance.new("Part")
  475. v.Name = "ColorBrick"
  476. v.Parent=c
  477. v.FormFactor="Symmetric"
  478. v.Anchored=true
  479. v.CanCollide=false
  480. v.BottomSurface="Smooth"
  481. v.TopSurface="Smooth"
  482. v.Size=Vector3.new(10,5,3)
  483. v.Transparency=1
  484. v.CFrame=c.CFrame
  485. v.BrickColor=BrickColor.new(CV)
  486. v.Transparency=1
  487. if Dealt < 12 then
  488. text.TextColor3 = BrickColor.new("White").Color
  489. elseif Dealt < 20 then
  490. text.TextColor3 = BrickColor.new("Bright yellow").Color
  491. elseif Dealt >= 20 then
  492. text.TextColor3 = BrickColor.new("Really red").Color
  493. end
  494. v.Shape="Block"
  495. text.Text = tostring(Dealt).. "!"
  496. local dam = Instance.new("Sound",c)
  497. local rndm=math.random(1,#hitsounds)
  498. local r=rndm
  499. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  500. dam.Volume = 1.25
  501. dam.Pitch = 1
  502. dam:Play()
  503. c.formFactor="Plate"
  504. c.Transparency = 1
  505. c.Size=Vector3.new(1,.4,1)
  506. ms=Instance.new("CylinderMesh")
  507. ms.Scale=Vector3.new(.8,.8,.8)
  508. if CRIT==true then
  509. ms.Scale=Vector3.new(1,1.25,1)
  510. end
  511. ms.Parent=c
  512. c.Reflectance=0
  513. Instance.new("BodyGyro").Parent=c
  514. c.Parent=m
  515. if Char:findFirstChild("Head")~=nil then
  516. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  517. elseif Char.Parent:findFirstChild("Head")~=nil then
  518. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  519. end
  520. f=Instance.new("BodyPosition")
  521. f.P=2000
  522. f.D=100
  523. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  524. f.position=c.Position+Vector3.new(0,3,0)
  525. f.Parent=c
  526. game:GetService("Debris"):AddItem(m,.5+du)
  527. c.CanCollide=false
  528. m.Parent=workspace
  529. c.CanCollide=false
  530. wait(1)
  531. for l = 0, 9 do
  532. text.TextTransparency = text.TextTransparency + 0.1
  533. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  534. wait()
  535. end
  536. end
  537.  
  538. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  539. local gui = it(GuiType)
  540. gui.Parent = parent
  541. gui.Text = text
  542. gui.BackgroundTransparency = backtrans
  543. gui.BackgroundColor3 = backcol
  544. gui.SizeConstraint = "RelativeXY"
  545. gui.TextXAlignment = "Center"
  546. gui.TextYAlignment = "Center"
  547. gui.Position = pos
  548. gui.Size = size
  549. gui.Font = "SourceSans"
  550. gui.FontSize = "Size14"
  551. gui.TextWrapped = false
  552. gui.TextStrokeTransparency = 0
  553. gui.TextColor = BrickColor.new("White")
  554. return gui
  555. end
  556.  
  557. local mana = 249
  558. ---- GUI set
  559. local basgui = it("GuiMain")
  560. basgui.Parent = Player.PlayerGui
  561. basgui.Name = "CooldownsGUI"
  562. local basframe = it("Frame")
  563. basframe.Parent = basgui
  564. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  565. basframe.BackgroundTransparency = 1
  566. basframe.BorderColor3 = Color3.new(17, 17, 17)
  567. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  568. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  569. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(-0.15, 0, -0.175, 0), UDim2.new(0.45, 0, 0.35, 0))
  570. basicgui.ZIndex = 2
  571. basicgui.Font = "Highway"
  572. basicgui.BackgroundTransparency = 0.5
  573. basicgui.BorderSizePixel = 0.65
  574. basicgui.TextScaled = true
  575. basicgui.Text = "(Z)\nHotshot"
  576. basicgui.TextSize = 24
  577. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(0.35, 0, -0.175, 0), UDim2.new(0.45, 0, 0.35, 0))
  578. basicgui2.ZIndex = 2
  579. basicgui2.Font = "Highway"
  580. basicgui2.BackgroundTransparency = 0.5
  581. basicgui2.BorderSizePixel = 0.65
  582. basicgui2.TextScaled = true
  583. basicgui2.Text = "(X)\nBlazing Dash"
  584. basicgui2.TextSize = 24
  585. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  586. basicgui3.ZIndex = 2
  587. basicgui3.Font = "Highway"
  588. basicgui3.BackgroundTransparency = 0.5
  589. basicgui3.BorderSizePixel = 0.65
  590. basicgui3.TextScaled = true
  591. basicgui3.Text = "(C)\nBlazing Boomrang"
  592. basicgui3.TextSize = 24
  593. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright orange").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  594. basicgui4.ZIndex = 2
  595. basicgui4.Font = "Highway"
  596. basicgui4.BackgroundTransparency = 0.5
  597. basicgui4.BorderSizePixel = 0.65
  598. basicgui4.TextScaled = true
  599. basicgui4.Text = "(V)\nDying Star"
  600. basicgui4.TextSize = 24
  601.  
  602. local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
  603. healthg.ZIndex = 2
  604. healthg.Font = "Highway"
  605. healthg.BackgroundTransparency = 0.5
  606. healthg.BorderSizePixel = 0.65
  607. healthg.TextScaled = true
  608. healthg.Text = "health"
  609. healthg.TextSize = 24
  610.  
  611. local manag = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Bright blue").Color, UDim2.new(-0.15, 0, -0.35, 0), UDim2.new(0.95, 0, 0.15, 0))
  612. manag.ZIndex = 2
  613. manag.Font = "Highway"
  614. manag.BackgroundTransparency = 0.5
  615. manag.BorderSizePixel = 0.65
  616. manag.TextScaled = true
  617. manag.Text = "health"
  618. manag.TextSize = 24
  619.  
  620. ---------------- Weapon model
  621.  
  622. local handle = Instance.new("Part")
  623. handle.Parent = Character
  624. handle.Size = Vector3.new(1,1,1)
  625. handle.Archivable = true
  626. handle.Transparency = 0.99
  627. handle.BrickColor = BrickColor.new("White")
  628. handle.Material = "Neon"
  629. local handlmesh = Instance.new("BlockMesh",handle)
  630. handlmesh.Scale = Vector3.new(1,1,1)
  631. local handleweld = Instance.new("Weld")
  632. handleweld.Parent = handle
  633. handleweld.Part0 = torso
  634. handleweld.Part1 = handle
  635. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  636. local par = Instance.new("Part")
  637. par.Parent = Character
  638. par.Size = Vector3.new(0.2,0.2,0.2)
  639. par.Archivable = true
  640. par.Transparency = 0
  641. par.BrickColor = BrickColor.new("Really black")
  642. par.Material = "Metal"
  643. local parmesh = Instance.new("SpecialMesh",par)
  644. parmesh.MeshType = "FileMesh"
  645. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  646. parmesh.Scale = Vector3.new(5,5,5)
  647. local weld12 = Instance.new("Weld")
  648. weld12.Parent = par
  649. weld12.Part0 = handle
  650. weld12.Part1 = par
  651. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  652. local par2 = Instance.new("Part")
  653. par2.Parent = Character
  654. par2.Size = Vector3.new(0.2,0.2,0.2)
  655. par2.Archivable = true
  656. par2.Transparency = 0
  657. par2.BrickColor = BrickColor.new("Really black")
  658. par2.Material = "Metal"
  659. local parmesh2 = Instance.new("SpecialMesh",par2)
  660. parmesh2.MeshType = "FileMesh"
  661. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  662. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  663. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  664. parmesh2.TextureId = "rbxassetid://269748808"
  665. local weld13 = Instance.new("Weld")
  666. weld13.Parent = par2
  667. weld13.Part0 = handle
  668. weld13.Part1 = par2
  669. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  670. local par3 = Instance.new("Part")
  671. par3.Parent = Character
  672. par3.Size = Vector3.new(0.2,0.2,0.2)
  673. par3.Archivable = true
  674. par3.Transparency = 0
  675. par3.BrickColor = BrickColor.new("Really black")
  676. par3.Material = "Metal"
  677. local parmesh3 = Instance.new("SpecialMesh",par3)
  678. parmesh3.MeshType = "FileMesh"
  679. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  680. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  681. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  682. parmesh3.TextureId = "rbxassetid://269748808"
  683. local weld14 = Instance.new("Weld")
  684. weld14.Parent = par3
  685. weld14.Part0 = handle
  686. weld14.Part1 = par3
  687. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  688. local par4 = Instance.new("Part")
  689. par4.Parent = Character
  690. par4.Size = Vector3.new(0.2,0.2,0.2)
  691. par4.Archivable = true
  692. par4.Transparency = 0
  693. par4.BrickColor = BrickColor.new("Really black")
  694. par4.Material = "Metal"
  695. local parmesh4 = Instance.new("SpecialMesh",par4)
  696. parmesh4.MeshType = "FileMesh"
  697. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  698. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  699. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  700. parmesh4.TextureId = "rbxassetid://269748808"
  701. local weld15 = Instance.new("Weld")
  702. weld15.Parent = par4
  703. weld15.Part0 = handle
  704. weld15.Part1 = par4
  705. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  706. local par4a = Instance.new("Part")
  707. par4a.Parent = Character
  708. par4a.Size = Vector3.new(0.2,0.2,0.2)
  709. par4a.Archivable = true
  710. par4a.Transparency = 0
  711. par4a.BrickColor = BrickColor.new("Really black")
  712. par4a.Material = "Metal"
  713. local parmesh4a = Instance.new("SpecialMesh",par4a)
  714. parmesh4a.MeshType = "FileMesh"
  715. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  716. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  717. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  718. parmesh4a.TextureId = "rbxassetid://269748808"
  719. local weld15a = Instance.new("Weld")
  720. weld15a.Parent = par4a
  721. weld15a.Part0 = par4
  722. weld15a.Part1 = par4a
  723. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  724. local par4b = Instance.new("Part")
  725. par4b.Parent = Character
  726. par4b.Size = Vector3.new(0.2,0.2,0.2)
  727. par4b.Archivable = true
  728. par4b.Transparency = 0
  729. par4b.BrickColor = BrickColor.new("Really black")
  730. par4b.Material = "Metal"
  731. local parmesh4b = Instance.new("SpecialMesh",par4b)
  732. parmesh4b.MeshType = "FileMesh"
  733. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  734. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  735. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  736. parmesh4b.TextureId = "rbxassetid://269748808"
  737. local weld15b = Instance.new("Weld")
  738. weld15b.Parent = par4b
  739. weld15b.Part0 = par4
  740. weld15b.Part1 = par4b
  741. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  742. local par5 = Instance.new("Part")
  743. par5.Parent = Character
  744. par5.Size = Vector3.new(0.2,0.2,0.2)
  745. par5.Archivable = true
  746. par5.Transparency = 0
  747. par5.BrickColor = BrickColor.new("Really black")
  748. par5.Material = "Metal"
  749. local parmesh5 = Instance.new("SpecialMesh",par5)
  750. parmesh5.MeshType = "FileMesh"
  751. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  752. parmesh5.Scale = Vector3.new(1,1,0.75)
  753. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  754. parmesh5.TextureId = "rbxassetid://269748808"
  755. local weld16 = Instance.new("Weld")
  756. weld16.Parent = par5
  757. weld16.Part0 = handle
  758. weld16.Part1 = par5
  759. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  760. local par5a = Instance.new("Part")
  761. par5a.Parent = Character
  762. par5a.Size = Vector3.new(0.2,0.2,0.2)
  763. par5a.Archivable = true
  764. par5a.Transparency = 0
  765. par5a.BrickColor = BrickColor.new("Really black")
  766. par5a.Material = "Metal"
  767. local parmesh5a = Instance.new("SpecialMesh",par5a)
  768. parmesh5a.MeshType = "FileMesh"
  769. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  770. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  771. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  772. parmesh5a.TextureId = "rbxassetid://269748808"
  773. local weld16a = Instance.new("Weld")
  774. weld16a.Parent = par5a
  775. weld16a.Part0 = par5
  776. weld16a.Part1 = par5a
  777. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  778. local par5b = Instance.new("Part")
  779. par5b.Parent = Character
  780. par5b.Size = Vector3.new(0.2,0.2,0.2)
  781. par5b.Archivable = true
  782. par5b.Transparency = 0
  783. par5b.BrickColor = BrickColor.new("Really black")
  784. par5b.Material = "Metal"
  785. local parmesh5b = Instance.new("SpecialMesh",par5b)
  786. parmesh5b.MeshType = "FileMesh"
  787. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  788. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  789. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  790. parmesh5b.TextureId = "rbxassetid://269748808"
  791. local weld16b = Instance.new("Weld")
  792. weld16b.Parent = par5b
  793. weld16b.Part0 = par5
  794. weld16b.Part1 = par5b
  795. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  796. local par6 = Instance.new("Part")
  797. par6.Parent = Character
  798. par6.Size = Vector3.new(0.2,0.2,0.2)
  799. par6.Archivable = true
  800. par6.Transparency = 0
  801. par6.BrickColor = BrickColor.new("Really black")
  802. par6.Material = "Metal"
  803. local parmesh6 = Instance.new("SpecialMesh",par6)
  804. parmesh6.MeshType = "FileMesh"
  805. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  806. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  807. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  808. parmesh6.TextureId = "rbxassetid://269748808"
  809. local weld17 = Instance.new("Weld")
  810. weld17.Parent = par6
  811. weld17.Part0 = handle
  812. weld17.Part1 = par6
  813. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  814. local par6a = Instance.new("Part")
  815. par6a.Parent = Character
  816. par6a.Size = Vector3.new(0.2,0.2,0.2)
  817. par6a.Archivable = true
  818. par6a.Transparency = 0
  819. par6a.BrickColor = BrickColor.new("Really black")
  820. par6a.Material = "Metal"
  821. local parmesh6a = Instance.new("SpecialMesh",par6a)
  822. parmesh6a.MeshType = "FileMesh"
  823. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  824. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  825. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  826. parmesh6a.TextureId = "rbxassetid://269748808"
  827. local weld17a = Instance.new("Weld")
  828. weld17a.Parent = par6a
  829. weld17a.Part0 = par6
  830. weld17a.Part1 = par6a
  831. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  832. local par6b = Instance.new("Part")
  833. par6b.Parent = Character
  834. par6b.Size = Vector3.new(0.2,0.2,0.2)
  835. par6b.Archivable = true
  836. par6b.Transparency = 0
  837. par6b.BrickColor = BrickColor.new("Really black")
  838. par6b.Material = "Metal"
  839. local parmesh6b = Instance.new("SpecialMesh",par6b)
  840. parmesh6b.MeshType = "FileMesh"
  841. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  842. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  843. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  844. parmesh6b.TextureId = "rbxassetid://269748808"
  845. local weld17b = Instance.new("Weld")
  846. weld17b.Parent = par6b
  847. weld17b.Part0 = par6
  848. weld17b.Part1 = par6b
  849. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  850. local par7 = Instance.new("Part")
  851. par7.Parent = Character
  852. par7.Size = Vector3.new(0.2,0.2,0.2)
  853. par7.Archivable = true
  854. par7.Transparency = 0
  855. par7.BrickColor = BrickColor.new("Really black")
  856. par7.Material = "Metal"
  857. local parmesh7 = Instance.new("SpecialMesh",par7)
  858. parmesh7.MeshType = "FileMesh"
  859. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  860. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  861. local weld18 = Instance.new("Weld")
  862. weld18.Parent = par7
  863. weld18.Part0 = handle
  864. weld18.Part1 = par7
  865. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  866. local par8 = Instance.new("Part")
  867. par8.Parent = Character
  868. par8.Size = Vector3.new(0.2,0.2,0.2)
  869. par8.Archivable = true
  870. par8.Transparency = 0
  871. par8.BrickColor = BrickColor.new("Really black")
  872. par8.Material = "Metal"
  873. local parmesh8 = Instance.new("SpecialMesh",par8)
  874. parmesh8.MeshType = "FileMesh"
  875. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  876. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  877. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  878. parmesh8.TextureId = "rbxassetid://269748808"
  879. local weld19 = Instance.new("Weld")
  880. weld19.Parent = par8
  881. weld19.Part0 = handle
  882. weld19.Part1 = par8
  883. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  884. ----- lol
  885. handle.CanCollide = false
  886. par.CanCollide = false
  887. par2.CanCollide = false
  888. par3.CanCollide = false
  889. par4.CanCollide = false
  890. par4a.CanCollide = false
  891. par4b.CanCollide = false
  892. par5.CanCollide = false
  893. par5a.CanCollide = false
  894. par5b.CanCollide = false
  895. par6.CanCollide = false
  896. par6a.CanCollide = false
  897. par6b.CanCollide = false
  898. par7.CanCollide = false
  899. par8.CanCollide = false
  900. ----
  901.  
  902. function attackone()
  903. attack = true
  904. handleweld.Part0 = rarm
  905. for i = 0,2,0.1 do
  906. swait()
  907. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  908. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  909. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50 - 2.5 * math.cos(sine / 32))), 0.3)
  910. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  911. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 2.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  912. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  913. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  914. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  915. end
  916. local slas = Instance.new("Sound",handle)
  917. slas.SoundId = "rbxassetid://199145095"
  918. slas.Volume = 1.75
  919. slas.Pitch = 1
  920. slas:Play()
  921. local hit = handle.Touched:connect(function(hit)
  922. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  923. end)
  924. for i = 0,1,0.1 do
  925. swait()
  926. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  927. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  928. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  929. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  930. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  931. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  932. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  933. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  934. end
  935. attack = false
  936. hit:disconnect()
  937. wait(3)
  938. slas:Destroy()
  939. end
  940.  
  941. function attacktwo()
  942. attack = true
  943. handleweld.Part0 = rarm
  944. for i = 0,2,0.1 do
  945. swait()
  946. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  947. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  948. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(50 - 2.5 * math.cos(sine / 32))), 0.3)
  949. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  950. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 2.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  951. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  952. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  953. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  954. end
  955. local slas = Instance.new("Sound",handle)
  956. slas.SoundId = "rbxassetid://199145095"
  957. slas.Volume = 1.75
  958. slas.Pitch = 0.9
  959. slas:Play()
  960. local hit = handle.Touched:connect(function(hit)
  961. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  962. end)
  963. for i = 0,1,0.5 do
  964. swait()
  965. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  966. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  967. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  968. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  969. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 10, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  970. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  971. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  972. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  973. end
  974. for i = 0,1,0.5 do
  975. swait()
  976. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  977. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  978. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  979. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  980. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 15, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  981. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  982. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  983. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  984. end
  985. for i = 0,1,0.5 do
  986. swait()
  987. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  988. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  990. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  991. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 20, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  992. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  993. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  994. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  995. end
  996. for i = 0,3,0.5 do
  997. swait()
  998. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  999. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1000. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1001. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1002. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 25, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.25)
  1003. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1004. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1005. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1006. end
  1007. attack = false
  1008. hit:disconnect()
  1009. wait(3)
  1010. slas:Destroy()
  1011. end
  1012.  
  1013. function attackthree()
  1014. attack = true
  1015. handleweld.Part0 = rarm
  1016. for i = 0,2,0.1 do
  1017. swait()
  1018. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1019. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1020. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1021. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1022. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1023. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1024. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1025. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1026. end
  1027. local hit = handle.Touched:connect(function(hit)
  1028. Damagefunc(hit,5,6,5,"Normal",root,.2,1)
  1029. end)
  1030. local slas = Instance.new("Sound",handle)
  1031. slas.SoundId = "rbxassetid://199145095"
  1032. slas.Volume = 1.75
  1033. slas.Pitch = 0.95
  1034. slas:Play()
  1035. for i = 0,2,0.1 do
  1036. swait()
  1037. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(75)),.3)
  1038. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-75)),.3)
  1039. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(75 - 2.5 * math.cos(sine / 32))), 0.3)
  1040. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1041. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 7.5) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1042. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1043. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1044. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1045. end
  1046. slas:Destroy()
  1047. attack = false
  1048. hit:disconnect()
  1049. end
  1050.  
  1051. function attackfour()
  1052. attack = true
  1053. handleweld.Part0 = rarm
  1054. local tra = Instance.new("ParticleEmitter",handle)
  1055. tra.Texture = "rbxassetid://296874871"
  1056. tra.LightEmission = 0.95
  1057. tra.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1058. tra.Rate = 1000
  1059. tra.Lifetime = NumberRange.new(0.25)
  1060. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1061. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.85,0)})
  1062. tra.Speed = NumberRange.new(0)
  1063. tra.Rotation = NumberRange.new(-500,500)
  1064. tra.VelocitySpread = 90000
  1065. tra.LockedToPart = true
  1066. tra.RotSpeed = NumberRange.new(-500,500)
  1067. for i = 0,5,0.1 do
  1068. swait()
  1069. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1070. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1071. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1072. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1073. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1074. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1075. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1076. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1077. end
  1078. local traz = Instance.new("ParticleEmitter",handle)
  1079. traz.Texture = "rbxassetid://296874871"
  1080. traz.LightEmission = 0.95
  1081. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1082. traz.Rate = 1000000
  1083. traz.Lifetime = NumberRange.new(0.5)
  1084. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,15,0)})
  1085. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1086. traz.Speed = NumberRange.new(50)
  1087. traz.Rotation = NumberRange.new(-500,500)
  1088. traz.VelocitySpread = 90000
  1089. traz.RotSpeed = NumberRange.new(-500,500)
  1090. local sa = Instance.new("Sound",handle)
  1091. sa.SoundId = "rbxassetid://519795084"
  1092. sa.Volume = 1.25
  1093. sa.Pitch = 1.5
  1094. sa:Play()
  1095. tra.Rate = 0
  1096. local lb = Instance.new("Part")
  1097. lb.Parent = char
  1098. lb.Material = "Neon"
  1099. lb.Color = Color3.new(1,0.5,0)
  1100. lb.CanCollide = false
  1101. lb.Shape = "Ball"
  1102. lb.CFrame = handle.CFrame
  1103. lb.Anchored = true
  1104. lb.Size = vt(3,3,3)
  1105. local thing = Instance.new("SpecialMesh",lb)
  1106. thing.MeshType = meshtype
  1107. lb.Touched:connect(function(hit)
  1108. Damagefunc(hit,7,8,5,"Normal",root,.2,1)
  1109. end)
  1110. lb.Anchored = false
  1111. local trail = Instance.new("ParticleEmitter",lb)
  1112. trail.Texture = "rbxassetid://296874871"
  1113. trail.LightEmission = 0.95
  1114. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1115. trail.Rate = 10000
  1116. trail.Lifetime = NumberRange.new(1.5)
  1117. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1118. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.95,0),NumberSequenceKeypoint.new(1,1,0)})
  1119. trail.Speed = NumberRange.new(0,0)
  1120. trail.Rotation = NumberRange.new(-500,500)
  1121. trail.RotSpeed = NumberRange.new(-500,500)
  1122. local bv = Instance.new("BodyVelocity")
  1123. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1124. bv.velocity = mouse.Hit.lookVector *175
  1125. bv.Parent = lb
  1126. traz.Rate = 0
  1127. for i = 0,1,0.1 do
  1128. swait()
  1129. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.5,0)* angles(math.rad(0),math.rad(0),math.rad(-85)),.3)
  1130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(85)),.3)
  1131. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(25 - 2.5 * math.cos(sine / 32))), 0.3)
  1132. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1133. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1134. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1135. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1136. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1137. end
  1138. attack = false
  1139. wait(10)
  1140. traz:Destroy()
  1141. tra:Destroy()
  1142. sa:Destroy()
  1143. lb:Destroy()
  1144. end
  1145. hold = false
  1146.  
  1147. function do1()
  1148. attack = true
  1149. handleweld.Part0 = rarm
  1150. local tra = Instance.new("ParticleEmitter",handle)
  1151. tra.Texture = "rbxassetid://296874871"
  1152. tra.LightEmission = 0.95
  1153. tra.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1154. tra.Rate = 1000
  1155. tra.Lifetime = NumberRange.new(0.25)
  1156. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1157. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.85,0)})
  1158. tra.Speed = NumberRange.new(0)
  1159. tra.Rotation = NumberRange.new(-500,500)
  1160. tra.VelocitySpread = 90000
  1161. tra.LockedToPart = true
  1162. tra.RotSpeed = NumberRange.new(-500,500)
  1163. while true do
  1164. swait()
  1165. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50 + 2.5 * math.cos(sine / 32))), 0.3)
  1169. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1170. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1171. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1172. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1173. if hold == false then
  1174. break
  1175. end
  1176. end
  1177. local traz = Instance.new("ParticleEmitter",handle)
  1178. traz.Texture = "rbxassetid://296874871"
  1179. traz.LightEmission = 0.95
  1180. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1181. traz.Rate = 1000000
  1182. traz.Lifetime = NumberRange.new(0.5)
  1183. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,15,0)})
  1184. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1185. traz.Speed = NumberRange.new(50)
  1186. traz.Rotation = NumberRange.new(-500,500)
  1187. traz.VelocitySpread = 90000
  1188. traz.RotSpeed = NumberRange.new(-500,500)
  1189. local sa = Instance.new("Sound",handle)
  1190. sa.SoundId = "rbxassetid://519795084"
  1191. sa.Volume = 1.25
  1192. sa.Pitch = 1.15
  1193. sa:Play()
  1194. tra.Rate = 0
  1195. local lb = Instance.new("Part")
  1196. lb.Parent = char
  1197. lb.Material = "Neon"
  1198. lb.Color = Color3.new(1,0.5,0)
  1199. lb.CanCollide = false
  1200. lb.Shape = "Ball"
  1201. lb.CFrame = handle.CFrame
  1202. lb.Anchored = true
  1203. lb.Size = vt(7.5,7.5,7.5)
  1204. local thing = Instance.new("SpecialMesh",lb)
  1205. thing.MeshType = meshtype
  1206. lb.Touched:connect(function(hit)
  1207. Damagefunc(hit,10,15,5,"Normal",root,.2,1)
  1208. end)
  1209. lb.Anchored = false
  1210. local trail = Instance.new("ParticleEmitter",lb)
  1211. trail.Texture = "rbxassetid://296874871"
  1212. trail.LightEmission = 0.95
  1213. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1214. trail.Rate = 10000
  1215. trail.Lifetime = NumberRange.new(1.5)
  1216. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1217. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.95,0),NumberSequenceKeypoint.new(1,1,0)})
  1218. trail.Speed = NumberRange.new(0,0)
  1219. trail.Rotation = NumberRange.new(-500,500)
  1220. trail.RotSpeed = NumberRange.new(-500,500)
  1221. local bv = Instance.new("BodyVelocity")
  1222. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1223. bv.velocity = mouse.Hit.lookVector *175
  1224. bv.Parent = lb
  1225. traz.Rate = 0
  1226. for i = 0,1,0.1 do
  1227. swait()
  1228. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.5,0)* angles(math.rad(0),math.rad(0),math.rad(-85)),.3)
  1229. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(85)),.3)
  1230. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(25 - 2.5 * math.cos(sine / 32))), 0.3)
  1231. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1232. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1233. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1234. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1235. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1236. end
  1237. attack = false
  1238. wait(10)
  1239. traz:Destroy()
  1240. tra:Destroy()
  1241. sa:Destroy()
  1242. lb:Destroy()
  1243. end
  1244.  
  1245. function do2()
  1246. attack = true
  1247. handleweld.Part0 = rarm
  1248. for i = 0,2,0.1 do
  1249. swait()
  1250. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1251. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  1252. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-50 - 2.5 * math.cos(sine / 32))), 0.3)
  1253. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1254. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1255. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1256. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1257. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1258. end
  1259. local traz2 = Instance.new("ParticleEmitter",handle)
  1260. traz2.Texture = "rbxassetid://296874871"
  1261. traz2.LightEmission = 0.95
  1262. traz2.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1263. traz2.Rate = 1000000
  1264. traz2.Lifetime = NumberRange.new(1)
  1265. traz2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,50,0)})
  1266. traz2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1267. traz2.Speed = NumberRange.new(25,50)
  1268. traz2.Rotation = NumberRange.new(-500,500)
  1269. traz2.VelocitySpread = 90000
  1270. traz2.RotSpeed = NumberRange.new(-500,500)
  1271. local traz = Instance.new("ParticleEmitter",handle)
  1272. traz.Texture = "rbxassetid://296874871"
  1273. traz.LightEmission = 0.95
  1274. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1275. traz.Rate = 1000000
  1276. traz.Lifetime = NumberRange.new(0.5)
  1277. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,15,0)})
  1278. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1279. traz.Speed = NumberRange.new(0)
  1280. traz.Rotation = NumberRange.new(-500,500)
  1281. traz.VelocitySpread = 90000
  1282. traz.RotSpeed = NumberRange.new(-500,500)
  1283. root.Velocity = root.CFrame.lookVector*250
  1284. local hit = handle.Touched:connect(function(hit)
  1285. Damagefunc(hit,10,14,5,"Normal",root,.2,1)
  1286. end)
  1287. local slas = Instance.new("Sound",handle)
  1288. slas.SoundId = "rbxassetid://412756170"
  1289. slas.Volume = 2.5
  1290. slas.Pitch = 0.75
  1291. slas:Play()
  1292. wait(0.05)
  1293. traz2.Rate = 0
  1294. for i = 0,3.5,0.1 do
  1295. swait()
  1296. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(75)),.3)
  1297. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-75)),.3)
  1298. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(75 - 2.5 * math.cos(sine / 32))), 0.3)
  1299. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1300. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, 7.5) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1301. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1302. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1303. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1304. end
  1305. traz.Rate = 0
  1306. attack = false
  1307. hit:disconnect()
  1308. wait(10)
  1309. traz2:Destroy()
  1310. traz:Destroy()
  1311. slas:Destroy()
  1312. end
  1313.  
  1314. function do3()
  1315. attack = true
  1316. local van = 1
  1317. for i = 0,3,0.1 do
  1318. swait()
  1319. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1320. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1321. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1322. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1323. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, -3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1324. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1325. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1326. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1327. end
  1328. local slas = Instance.new("Sound",handle)
  1329. slas.SoundId = "rbxassetid://412756170"
  1330. slas.Volume = 2.5
  1331. slas.Pitch = 0.75
  1332. slas:Play()
  1333. local traz = Instance.new("ParticleEmitter",handle)
  1334. traz.Texture = "rbxassetid://296874871"
  1335. traz.LightEmission = 0.95
  1336. traz.Color = ColorSequence.new(Color3.new(1,0.5,0))
  1337. traz.Rate = 1000000
  1338. traz.Lifetime = NumberRange.new(0.5)
  1339. traz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,10,0)})
  1340. traz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  1341. traz.Speed = NumberRange.new(0)
  1342. traz.Rotation = NumberRange.new(-500,500)
  1343. traz.VelocitySpread = 90000
  1344. traz.RotSpeed = NumberRange.new(-500,500)
  1345. local hit = handle.Touched:connect(function(hit)
  1346. Damagefunc(hit,19,25,5,"Normal",root,.2,1)
  1347. end)
  1348. for i = 0,3,0.1 do
  1349. swait()
  1350. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1351. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1352. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1353. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1354. handleweld.C1 = clerp(handleweld.C1, CFrame.new(75, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1355. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1356. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1357. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1358. end
  1359. for i = 0,1,0.5 do
  1360. swait()
  1361. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1362. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1363. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1364. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1365. handleweld.C1 = clerp(handleweld.C1, CFrame.new(50, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1366. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1367. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1368. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1369. end
  1370. for i = 0,1,0.5 do
  1371. swait()
  1372. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1373. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1374. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1375. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1376. handleweld.C1 = clerp(handleweld.C1, CFrame.new(25, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1377. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1378. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1379. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1380. end
  1381. for i = 0,5,0.1 do
  1382. swait()
  1383. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1384. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1385. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1386. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1387. handleweld.C1 = clerp(handleweld.C1, CFrame.new(5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1388. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1389. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1390. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1391. end
  1392. hit:disconnect()
  1393. traz.Rate = 0
  1394. attack = false
  1395. wait(5)
  1396. traz:Destroy()
  1397. slas:Destroy()
  1398. end
  1399.  
  1400. function DeleteParent(parent)
  1401. for i,v in pairs(parent:children()) do
  1402. if v:IsA("Part") then
  1403. v:Destroy()
  1404. end
  1405. end
  1406. end
  1407.  
  1408. function do4()
  1409. attack = true
  1410. hum.WalkSpeed = 0
  1411. local van = 1
  1412. local lba = Instance.new("Part")
  1413. local slas = Instance.new("Sound",lba)
  1414. slas.SoundId = "rbxassetid://137463716"
  1415. slas.Volume = 1.5
  1416. slas.Pitch = 0.25
  1417. slas:Play()
  1418. local slas2 = Instance.new("Sound",lba)
  1419. slas2.SoundId = "rbxassetid://342793847"
  1420. slas2.Volume = 1.5
  1421. slas2.Pitch = 0.5
  1422. slas2:Play()
  1423. lba.Parent = char
  1424. lba.Material = "Neon"
  1425. lba.BrickColor = BrickColor.new("Persimmon")
  1426. lba.CanCollide = false
  1427. lba.Shape = "Ball"
  1428. lba.CFrame = handle.CFrame
  1429. lba.Anchored = true
  1430. lba.Size = vt(1,1,1)
  1431. local thing = Instance.new("SpecialMesh",lba)
  1432. thing.MeshType = meshtype
  1433. for i = 0,50,0.1 do
  1434. swait()
  1435. van = van + 0.05
  1436. thing.Scale = thing.Scale + vt(0.085,0.085,0.085)
  1437. lba.CFrame = handle.CFrame + vt(0,van,0)
  1438. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1439. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(5 - 2.5 * math.cos(sine / 32))), 0.3)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(-5 + 2.5 * math.cos(sine / 32))), 0.3)
  1442. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, 0, -3.25) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.1)
  1443. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 32))), 0.3)
  1444. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1445. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 32))), 0.3)
  1446. end
  1447. for z = 0, 9 do
  1448. for i = 0, 24 do
  1449. thing.Scale = thing.Scale - vt(0.15,0.15,0.15)
  1450. local lb = Instance.new("Part")
  1451. lb.Parent = handle
  1452. lb.Material = "Neon"
  1453. lb.BrickColor = BrickColor.new("Persimmon")
  1454. lb.CanCollide = false
  1455. lb.Shape = "Ball"
  1456. lb.CFrame = lba.CFrame
  1457. lb.Anchored = false
  1458. lb.Size = vt(5,5,5)
  1459. lb.CFrame = lba.CFrame
  1460. local bv = Instance.new("BodyVelocity")
  1461. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1462. bv.velocity = vt(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1463. bv.Parent = lb
  1464. local sound = it("Sound",lb)
  1465. sound.Volume = 0.5
  1466. sound.SoundId = "rbxassetid://178452221"
  1467. sound.Pitch = 0.5
  1468. sound:Play()
  1469. lb.Touched:connect(function(hit)
  1470. Damagefunc(hit,20,30,5,"Normal",root,.2,1)
  1471. end)
  1472. wait()
  1473. end
  1474. end
  1475. lba:Destroy()
  1476. hum.WalkSpeed = 16
  1477. attack = false
  1478. wait(10)
  1479. DeleteParent(handle)
  1480. end
  1481.  
  1482. attackcombo = 0
  1483.  
  1484. mouse.Button1Down:connect(function()
  1485. if hold == false then
  1486. if attack == false and attackcombo == 0 then
  1487. attackcombo = 1
  1488. attackone()
  1489. elseif attack == false and attackcombo == 1 then
  1490. attackcombo = 2
  1491. attacktwo()
  1492. elseif attack == false and attackcombo == 2 then
  1493. attackcombo = 3
  1494. attackthree()
  1495. elseif attack == false and attackcombo == 3 then
  1496. attackcombo = 0
  1497. attackfour()
  1498. end
  1499. end
  1500. if attack == true and hold == true then
  1501. hold = false
  1502. end
  1503. end)
  1504.  
  1505. mouse.KeyDown:connect(function(key)
  1506. if key == "z" and attack == false and hold == false and mana >= 25 then
  1507. hold = true
  1508. mana = mana - 25
  1509. do1()
  1510. end
  1511. if key == "x" and attack == false and mana >= 40 then
  1512. mana = mana - 40
  1513. do2()
  1514. end
  1515. if key == "c" and attack == false and mana >= 60 then
  1516. mana = mana - 60
  1517. do3()
  1518. end
  1519. if key == "v" and attack == false and mana >= 100 then
  1520. mana = mana - 100
  1521. do4()
  1522. end
  1523. end)
  1524.  
  1525. game:GetService("RunService").Stepped:connect(function()
  1526. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1527. velocity = RootPart.Velocity.y
  1528. sine = sine + change
  1529. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1530. if equipped == true or equipped == false then
  1531. healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
  1532. manag.Text = "Mana: " ..math.floor(mana)
  1533. if mana <= 250 then
  1534. mana = mana + 0.25
  1535. end
  1536. if RootPart.Velocity.y > 1 and hit == nil then
  1537. Anim = "Jump"
  1538. if attack == false then
  1539. handleweld.Part0 = torso
  1540. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1541. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  1542. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
  1543. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  1544. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1545. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  1546. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1547. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1548. end
  1549. else
  1550. if RootPart.Velocity.y < -1 and hit == nil then
  1551. Anim = "Fall"
  1552. if attack == false then
  1553. handleweld.Part0 = torso
  1554. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1555. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  1556. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  1557. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1558. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1559. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  1560. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1561. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1562. end
  1563. else
  1564. if Torsovelocity < 1 and hit ~= nil then
  1565. Anim = "Idle"
  1566. if attack == false then
  1567. change = 1
  1568. handleweld.Part0 = torso
  1569. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1570. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1571. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10 - 5 * math.cos(sine / 32))), 0.3)
  1572. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 5 * math.cos(sine / 32))), 0.3)
  1573. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1574. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  1575. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1576. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1577. end
  1578. else
  1579. if Torsovelocity > 2 and hit ~= nil then
  1580. Anim = "Walk"
  1581. if attack == false then
  1582. handleweld.Part0 = torso
  1583. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 2.5))* angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1584. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1585. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 5)), math.rad(0), math.rad(10)), 0.3)
  1586. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
  1587. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1588. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  1589. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1590. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end
  1596. end
  1597. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement