Advertisement
Guest User

LoliColi

a guest
Apr 22nd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 281.38 KB | None | 0 0
  1. --bird wings Gifted by harrypotterfan249, Local Script!
  2. --Jump Two Time
  3. --Down Press Q
  4.  
  5. script.Parent = nil
  6.  
  7. function fly()
  8.  
  9. for i,v in pairs(script:GetChildren()) do
  10.  
  11. pcall(function() v.Value = "" end)
  12.  
  13. game:GetService("Debris"):AddItem(v,.1)
  14.  
  15. end
  16.  
  17. function weld(p0,p1,c0,c1,par)
  18.  
  19. local w = Instance.new("Weld",p0 or par)
  20.  
  21. w.Part0 = p0
  22.  
  23. w.Part1 = p1
  24.  
  25. w.C0 = c0 or CFrame.new()
  26.  
  27. w.C1 = c1 or CFrame.new()
  28.  
  29. return w
  30.  
  31. end
  32.  
  33. local motors = {}
  34.  
  35. function motor(p0,p1,c0,c1,des,vel,par)
  36.  
  37. local w = Instance.new("Motor6D",p0 or par)
  38.  
  39. w.Part0 = p0
  40.  
  41. w.Part1 = p1
  42.  
  43. w.C0 = c0 or CFrame.new()
  44.  
  45. w.C1 = c1 or CFrame.new()
  46.  
  47. w.MaxVelocity = tonumber(vel) or .05
  48.  
  49. w.DesiredAngle = tonumber(des) or 0
  50.  
  51. return w
  52.  
  53. end
  54.  
  55. function lerp(a,b,c)
  56.  
  57. return a+(b-a)*c
  58.  
  59. end
  60.  
  61. function clerp(c1,c2,al)
  62.  
  63. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  64.  
  65. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  66.  
  67. for i,v in pairs(com1) do
  68.  
  69. com1[i] = lerp(v,com2[i],al)
  70.  
  71. end
  72.  
  73. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  74.  
  75. end
  76.  
  77. function ccomplerp(c1,c2,al)
  78.  
  79. local com1 = {c1:components()}
  80.  
  81. local com2 = {c2:components()}
  82.  
  83. for i,v in pairs(com1) do
  84.  
  85. com1[i] = lerp(v,com2[i],al)
  86.  
  87. end
  88.  
  89. return CFrame.new(unpack(com1))
  90.  
  91. end
  92.  
  93. function tickwave(time,length,offset)
  94.  
  95. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  96.  
  97. end
  98.  
  99. function invcol(c)
  100.  
  101. c = c.Color
  102.  
  103. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  104.  
  105. end
  106.  
  107. local oc = oc or function(...) return ... end
  108.  
  109. local plr = game.Players.LocalPlayer
  110.  
  111. local char = plr.Character
  112.  
  113. local tor = char.Torso
  114.  
  115. local hum = char.Humanoid
  116.  
  117. hum.PlatformStand = false
  118.  
  119. pcall(function()
  120.  
  121. char.Wings:Destroy()
  122.  
  123. end)
  124.  
  125. pcall(function()
  126.  
  127. char.Angel:Destroy() -- hat
  128.  
  129. end)
  130.  
  131. local mod = Instance.new("Model",char)
  132.  
  133. mod.Name = "Wings"
  134.  
  135. local special = {
  136.  
  137. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  138.  
  139. antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  140.  
  141. --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  142.  
  143. taart = {"Royal purple",nil,.4,.4,true},
  144.  
  145. mitta = {"Black",nil,0,0,false},
  146.  
  147. penjuin3 = {"White",nil,0,0,false},
  148.  
  149. thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  150.  
  151. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  152.  
  153. littleau999 = {"Reddish brown",1030,0,0,false},
  154.  
  155. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  156.  
  157. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  158.  
  159. krodmiss = {"Really black",nil,0,0,false},
  160.  
  161. }
  162.  
  163. local topcolor = invcol(char.Torso.BrickColor)
  164.  
  165. local feacolor = char.Torso.BrickColor
  166.  
  167. local ptrans = 0
  168.  
  169. local pref = 0
  170.  
  171. local fire = false
  172.  
  173. local fmcol = Color3.new()
  174.  
  175. local fscol = Color3.new()
  176.  
  177. local spec = special[plr.Name:lower()]
  178.  
  179. if spec then
  180.  
  181. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  182.  
  183. end
  184.  
  185. local part = Instance.new("Part")
  186.  
  187. part.FormFactor = "Custom"
  188.  
  189. part.Size = Vector3.new(.2,.2,.2)
  190.  
  191. part.TopSurface,part.BottomSurface = 0,0
  192.  
  193. part.CanCollide = false
  194.  
  195. part.BrickColor = topcolor
  196.  
  197. part.Transparency = ptrans
  198.  
  199. part.Reflectance = pref
  200.  
  201. local ef = Instance.new("Fire",fire and part or nil)
  202.  
  203. ef.Size = .15
  204.  
  205. ef.Color = fmcol or Color3.new()
  206.  
  207. ef.SecondaryColor = fscol or Color3.new()
  208.  
  209. part:BreakJoints()
  210.  
  211.  
  212. function newpart()
  213.  
  214. local clone = part:Clone()
  215.  
  216. clone.Parent = mod
  217.  
  218. clone:BreakJoints()
  219.  
  220. return clone
  221.  
  222. end
  223.  
  224. local feath = newpart()
  225.  
  226. feath.BrickColor = feacolor
  227.  
  228. feath.Transparency = 0
  229.  
  230. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  231.  
  232. function newfeather()
  233.  
  234. local clone = feath:Clone()
  235.  
  236. clone.Parent = mod
  237.  
  238. clone:BreakJoints()
  239.  
  240. return clone
  241.  
  242. end
  243.  
  244.  
  245. ---------- RIGHT WING
  246.  
  247. local r1 = newpart()
  248.  
  249. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  250.  
  251. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  252.  
  253. local r2 = newpart()
  254.  
  255. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  256.  
  257. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  258.  
  259. local r3 = newpart()
  260.  
  261. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  262.  
  263. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  264.  
  265. local r4 = newpart()
  266.  
  267. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  268.  
  269. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  270.  
  271. local feather = newfeather()
  272.  
  273. feather.Mesh.Scale = Vector3.new(1,1,1)
  274.  
  275. feather.Size = Vector3.new(.4,3,.3)
  276.  
  277. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  278.  
  279. feather = newfeather()
  280.  
  281. feather.Mesh.Scale = Vector3.new(1,1,1)
  282.  
  283. feather.Size = Vector3.new(.4,2.3,.3)
  284.  
  285. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  286.  
  287. feather = newfeather()
  288.  
  289. feather.Mesh.Scale = Vector3.new(1,1,1)
  290.  
  291. feather.Size = Vector3.new(.35,2.2,.25)
  292.  
  293. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  294.  
  295. local rf3 = {}
  296.  
  297. for i=0,7 do
  298.  
  299. feather = newfeather()
  300.  
  301. feather.Mesh.Scale = Vector3.new(1,1,1)
  302.  
  303. feather.Size = Vector3.new(.45,2.2,.35)
  304.  
  305. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  306.  
  307. end
  308.  
  309. local rf2 = {}
  310.  
  311. for i=0,6 do
  312.  
  313. feather = newfeather()
  314.  
  315. feather.Mesh.Scale = Vector3.new(1,1,1)
  316.  
  317. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  318.  
  319. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  320.  
  321. end
  322.  
  323. local rf1 = {}
  324.  
  325. for i=0,6 do
  326.  
  327. feather = newfeather()
  328.  
  329. feather.Mesh.Scale = Vector3.new(1,1,1)
  330.  
  331. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  332.  
  333. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  334.  
  335. end
  336.  
  337. ---------- LEFT WING
  338.  
  339. local l1 = newpart()
  340.  
  341. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  342.  
  343. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  344.  
  345. local l2 = newpart()
  346.  
  347. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  348.  
  349. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  350.  
  351. local l3 = newpart()
  352.  
  353. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  354.  
  355. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  356.  
  357. local l4 = newpart()
  358.  
  359. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  360.  
  361. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  362.  
  363. local feather = newfeather()
  364.  
  365. feather.Mesh.Scale = Vector3.new(1,1,1)
  366.  
  367. feather.Size = Vector3.new(.4,3,.3)
  368.  
  369. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  370.  
  371. feather = newfeather()
  372.  
  373. feather.Mesh.Scale = Vector3.new(1,1,1)
  374.  
  375. feather.Size = Vector3.new(.4,2.3,.3)
  376.  
  377. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  378.  
  379. feather = newfeather()
  380.  
  381. feather.Mesh.Scale = Vector3.new(1,1,1)
  382.  
  383. feather.Size = Vector3.new(.35,2.2,.25)
  384.  
  385. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  386.  
  387. local lf3 = {}
  388.  
  389. for i=0,7 do
  390.  
  391. feather = newfeather()
  392.  
  393. feather.Mesh.Scale = Vector3.new(1,1,1)
  394.  
  395. feather.Size = Vector3.new(.45,2.2,.35)
  396.  
  397. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  398.  
  399. end
  400.  
  401. local lf2 = {}
  402.  
  403. for i=0,6 do
  404.  
  405. feather = newfeather()
  406.  
  407. feather.Mesh.Scale = Vector3.new(1,1,1)
  408.  
  409. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  410.  
  411. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  412.  
  413. end
  414.  
  415. local lf1 = {}
  416.  
  417. for i=0,6 do
  418.  
  419. feather = newfeather()
  420.  
  421. feather.Mesh.Scale = Vector3.new(1,1,1)
  422.  
  423. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  424.  
  425. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  426.  
  427. end
  428.  
  429. local rwing = {rm1,rm2,rm3,rm4}
  430.  
  431. local lwing = {lm1,lm2,lm3,lm4}
  432.  
  433. local oc0 = {}
  434.  
  435. for i,v in pairs(rwing) do
  436.  
  437. oc0[v] = v.C0
  438.  
  439. end
  440.  
  441. for i,v in pairs(lwing) do
  442.  
  443. oc0[v] = v.C0
  444.  
  445. end
  446.  
  447. function gotResized()
  448.  
  449. if lastsize then
  450.  
  451. if tor.Size == lastsize then return end -- This shouldn't happen?
  452.  
  453. local scaleVec = tor.Size/lastsize
  454.  
  455. for i,v in pairs(oc0) do
  456.  
  457. oc0[i] = v-v.p+scaleVec*v.p
  458.  
  459. end
  460.  
  461. lastsize = tor.Size
  462.  
  463. end
  464.  
  465. lastsize = tor.Size
  466.  
  467. end
  468.  
  469. tor.Changed:connect(function(p)
  470.  
  471. if p == "Size" then
  472.  
  473. gotResized()
  474.  
  475. end
  476.  
  477. end)
  478.  
  479. gotResized()
  480.  
  481. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  482.  
  483. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  484.  
  485. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  486.  
  487. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  488.  
  489. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  490.  
  491. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  492.  
  493.  
  494. function setwings(tab,time)
  495.  
  496. time = time or 10
  497.  
  498. for i=1,4 do
  499.  
  500. rwing[i].DesiredAngle = tab[i]
  501.  
  502. lwing[i].DesiredAngle = tab[i]
  503.  
  504. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  505.  
  506. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  507.  
  508. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  509.  
  510. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  511.  
  512. end
  513.  
  514. for i,v in pairs(rf1) do
  515.  
  516. v.DesiredAngle = tab[9]
  517.  
  518. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  519.  
  520. end
  521.  
  522. for i,v in pairs(lf1) do
  523.  
  524. v.DesiredAngle = tab[9]
  525.  
  526. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  527.  
  528. end
  529.  
  530. for i,v in pairs(rf2) do
  531.  
  532. v.DesiredAngle = tab[10]
  533.  
  534. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  535.  
  536. end
  537.  
  538. for i,v in pairs(lf2) do
  539.  
  540. v.DesiredAngle = tab[10]
  541.  
  542. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  543.  
  544. end
  545.  
  546. for i,v in pairs(rf3) do
  547.  
  548. v.DesiredAngle = tab[11]
  549.  
  550. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  551.  
  552. end
  553.  
  554. for i,v in pairs(lf3) do
  555.  
  556. v.DesiredAngle = tab[11]
  557.  
  558. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  559.  
  560. end
  561.  
  562. end
  563.  
  564. setwings(outhigh,1)
  565.  
  566. flying = false
  567.  
  568. moving = false
  569.  
  570. for i,v in pairs(tor:GetChildren()) do
  571.  
  572. if v.ClassName:lower():match("body") then
  573.  
  574. v:Destroy()
  575.  
  576. end
  577.  
  578. end
  579.  
  580. local ctor = tor:Clone()
  581.  
  582. ctor:ClearAllChildren()
  583.  
  584. ctor.Name = "cTorso"
  585.  
  586. ctor.Transparency = 1
  587.  
  588. ctor.CanCollide = false
  589.  
  590. ctor.FormFactor = "Custom"
  591.  
  592. ctor.Size = Vector3.new(.2,.2,.2)
  593.  
  594. ctor.Parent = mod
  595.  
  596. weld(tor,ctor)
  597.  
  598. local bg = Instance.new("BodyGyro",ctor)
  599.  
  600. bg.maxTorque = Vector3.new()
  601.  
  602. bg.P = 15000
  603.  
  604. bg.D = 1000
  605.  
  606. local bv = Instance.new("BodyVelocity",ctor)
  607.  
  608. bv.maxForce = Vector3.new()
  609.  
  610. bv.P = 15000
  611.  
  612. vel = Vector3.new()
  613.  
  614. cf = CFrame.new()
  615.  
  616. flspd = 0
  617.  
  618.  
  619. keysdown = {}
  620.  
  621. keypressed = {}
  622.  
  623. ktime = {}
  624.  
  625. descendtimer = 0
  626.  
  627. jumptime = tick()
  628.  
  629. hum.Jumping:connect(function()
  630.  
  631. jumptime = tick()
  632.  
  633. end)
  634.  
  635. cam = workspace.CurrentCamera
  636.  
  637. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  638.  
  639. keysdown[key] = true
  640.  
  641. keypressed[key] = true
  642.  
  643. if key == "q" then
  644.  
  645. descendtimer = tick()
  646.  
  647. elseif key == " " and not hum.Jump then
  648.  
  649. jumptime = tick()
  650.  
  651. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  652.  
  653. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  654.  
  655. end
  656.  
  657. ktime[key] = tick()
  658.  
  659. end))
  660.  
  661. ku = plr:GetMouse().KeyUp:connect(function(key)
  662.  
  663. keysdown[key] = false
  664.  
  665. if key == " " then
  666.  
  667. descendtimer = tick()
  668.  
  669. end
  670.  
  671. end)
  672.  
  673. function mid(a,b,c)
  674.  
  675. return math.max(a,math.min(b,c or -a))
  676.  
  677. end
  678.  
  679. function bn(a)
  680.  
  681. return a and 1 or 0
  682.  
  683. end
  684.  
  685. function gm(tar)
  686.  
  687. local m = 0
  688.  
  689. for i,v in pairs(tar:GetChildren()) do
  690.  
  691. if v:IsA("BasePart") then
  692.  
  693. m = m + v:GetMass()
  694.  
  695. end
  696.  
  697. m = m + gm(v)
  698.  
  699. end
  700.  
  701. return m
  702.  
  703. end
  704.  
  705. reqrotx = 0
  706.  
  707. local grav = 196.2
  708.  
  709. local con
  710.  
  711. con = game:GetService("RunService").Stepped:connect(oc(function()
  712.  
  713. --[[if not mod:IsDescendantOf(workspace) then
  714.  
  715. pcall(function() kd:disconnect() end)
  716.  
  717. pcall(function() ku:disconnect() end)
  718.  
  719. bg:Destroy()
  720.  
  721. bv:Destroy()
  722.  
  723. con:disconnect()
  724.  
  725. script:Destroy()
  726.  
  727. return
  728.  
  729. end]]
  730.  
  731. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  732.  
  733. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  734.  
  735. if flying then
  736.  
  737. local lfldir = fldir
  738.  
  739. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  740.  
  741. local lmoving = moving
  742.  
  743. moving = fldir.magnitude > .1
  744.  
  745. if lmoving and not moving then
  746.  
  747. idledir = lfldir*Vector3.new(1,0,1)
  748.  
  749. descendtimer = tick()
  750.  
  751. end
  752.  
  753. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  754.  
  755. if moving and keysdown["0"] and lmoving then
  756.  
  757. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  758.  
  759. end
  760.  
  761. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  762.  
  763. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  764.  
  765. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  766.  
  767. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  768.  
  769. hum.PlatformStand = true
  770.  
  771. bg.maxTorque = Vector3.new(1,1,1)*9e5
  772.  
  773. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  774.  
  775. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  776.  
  777. reqrotx = reqrotx - reqrotx/10
  778.  
  779. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  780.  
  781. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  782.  
  783. local ani = tickwave(1.5-anioff,1)
  784.  
  785. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  786.  
  787. vel = moving and cf.lookVector*flspd or Vector3.new()
  788.  
  789. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  790.  
  791. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  792.  
  793. for i=1,4 do
  794.  
  795. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  796.  
  797. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  798.  
  799. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  800.  
  801. end
  802.  
  803. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  804.  
  805. if hit and down.Y < -.85 and tick()-flystart > 1 then
  806.  
  807. flying = false
  808.  
  809. hum.PlatformStand = false
  810.  
  811. tor.Velocity = Vector3.new()
  812.  
  813. end
  814.  
  815. else
  816.  
  817. bg.maxTorque = Vector3.new()
  818.  
  819. bv.maxForce = Vector3.new()
  820.  
  821. local ani = tickwave(walking and .8 or 4.5,1)
  822.  
  823. setwings(idle,10)
  824.  
  825. local x,y,z = fspd/160,uspd/700,sspd/900
  826.  
  827. for i=1,4 do
  828.  
  829. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  830.  
  831. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  832.  
  833. end
  834.  
  835. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  836.  
  837. vel = Vector3.new(0,50,0)
  838.  
  839. bv.velocity = vel
  840.  
  841. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  842.  
  843. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  844.  
  845. tor.CFrame = cf
  846.  
  847. bg.cframe = cf
  848.  
  849. flystart = tick()
  850.  
  851. flying = true
  852.  
  853. end
  854.  
  855. end
  856.  
  857. keypressed = {}
  858.  
  859. end))
  860.  
  861.  
  862.  
  863. end fly()
  864. -----------------------
  865. --WhAT ANOTHER ONE????????!--
  866. -------------------------------------------------------
  867. --A script By makhail07
  868.  
  869. --Discord Creterisk#2958
  870.  
  871.  
  872. --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
  873. -------------------------------------------------------
  874.  
  875. local FavIDs = {
  876. 340106355, --Nefl Crystals
  877. 927529620, --Dimension
  878. 876981900, --Fantasy
  879. 398987889, --Ordinary Days
  880. 1117396305, --Oh wait, it's you.
  881. 885996042, --Action Winter Journey
  882. 919231299, --Sprawling Idiot Effigy
  883. 743466274, --Good Day Sunshine
  884. 727411183, --Knife Fight
  885. 1402748531, --The Earth Is Counting On You!
  886. 595230126 --Robot Language
  887. }
  888.  
  889.  
  890.  
  891. --The reality of my life isn't real but a Universe -makhail07
  892. wait()
  893. local plr = game:service'Players'.LocalPlayer
  894. print('Local User is '..plr.Name)
  895. local char = plr.Character
  896. local hum = char.Humanoid
  897. local ra = char["Right Arm"]
  898. local la= char["Left Arm"]
  899. local rl= char["Right Leg"]
  900. local ll = char["Left Leg"]
  901. local hed = char.Head
  902. local root = char.HumanoidRootPart
  903. local rootj = root.RootJoint
  904. local tors = char.Torso
  905. local mouse = plr:GetMouse()
  906. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  907. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  908. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  909. local EdgyMode = false
  910. local Divinity = false
  911. local Fighter = false
  912. local Purity = false
  913. local Destruction = false
  914. local helpme = false
  915. local Planetary = false
  916. local maincolor = BrickColor.new("Institutional white")
  917. -------------------------------------------------------
  918. --Start Good Stuff--
  919. -------------------------------------------------------
  920. CF = CFrame.new
  921. angles = CFrame.Angles
  922. attack = false
  923. Euler = CFrame.fromEulerAnglesXYZ
  924. Rad = math.rad
  925. IT = Instance.new
  926. BrickC = BrickColor.new
  927. Cos = math.cos
  928. Acos = math.acos
  929. Sin = math.sin
  930. Asin = math.asin
  931. Abs = math.abs
  932. Mrandom = math.random
  933. Floor = math.floor
  934. -------------------------------------------------------
  935. --End Good Stuff--
  936. -------------------------------------------------------
  937. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  938. RSH, LSH = nil, nil
  939. RW = Instance.new("Weld")
  940. LW = Instance.new("Weld")
  941. RH = tors["Right Hip"]
  942. LH = tors["Left Hip"]
  943. RSH = tors["Right Shoulder"]
  944. LSH = tors["Left Shoulder"]
  945. RSH.Parent = nil
  946. LSH.Parent = nil
  947. RW.Name = "RW"
  948. RW.Part0 = tors
  949. RW.C0 = CF(1.5, 0.5, 0)
  950. RW.C1 = CF(0, 0.5, 0)
  951. RW.Part1 = ra
  952. RW.Parent = tors
  953. LW.Name = "LW"
  954. LW.Part0 = tors
  955. LW.C0 = CF(-1.5, 0.5, 0)
  956. LW.C1 = CF(0, 0.5, 0)
  957. LW.Part1 = la
  958. LW.Parent = tors
  959. Effects = {}
  960.  
  961. -------------------------------------------------------
  962. --Start HeartBeat--
  963. -------------------------------------------------------
  964. ArtificialHB = Instance.new("BindableEvent", script)
  965. ArtificialHB.Name = "Heartbeat"
  966. script:WaitForChild("Heartbeat")
  967.  
  968. frame = 1 / 60
  969. tf = 0
  970. allowframeloss = false
  971. tossremainder = false
  972.  
  973.  
  974. lastframe = tick()
  975. script.Heartbeat:Fire()
  976.  
  977.  
  978. game:GetService("RunService").Heartbeat:connect(function(s, p)
  979. tf = tf + s
  980. if tf >= frame then
  981. if allowframeloss then
  982. script.Heartbeat:Fire()
  983. lastframe = tick()
  984. else
  985. for i = 1, math.floor(tf / frame) do
  986. script.Heartbeat:Fire()
  987. end
  988. lastframe = tick()
  989. end
  990. if tossremainder then
  991. tf = 0
  992. else
  993. tf = tf - frame * math.floor(tf / frame)
  994. end
  995. end
  996. end)
  997. -------------------------------------------------------
  998. --End HeartBeat--
  999. -------------------------------------------------------
  1000.  
  1001. -------------------------------------------------------
  1002. --Start Important Functions--
  1003. -------------------------------------------------------
  1004. function swait(num)
  1005. if num == 0 or num == nil then
  1006. game:service("RunService").Stepped:wait(0)
  1007. else
  1008. for i = 0, num do
  1009. game:service("RunService").Stepped:wait(0)
  1010. end
  1011. end
  1012. end
  1013. function thread(f)
  1014. coroutine.resume(coroutine.create(f))
  1015. end
  1016. function clerp(a, b, t)
  1017. local qa = {
  1018. QuaternionFromCFrame(a)
  1019. }
  1020. local qb = {
  1021. QuaternionFromCFrame(b)
  1022. }
  1023. local ax, ay, az = a.x, a.y, a.z
  1024. local bx, by, bz = b.x, b.y, b.z
  1025. local _t = 1 - t
  1026. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1027. end
  1028. function QuaternionFromCFrame(cf)
  1029. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1030. local trace = m00 + m11 + m22
  1031. if trace > 0 then
  1032. local s = math.sqrt(1 + trace)
  1033. local recip = 0.5 / s
  1034. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1035. else
  1036. local i = 0
  1037. if m00 < m11 then
  1038. i = 1
  1039. end
  1040. if m22 > (i == 0 and m00 or m11) then
  1041. i = 2
  1042. end
  1043. if i == 0 then
  1044. local s = math.sqrt(m00 - m11 - m22 + 1)
  1045. local recip = 0.5 / s
  1046. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1047. elseif i == 1 then
  1048. local s = math.sqrt(m11 - m22 - m00 + 1)
  1049. local recip = 0.5 / s
  1050. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1051. elseif i == 2 then
  1052. local s = math.sqrt(m22 - m00 - m11 + 1)
  1053. local recip = 0.5 / s
  1054. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1055. end
  1056. end
  1057. end
  1058. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1059. local xs, ys, zs = x + x, y + y, z + z
  1060. local wx, wy, wz = w * xs, w * ys, w * zs
  1061. local xx = x * xs
  1062. local xy = x * ys
  1063. local xz = x * zs
  1064. local yy = y * ys
  1065. local yz = y * zs
  1066. local zz = z * zs
  1067. 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))
  1068. end
  1069. function QuaternionSlerp(a, b, t)
  1070. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1071. local startInterp, finishInterp
  1072. if cosTheta >= 1.0E-4 then
  1073. if 1 - cosTheta > 1.0E-4 then
  1074. local theta = math.acos(cosTheta)
  1075. local invSinTheta = 1 / Sin(theta)
  1076. startInterp = Sin((1 - t) * theta) * invSinTheta
  1077. finishInterp = Sin(t * theta) * invSinTheta
  1078. else
  1079. startInterp = 1 - t
  1080. finishInterp = t
  1081. end
  1082. elseif 1 + cosTheta > 1.0E-4 then
  1083. local theta = math.acos(-cosTheta)
  1084. local invSinTheta = 1 / Sin(theta)
  1085. startInterp = Sin((t - 1) * theta) * invSinTheta
  1086. finishInterp = Sin(t * theta) * invSinTheta
  1087. else
  1088. startInterp = t - 1
  1089. finishInterp = t
  1090. end
  1091. 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
  1092. end
  1093. function rayCast(Position, Direction, Range, Ignore)
  1094. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1095. end
  1096. local RbxUtility = LoadLibrary("RbxUtility")
  1097. local Create = RbxUtility.Create
  1098.  
  1099. -------------------------------------------------------
  1100. --Start Damage Function--
  1101. -------------------------------------------------------
  1102. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1103. if hit.Parent == nil then
  1104. return
  1105. end
  1106. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1107. for _, v in pairs(hit.Parent:children()) do
  1108. if v:IsA("Humanoid") then
  1109. h = v
  1110. end
  1111. end
  1112. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1113.  
  1114. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1115. end
  1116.  
  1117. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1118. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1119. if hit.Parent.DebounceHit.Value == true then
  1120. return
  1121. end
  1122. end
  1123. if insta == true then
  1124. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1125. end
  1126. local c = Create("ObjectValue"){
  1127. Name = "creator",
  1128. Value = game:service("Players").LocalPlayer,
  1129. Parent = h,
  1130. }
  1131. game:GetService("Debris"):AddItem(c, .5)
  1132. if HitSound ~= nil and HitPitch ~= nil then
  1133. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1134. end
  1135. local Damage = math.random(minim, maxim)
  1136. local blocked = false
  1137. local block = hit.Parent:findFirstChild("Block")
  1138. if block ~= nil then
  1139. if block.className == "IntValue" then
  1140. if block.Value > 0 then
  1141. blocked = true
  1142. block.Value = block.Value - 1
  1143. print(block.Value)
  1144. end
  1145. end
  1146. end
  1147. if blocked == false then
  1148. h.Health = h.Health - Damage
  1149. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  1150. else
  1151. h.Health = h.Health - (Damage / 2)
  1152. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  1153. end
  1154. if Type == "Knockdown" then
  1155. local hum = hit.Parent.Humanoid
  1156. hum.PlatformStand = true
  1157. coroutine.resume(coroutine.create(function(HHumanoid)
  1158. swait(1)
  1159. HHumanoid.PlatformStand = false
  1160. end), hum)
  1161. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1162. local bodvol = Create("BodyVelocity"){
  1163. velocity = angle * knockback,
  1164. P = 5000,
  1165. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1166. Parent = hit,
  1167. }
  1168. local rl = Create("BodyAngularVelocity"){
  1169. P = 3000,
  1170. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1171. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1172. Parent = hit,
  1173. }
  1174. game:GetService("Debris"):AddItem(bodvol, .5)
  1175. game:GetService("Debris"):AddItem(rl, .5)
  1176. elseif Type == "Normal" then
  1177. local vp = Create("BodyVelocity"){
  1178. P = 500,
  1179. maxForce = Vector3.new(math.huge, 0, math.huge),
  1180. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1181. }
  1182. if knockback > 0 then
  1183. vp.Parent = hit.Parent.Torso
  1184. end
  1185. game:GetService("Debris"):AddItem(vp, .5)
  1186. elseif Type == "Up" then
  1187. local bodyVelocity = Create("BodyVelocity"){
  1188. velocity = Vector3.new(0, 20, 0),
  1189. P = 5000,
  1190. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1191. Parent = hit,
  1192. }
  1193. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1194. elseif Type == "DarkUp" then
  1195. coroutine.resume(coroutine.create(function()
  1196. for i = 0, 1, 0.1 do
  1197. swait()
  1198. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1199. end
  1200. end))
  1201. local bodyVelocity = Create("BodyVelocity"){
  1202. velocity = Vector3.new(0, 20, 0),
  1203. P = 5000,
  1204. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1205. Parent = hit,
  1206. }
  1207. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1208. elseif Type == "Snare" then
  1209. local bp = Create("BodyPosition"){
  1210. P = 2000,
  1211. D = 100,
  1212. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1213. position = hit.Parent.Torso.Position,
  1214. Parent = hit.Parent.Torso,
  1215. }
  1216. game:GetService("Debris"):AddItem(bp, 1)
  1217. elseif Type == "Freeze" then
  1218. local BodPos = Create("BodyPosition"){
  1219. P = 50000,
  1220. D = 1000,
  1221. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1222. position = hit.Parent.Torso.Position,
  1223. Parent = hit.Parent.Torso,
  1224. }
  1225. local BodGy = Create("BodyGyro") {
  1226. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1227. P = 20e+003,
  1228. Parent = hit.Parent.Torso,
  1229. cframe = hit.Parent.Torso.CFrame,
  1230. }
  1231. hit.Parent.Torso.Anchored = true
  1232. coroutine.resume(coroutine.create(function(Part)
  1233. swait(1.5)
  1234. Part.Anchored = false
  1235. end), hit.Parent.Torso)
  1236. game:GetService("Debris"):AddItem(BodPos, 3)
  1237. game:GetService("Debris"):AddItem(BodGy, 3)
  1238. end
  1239. local debounce = Create("BoolValue"){
  1240. Name = "DebounceHit",
  1241. Parent = hit.Parent,
  1242. Value = true,
  1243. }
  1244. game:GetService("Debris"):AddItem(debounce, Delay)
  1245. c = Create("ObjectValue"){
  1246. Name = "creator",
  1247. Value = Player,
  1248. Parent = h,
  1249. }
  1250. game:GetService("Debris"):AddItem(c, .5)
  1251. end
  1252. end
  1253. -------------------------------------------------------
  1254. --End Damage Function--
  1255. -------------------------------------------------------
  1256.  
  1257. -------------------------------------------------------
  1258. --Start Damage Function Customization--
  1259. -------------------------------------------------------
  1260. function ShowDamage(Pos, Text, Time, Color)
  1261. local Rate = (1 / 30)
  1262. local Pos = (Pos or Vector3.new(0, 0, 0))
  1263. local Text = (Text or "")
  1264. local Time = (Time or 2)
  1265. local Color = (Color or Color3.new(1, 0, 1))
  1266. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1267. EffectPart.Anchored = true
  1268. local BillboardGui = Create("BillboardGui"){
  1269. Size = UDim2.new(3, 0, 3, 0),
  1270. Adornee = EffectPart,
  1271. Parent = EffectPart,
  1272. }
  1273. local TextLabel = Create("TextLabel"){
  1274. BackgroundTransparency = 1,
  1275. Size = UDim2.new(1, 0, 1, 0),
  1276. Text = Text,
  1277. Font = "Highway",
  1278. TextColor3 = Color,
  1279. TextScaled = true,
  1280. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1281. Parent = BillboardGui,
  1282. }
  1283. game.Debris:AddItem(EffectPart, (Time))
  1284. EffectPart.Parent = game:GetService("Workspace")
  1285. delay(0, function()
  1286. local Frames = (Time / Rate)
  1287. for Frame = 1, Frames do
  1288. wait(Rate)
  1289. local Percent = (Frame / Frames)
  1290. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1291. TextLabel.TextTransparency = Percent
  1292. end
  1293. if EffectPart and EffectPart.Parent then
  1294. EffectPart:Destroy()
  1295. end
  1296. end)
  1297. end
  1298. -------------------------------------------------------
  1299. --End Damage Function Customization--
  1300. -------------------------------------------------------
  1301.  
  1302. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1303. for _, c in pairs(workspace:children()) do
  1304. local hum = c:findFirstChild("Humanoid")
  1305. if hum ~= nil then
  1306. local head = c:findFirstChild("Head")
  1307. if head ~= nil then
  1308. local targ = head.Position - Part.Position
  1309. local mag = targ.magnitude
  1310. if magni >= mag and c.Name ~= plr.Name then
  1311. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1312. end
  1313. end
  1314. end
  1315. end
  1316. end
  1317.  
  1318.  
  1319. CFuncs = {
  1320. Part = {
  1321. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1322. local Part = Create("Part")({
  1323. Parent = Parent,
  1324. Reflectance = Reflectance,
  1325. Transparency = Transparency,
  1326. CanCollide = false,
  1327. Locked = true,
  1328. BrickColor = BrickColor.new(tostring(BColor)),
  1329. Name = Name,
  1330. Size = Size,
  1331. Material = Material
  1332. })
  1333. RemoveOutlines(Part)
  1334. return Part
  1335. end
  1336. },
  1337. Mesh = {
  1338. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1339. local Msh = Create(Mesh)({
  1340. Parent = Part,
  1341. Offset = OffSet,
  1342. Scale = Scale
  1343. })
  1344. if Mesh == "SpecialMesh" then
  1345. Msh.MeshType = MeshType
  1346. Msh.MeshId = MeshId
  1347. end
  1348. return Msh
  1349. end
  1350. },
  1351. Mesh = {
  1352. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1353. local Msh = Create(Mesh)({
  1354. Parent = Part,
  1355. Offset = OffSet,
  1356. Scale = Scale
  1357. })
  1358. if Mesh == "SpecialMesh" then
  1359. Msh.MeshType = MeshType
  1360. Msh.MeshId = MeshId
  1361. end
  1362. return Msh
  1363. end
  1364. },
  1365. Weld = {
  1366. Create = function(Parent, Part0, Part1, C0, C1)
  1367. local Weld = Create("Weld")({
  1368. Parent = Parent,
  1369. Part0 = Part0,
  1370. Part1 = Part1,
  1371. C0 = C0,
  1372. C1 = C1
  1373. })
  1374. return Weld
  1375. end
  1376. },
  1377. Sound = {
  1378. Create = function(id, par, vol, pit)
  1379. coroutine.resume(coroutine.create(function()
  1380. local S = Create("Sound")({
  1381. Volume = vol,
  1382. Pitch = pit or 1,
  1383. SoundId = id,
  1384. Parent = par or workspace
  1385. })
  1386. wait()
  1387. S:play()
  1388. game:GetService("Debris"):AddItem(S, 6)
  1389. end))
  1390. end
  1391. },
  1392. ParticleEmitter = {
  1393. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1394. local fp = Create("ParticleEmitter")({
  1395. Parent = Parent,
  1396. Color = ColorSequence.new(Color1, Color2),
  1397. LightEmission = LightEmission,
  1398. Size = Size,
  1399. Texture = Texture,
  1400. Transparency = Transparency,
  1401. ZOffset = ZOffset,
  1402. Acceleration = Accel,
  1403. Drag = Drag,
  1404. LockedToPart = LockedToPart,
  1405. VelocityInheritance = VelocityInheritance,
  1406. EmissionDirection = EmissionDirection,
  1407. Enabled = Enabled,
  1408. Lifetime = LifeTime,
  1409. Rate = Rate,
  1410. Rotation = Rotation,
  1411. RotSpeed = RotSpeed,
  1412. Speed = Speed,
  1413. VelocitySpread = VelocitySpread
  1414. })
  1415. return fp
  1416. end
  1417. }
  1418. }
  1419. function RemoveOutlines(part)
  1420. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1421. end
  1422. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1423. local Part = Create("Part")({
  1424. formFactor = FormFactor,
  1425. Parent = Parent,
  1426. Reflectance = Reflectance,
  1427. Transparency = Transparency,
  1428. CanCollide = false,
  1429. Locked = true,
  1430. BrickColor = BrickColor.new(tostring(BColor)),
  1431. Name = Name,
  1432. Size = Size,
  1433. Material = Material
  1434. })
  1435. RemoveOutlines(Part)
  1436. return Part
  1437. end
  1438. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1439. local Msh = Create(Mesh)({
  1440. Parent = Part,
  1441. Offset = OffSet,
  1442. Scale = Scale
  1443. })
  1444. if Mesh == "SpecialMesh" then
  1445. Msh.MeshType = MeshType
  1446. Msh.MeshId = MeshId
  1447. end
  1448. return Msh
  1449. end
  1450. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1451. local Weld = Create("Weld")({
  1452. Parent = Parent,
  1453. Part0 = Part0,
  1454. Part1 = Part1,
  1455. C0 = C0,
  1456. C1 = C1
  1457. })
  1458. return Weld
  1459. end
  1460.  
  1461.  
  1462. -------------------------------------------------------
  1463. --Start Effect Function--
  1464. -------------------------------------------------------
  1465. EffectModel = Instance.new("Model", char)
  1466. Effects = {
  1467. Block = {
  1468. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1469. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1470. prt.Anchored = true
  1471. prt.CFrame = cframe
  1472. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1473. game:GetService("Debris"):AddItem(prt, 10)
  1474. if Type == 1 or Type == nil then
  1475. table.insert(Effects, {
  1476. prt,
  1477. "Block1",
  1478. delay,
  1479. x3,
  1480. y3,
  1481. z3,
  1482. msh
  1483. })
  1484. elseif Type == 2 then
  1485. table.insert(Effects, {
  1486. prt,
  1487. "Block2",
  1488. delay,
  1489. x3,
  1490. y3,
  1491. z3,
  1492. msh
  1493. })
  1494. else
  1495. table.insert(Effects, {
  1496. prt,
  1497. "Block3",
  1498. delay,
  1499. x3,
  1500. y3,
  1501. z3,
  1502. msh
  1503. })
  1504. end
  1505. end
  1506. },
  1507. Sphere = {
  1508. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1509. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1510. prt.Anchored = true
  1511. prt.CFrame = cframe
  1512. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1513. game:GetService("Debris"):AddItem(prt, 10)
  1514. table.insert(Effects, {
  1515. prt,
  1516. "Cylinder",
  1517. delay,
  1518. x3,
  1519. y3,
  1520. z3,
  1521. msh
  1522. })
  1523. end
  1524. },
  1525. Cylinder = {
  1526. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1527. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1528. prt.Anchored = true
  1529. prt.CFrame = cframe
  1530. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1531. game:GetService("Debris"):AddItem(prt, 10)
  1532. table.insert(Effects, {
  1533. prt,
  1534. "Cylinder",
  1535. delay,
  1536. x3,
  1537. y3,
  1538. z3,
  1539. msh
  1540. })
  1541. end
  1542. },
  1543. Wave = {
  1544. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1545. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1546. prt.Anchored = true
  1547. prt.CFrame = cframe
  1548. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1549. game:GetService("Debris"):AddItem(prt, 10)
  1550. table.insert(Effects, {
  1551. prt,
  1552. "Cylinder",
  1553. delay,
  1554. x3 / 60,
  1555. y3 / 60,
  1556. z3 / 60,
  1557. msh
  1558. })
  1559. end
  1560. },
  1561. Ring = {
  1562. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1563. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1564. prt.Anchored = true
  1565. prt.CFrame = cframe
  1566. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1567. game:GetService("Debris"):AddItem(prt, 10)
  1568. table.insert(Effects, {
  1569. prt,
  1570. "Cylinder",
  1571. delay,
  1572. x3,
  1573. y3,
  1574. z3,
  1575. msh
  1576. })
  1577. end
  1578. },
  1579. Break = {
  1580. Create = function(brickcolor, cframe, x1, y1, z1)
  1581. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1582. prt.Anchored = true
  1583. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1584. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1585. local num = math.random(10, 50) / 1000
  1586. game:GetService("Debris"):AddItem(prt, 10)
  1587. table.insert(Effects, {
  1588. prt,
  1589. "Shatter",
  1590. num,
  1591. prt.CFrame,
  1592. math.random() - math.random(),
  1593. 0,
  1594. math.random(50, 100) / 100
  1595. })
  1596. end
  1597. },
  1598. Spiral = {
  1599. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1600. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1601. prt.Anchored = true
  1602. prt.CFrame = cframe
  1603. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1604. game:GetService("Debris"):AddItem(prt, 10)
  1605. table.insert(Effects, {
  1606. prt,
  1607. "Cylinder",
  1608. delay,
  1609. x3,
  1610. y3,
  1611. z3,
  1612. msh
  1613. })
  1614. end
  1615. },
  1616. Push = {
  1617. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1618. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1619. prt.Anchored = true
  1620. prt.CFrame = cframe
  1621. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1622. game:GetService("Debris"):AddItem(prt, 10)
  1623. table.insert(Effects, {
  1624. prt,
  1625. "Cylinder",
  1626. delay,
  1627. x3,
  1628. y3,
  1629. z3,
  1630. msh
  1631. })
  1632. end
  1633. }
  1634. }
  1635. -------------------------------------------------------
  1636. --End Effect Function--
  1637. -------------------------------------------------------
  1638.  
  1639. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1640. local NSound = nil
  1641. coroutine.resume(coroutine.create(function()
  1642. NSound = Instance.new("Sound", PARENT)
  1643. NSound.Volume = VOLUME
  1644. NSound.Pitch = PITCH
  1645. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1646. swait()
  1647. NSound:play()
  1648. game:GetService("Debris"):AddItem(NSound, 10)
  1649. end))
  1650. return NSound
  1651. end
  1652.  
  1653. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1654. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1655. prt.Anchored = true
  1656. prt.CFrame = cframe
  1657. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1658. game:GetService("Debris"):AddItem(prt, 10)
  1659. if Type == 1 or Type == nil then
  1660. table.insert(Effects, {
  1661. prt,
  1662. "Block1",
  1663. delay,
  1664. x3,
  1665. y3,
  1666. z3,
  1667. msh
  1668. })
  1669. elseif Type == 2 then
  1670. table.insert(Effects, {
  1671. prt,
  1672. "Block2",
  1673. delay,
  1674. x3,
  1675. y3,
  1676. z3,
  1677. msh
  1678. })
  1679. elseif Type == 3 then
  1680. table.insert(Effects, {
  1681. prt,
  1682. "Block3",
  1683. delay,
  1684. x3,
  1685. y3,
  1686. z3,
  1687. msh
  1688. })
  1689. end
  1690. end
  1691.  
  1692. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1693. local fp=Instance.new("Part")
  1694. fp.formFactor=formfactor
  1695. fp.Parent=parent
  1696. fp.Reflectance=reflectance
  1697. fp.Transparency=transparency
  1698. fp.CanCollide=false
  1699. fp.Locked=true
  1700. fp.BrickColor=brickcolor
  1701. fp.Name=name
  1702. fp.Size=size
  1703. fp.Position=tors.Position
  1704. RemoveOutlines(fp)
  1705. fp.Material="SmoothPlastic"
  1706. fp:BreakJoints()
  1707. return fp
  1708. end
  1709.  
  1710. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1711. local mesh=Instance.new(Mesh)
  1712. mesh.Parent=part
  1713. if Mesh=="SpecialMesh" then
  1714. mesh.MeshType=meshtype
  1715. if meshid~="nil" then
  1716. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1717. end
  1718. end
  1719. mesh.Offset=offset
  1720. mesh.Scale=scale
  1721. return mesh
  1722. end
  1723.  
  1724. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1725. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1726. prt.Anchored = true
  1727. prt.Material = "Neon"
  1728. prt.CFrame = cframe
  1729. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1730. game:GetService("Debris"):AddItem(prt, 5)
  1731. coroutine.resume(coroutine.create(function(Part, Mesh)
  1732. local rtype = rottype
  1733. for i = 0, 1, delay do
  1734. swait()
  1735. if rtype == 1 then
  1736. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1737. elseif rtype == 2 then
  1738. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1739. end
  1740. prt.Transparency = i
  1741. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1742. end
  1743. Part.Parent = nil
  1744. end), prt, msh)
  1745. end
  1746.  
  1747.  
  1748. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1749. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1750. prt.Anchored = true
  1751. prt.Material = "Neon"
  1752. prt.CFrame = cframe
  1753. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1754. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1755. game:GetService("Debris"):AddItem(prt, 5)
  1756. coroutine.resume(coroutine.create(function(Part, Mesh)
  1757. for i = 0, 1, delay do
  1758. swait()
  1759. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1760. Part.Transparency = i
  1761. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1762. end
  1763. Part.Parent = nil
  1764. end), prt, msh)
  1765. end
  1766.  
  1767.  
  1768. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1769. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1770. prt.Anchored = true
  1771. prt.Material = "Neon"
  1772. prt.CFrame = cframe
  1773. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  1774. game:GetService("Debris"):AddItem(prt, 5)
  1775. coroutine.resume(coroutine.create(function(Part, Mesh)
  1776. local rtype = rottype
  1777. for i = 0, 1, delay do
  1778. swait()
  1779. if rtype == 1 then
  1780. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1781. elseif rtype == 2 then
  1782. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1783. end
  1784. prt.Transparency = i
  1785. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  1786. end
  1787. Part.Parent = nil
  1788. end), prt, msh)
  1789. end
  1790.  
  1791. function Eviscerate(dude)
  1792. if dude.Name ~= char then
  1793. local bgf = IT("BodyGyro", dude.Head)
  1794. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1795. local val = IT("BoolValue", dude)
  1796. val.Name = "IsHit"
  1797. local ds = coroutine.wrap(function()
  1798. dude:WaitForChild("Head"):BreakJoints()
  1799. wait(0.5)
  1800. target = nil
  1801. coroutine.resume(coroutine.create(function()
  1802. for i, v in pairs(dude:GetChildren()) do
  1803. if v:IsA("Accessory") then
  1804. v:Destroy()
  1805. end
  1806. if v:IsA("Humanoid") then
  1807. v:Destroy()
  1808. end
  1809. if v:IsA("CharacterMesh") then
  1810. v:Destroy()
  1811. end
  1812. if v:IsA("Model") then
  1813. v:Destroy()
  1814. end
  1815. if v:IsA("Part") or v:IsA("MeshPart") then
  1816. for x, o in pairs(v:GetChildren()) do
  1817. if o:IsA("Decal") then
  1818. o:Destroy()
  1819. end
  1820. end
  1821. coroutine.resume(coroutine.create(function()
  1822. v.Material = "Neon"
  1823. v.CanCollide = false
  1824. local PartEmmit1 = IT("ParticleEmitter", v)
  1825. PartEmmit1.LightEmission = 1
  1826. PartEmmit1.Texture = "rbxassetid://284205403"
  1827. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1828. PartEmmit1.Rate = 150
  1829. PartEmmit1.Lifetime = NumberRange.new(1)
  1830. PartEmmit1.Size = NumberSequence.new({
  1831. NumberSequenceKeypoint.new(0, 0.75, 0),
  1832. NumberSequenceKeypoint.new(1, 0, 0)
  1833. })
  1834. PartEmmit1.Transparency = NumberSequence.new({
  1835. NumberSequenceKeypoint.new(0, 0, 0),
  1836. NumberSequenceKeypoint.new(1, 1, 0)
  1837. })
  1838. PartEmmit1.Speed = NumberRange.new(0, 0)
  1839. PartEmmit1.VelocitySpread = 30000
  1840. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1841. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1842. local BodPoss = IT("BodyPosition", v)
  1843. BodPoss.P = 3000
  1844. BodPoss.D = 1000
  1845. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1846. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1847. v.Color = maincolor.Color
  1848. coroutine.resume(coroutine.create(function()
  1849. for i = 0, 49 do
  1850. swait(1)
  1851. v.Transparency = v.Transparency + 0.08
  1852. end
  1853. wait(0.5)
  1854. PartEmmit1.Enabled = false
  1855. wait(3)
  1856. v:Destroy()
  1857. dude:Destroy()
  1858. end))
  1859. end))
  1860. end
  1861. end
  1862. end))
  1863. end)
  1864. ds()
  1865. end
  1866. end
  1867. function FindNearestHead(Position, Distance, SinglePlayer)
  1868. if SinglePlayer then
  1869. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1870. end
  1871. local List = {}
  1872. for i, v in pairs(workspace:GetChildren()) do
  1873. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1874. table.insert(List, v)
  1875. end
  1876. end
  1877. return List
  1878. end
  1879. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1880. local type = type
  1881. local rng = Instance.new("Part", char)
  1882. rng.Anchored = true
  1883. rng.BrickColor = color
  1884. rng.CanCollide = false
  1885. rng.FormFactor = 3
  1886. rng.Name = "Ring"
  1887. rng.Material = "Neon"
  1888. rng.Size = Vector3.new(1, 1, 1)
  1889. rng.Transparency = 0
  1890. rng.TopSurface = 0
  1891. rng.BottomSurface = 0
  1892. rng.CFrame = pos
  1893. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1894. local rngm = Instance.new("SpecialMesh", rng)
  1895. rngm.MeshType = "Sphere"
  1896. rngm.Scale = Vector3.new(x1, y1, z1)
  1897. local scaler2 = 1
  1898. local speeder = FastSpeed
  1899. if type == "Add" then
  1900. scaler2 = 1 * value
  1901. elseif type == "Divide" then
  1902. scaler2 = 1 / value
  1903. end
  1904. coroutine.resume(coroutine.create(function()
  1905. for i = 0, 10 / bonuspeed, 0.1 do
  1906. swait()
  1907. if type == "Add" then
  1908. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1909. elseif type == "Divide" then
  1910. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1911. end
  1912. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1913. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1914. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1915. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1916. end
  1917. rng:Destroy()
  1918. end))
  1919. end
  1920. -------------------------------------------------------
  1921. --End Important Functions--
  1922. -------------------------------------------------------
  1923.  
  1924. --[[
  1925. Thanks for using Build-To-Lua by jarredbcv.
  1926. ]]--
  1927.  
  1928. New = function(Object, Parent, Name, Data)
  1929. local Object = Instance.new(Object)
  1930. for Index, Value in pairs(Data or {}) do
  1931. Object[Index] = Value
  1932. end
  1933. Object.Parent = Parent
  1934. Object.Name = Name
  1935. return Object
  1936. end
  1937.  
  1938. NewInstance = function(instance,parent,properties)
  1939. local inst = Instance.new(instance,parent)
  1940. if(properties)then
  1941. for i,v in next, properties do
  1942. pcall(function() inst[i] = v end)
  1943. end
  1944. end
  1945. return inst;
  1946. end
  1947.  
  1948. Gunty = New("Model",char,"Gunty",{})
  1949. Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1950. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1951. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1952. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
  1953. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1954. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1955. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1956. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1957. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1958. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1959. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1960. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1961. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1962. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1963. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1964. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1965. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1966. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1967. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1968. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1969. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1970. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1971. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1972. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1973. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1974. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1975. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1976. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1977. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1978. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1979. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1980. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1981. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1982. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1983. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1984. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1985. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1986. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1987. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1988. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  1989. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1990. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1991. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1992. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1993. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1994. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1995. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1996. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1997. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1998. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1999. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  2000. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  2001. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  2002. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  2003. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  2004. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  2005. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  2006. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  2007. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  2008. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  2009. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  2010.  
  2011. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
  2012.  
  2013. for _,v in next, Gunty:children() do
  2014. v.CanCollide = false
  2015. end
  2016.  
  2017. local all, last = {}, nil
  2018. ArmourParts = {}
  2019. ArmourParts2 = {}
  2020. NeonParts = {}
  2021. function scan(p)
  2022. for _, v in pairs(p:GetChildren()) do
  2023. if v:IsA("BasePart") then
  2024. if v.BrickColor == BrickColor.new("Smoky grey") then
  2025. table.insert(ArmourParts, v)
  2026. end
  2027. if v.BrickColor == BrickColor.new("Fossil") then
  2028. table.insert(ArmourParts2, v)
  2029. end
  2030. if v.BrickColor == BrickColor.new("Institutional white") then
  2031. table.insert(NeonParts, v)
  2032. end
  2033. if last then
  2034. local w = Instance.new("Weld")
  2035. w.Part0, w.Part1 = last, v
  2036. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2037. w.Parent = last
  2038. end
  2039. table.insert(all, v)
  2040. last = v
  2041. end
  2042. scan(v)
  2043. end
  2044. end
  2045. scan(Gunty)
  2046. for _, v in pairs(all) do
  2047. v.Anchored = false
  2048. v.CanCollide = false
  2049. end
  2050. function resetmode()
  2051. for i, v in pairs(ArmourParts) do
  2052. v.BrickColor = BrickColor.new("Smoky grey")
  2053. end
  2054. for i, v in pairs(ArmourParts2) do
  2055. v.BrickColor = BrickColor.new("Fossil")
  2056. end
  2057. for i, v in pairs(NeonParts) do
  2058. v.BrickColor = BrickColor.new("Institutional white")
  2059. end
  2060. maincolor = BrickColor.new("Institutional white")
  2061. end
  2062. -------------------------------------------------------
  2063. --Start Music Option--
  2064. -------------------------------------------------------
  2065. local Music = Instance.new("Sound",tors)
  2066. Music.Volume = 2.5
  2067. Music.SoundId = "rbxassetid://1117396305"
  2068. Music.Looped = true
  2069. Music.Pitch = 1 --Pitcher
  2070. Music:Play()
  2071. -------------------------------------------------------
  2072. --End Music Option--
  2073. -------------------------------------------------------
  2074.  
  2075. local naeeym2 = Instance.new("BillboardGui",char)
  2076. naeeym2.AlwaysOnTop = true
  2077. naeeym2.Size = UDim2.new(5,35,2,35)
  2078. naeeym2.StudsOffset = Vector3.new(0,2,0)
  2079. naeeym2.Adornee = hed
  2080. naeeym2.Name = "Name"
  2081.  
  2082. local tecks2 = Instance.new("TextLabel",naeeym2)
  2083. tecks2.BackgroundTransparency = 1
  2084. tecks2.TextScaled = true
  2085. tecks2.BorderSizePixel = 0
  2086. tecks2.Text = "Neutral"
  2087. tecks2.Font = "Code"
  2088. tecks2.TextSize = 30
  2089. tecks2.TextStrokeTransparency = 0
  2090. tecks2.TextColor3 = Color3.new(0,0,0)
  2091. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2092. tecks2.Size = UDim2.new(1,0,0.5,0)
  2093. tecks2.Parent = naeeym2
  2094.  
  2095. -------------------------------------------------------
  2096. --Start Attacks N Stuff--
  2097. -------------------------------------------------------
  2098. local sine=0
  2099. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2100. local Hitboxpart = Instance.new("Part", EffectModel)
  2101. RemoveOutlines(Hitboxpart)
  2102. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2103. Hitboxpart.CanCollide = false
  2104. Hitboxpart.Transparency = 1
  2105. Hitboxpart.Anchored = true
  2106. Hitboxpart.CFrame = Pose
  2107. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2108. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2109. end
  2110. wait2 = false
  2111. combo = 1
  2112. mouse.Button1Down:connect(function(key)
  2113. if attack == false then
  2114. attack = true
  2115. hum.WalkSpeed = 3.01
  2116. if combo == 1 and wait2 == false then
  2117. wait2 = true
  2118. for i = 0, 1.2, 0.1 do
  2119. swait()
  2120. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  2121. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  2122. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2123. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2124. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  2125. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  2126. end
  2127. CreateSound("138097048", ra, 3, .8)
  2128. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  2129. for i = 0, 1.2, 0.1 do
  2130. swait()
  2131. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  2132. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  2133. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2134. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  2135. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2136. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  2137. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2138. end
  2139. combo = 2
  2140. end
  2141. if combo == 2 and wait2 == false then
  2142. wait2 = true
  2143. for i = 0, 1.2, 0.1 do
  2144. swait()
  2145. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  2146. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  2148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2149. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  2150. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  2151. end
  2152. CreateSound("138097048", rl, 3, 1)
  2153. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  2154. for i = 0, 1.6, 0.1 do
  2155. swait()
  2156. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
  2157. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2158. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  2159. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  2160. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  2161. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  2162. end
  2163. combo = 3
  2164. end
  2165. if combo == 3 and wait2 == false then
  2166. for i = 0, 1.2, 0.1 do
  2167. swait()
  2168. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  2169. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  2170. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  2171. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2172. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  2173. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  2174. end
  2175. CreateSound("138097048", ra, 3, .8)
  2176. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  2177. for i = 0, 1.2, 0.1 do
  2178. swait()
  2179. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  2180. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2181. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  2182. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2183. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  2184. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2185. end
  2186. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  2187. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  2188. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  2189. for i = 0, 1.2, 0.1 do
  2190. swait()
  2191. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  2192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2193. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  2194. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2195. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  2196. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  2197. end
  2198. combo = 1
  2199. end
  2200. hum.WalkSpeed = 8
  2201. wait2 = false
  2202. attack = false
  2203. end
  2204. end)
  2205. function Decapitate()
  2206. local target = nil
  2207. local targettorso = nil
  2208. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2209. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2210. target = mouse.Target.Parent.Humanoid
  2211. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2212. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2213. end
  2214. end
  2215. if target ~= nil then
  2216. targettorso.Anchored = true
  2217. attack = true
  2218. hum.WalkSpeed = 0
  2219. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2220. for i = 0,4.2,0.1 do
  2221. swait()
  2222. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  2223. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  2224. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2225. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2226. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
  2227. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2228. end
  2229. local ModelHead01 = New("Model", char, "", {})
  2230. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  2231. local Head01 = targethead:Clone()
  2232. targethead.Transparency = 1
  2233. Head01.Parent = ModelHead01
  2234. local weldHead01 = Instance.new("Weld")
  2235. weldHead01.Parent = Head01
  2236. weldHead01.Part0 = targethead
  2237. weldHead01.Part1 = Head01
  2238. weldHead01.C1 = CFrame.new(0, 0, 0)
  2239. targethead.face:Remove()
  2240. weldHead01.Part0 = ra
  2241. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  2242. targettorso:BreakJoints()
  2243. CreateSound("314390675", targettorso, 5, .7)
  2244. for i = 0,3.2,0.1 do
  2245. swait()
  2246. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2247. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2248. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2249. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
  2250. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
  2251. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2252. end
  2253. for i = 0,4.2,0.1 do
  2254. swait()
  2255. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  2256. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  2257. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2258. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2259. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  2260. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  2261. end
  2262. CreateSound("541909763", targettorso, 5, .8)
  2263. weldHead01:Destroy()
  2264. Head01.CanCollide = true
  2265. local bodyVelocity2 = Create("BodyVelocity")({
  2266. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2267. P = 5000,
  2268. maxForce = Vector3.new(8000, 8000, 8000),
  2269. Parent = Head01
  2270. })
  2271. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2272. for i = 0,6.2,0.1 do
  2273. swait()
  2274. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  2275. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  2276. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2277. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2278. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  2279. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  2280. end
  2281. targettorso.Anchored = false
  2282. attack = false
  2283. hum.WalkSpeed = 8
  2284. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2285. end
  2286. end
  2287. function Laugh()
  2288. attack = true
  2289. hum.WalkSpeed = 0
  2290. CreateSound("300208779", hed, 10, 1)
  2291. for i = 0,9,0.1 do
  2292. swait()
  2293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  2294. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  2295. if Mrandom(1,15) == 1 then
  2296. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2297. end
  2298. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  2299. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  2300. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  2301. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  2302. end
  2303. attack = false
  2304. hum.WalkSpeed = 10
  2305. end
  2306. function Flying_Kick()
  2307. attack = true
  2308. hum.WalkSpeed = 0
  2309. for i = 0,2.7,0.1 do
  2310. swait()
  2311. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2312. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  2313. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2314. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  2315. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
  2316. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
  2317. end
  2318. local bodyVelocity = Create("BodyVelocity")({
  2319. velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
  2320. P = 5000,
  2321. maxForce = Vector3.new(9e99, 9e99, 9e99),
  2322. Parent = root
  2323. })
  2324. game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
  2325. CreateSound("138097048", rl, 3, 1)
  2326. for i = 0,2.1,0.1 do
  2327. swait()
  2328. HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  2329. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
  2330. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2331. RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
  2332. LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2333. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2334. LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
  2335. end
  2336. attack = false
  2337. hum.WalkSpeed = 8
  2338. end
  2339. function UpperCut()
  2340. attack = true
  2341. hum.WalkSpeed = 0
  2342. for i = 0,2.3,0.1 do
  2343. swait()
  2344. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2345. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  2346. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2347. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  2348. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
  2349. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
  2350. end
  2351. CreateSound("138097048", ra, 3, .8)
  2352. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  2353. for i = 0,2.8,0.1 do
  2354. swait()
  2355. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
  2356. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  2357. RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
  2358. LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  2359. RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
  2360. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
  2361. end
  2362. attack = false
  2363. hum.WalkSpeed = 8
  2364. end
  2365. function Spinning_Kick()
  2366. attack = true
  2367. hum.WalkSpeed = 3.01
  2368. for i = 0, 1.2, 0.1 do
  2369. swait()
  2370. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  2371. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2372. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  2373. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  2374. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  2375. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  2376. end
  2377. for i = 0, 4.6, 0.1 do
  2378. swait()
  2379. CreateSound("138097048", rl, 3, 1)
  2380. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  2381. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
  2382. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  2383. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
  2384. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
  2385. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  2386. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
  2387. end
  2388. attack = false
  2389. hum.WalkSpeed = 8
  2390. end
  2391. function Beam_Of_Light()
  2392.  
  2393. end
  2394. function Blast_Of_God()
  2395. attack = true
  2396. hum.WalkSpeed = 3.01
  2397. for i = 0,6.3,0.1 do
  2398. swait()
  2399. Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2400. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
  2401. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  2402. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  2403. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2404. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  2405. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  2406. end
  2407. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2408. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  2409. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2410. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  2411. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  2412. Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  2413. CreateSound("142070127", tors, 10, 1)
  2414. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  2415. for i = 0,2.6,0.1 do
  2416. swait()
  2417. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
  2418. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  2419. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  2420. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  2421. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
  2422. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  2423. end
  2424. attack = false
  2425. hum.WalkSpeed = 8
  2426. end
  2427. function Diablo_Explosion()
  2428. attack = true
  2429. hum.WalkSpeed = 3.01
  2430. for i = 0,6.3,0.1 do
  2431. swait()
  2432. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2433. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2434. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2435. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2436. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2437. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  2438. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  2439. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  2440. end
  2441. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  2442. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  2443. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  2444. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  2445. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  2446. Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  2447. CreateSound("142070127", tors, 10, 1)
  2448. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  2449. for i = 0,4.6,0.1 do
  2450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2451. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2452. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2453. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2454. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  2455. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  2456. end
  2457. wait(.6)
  2458. attack = false
  2459. hum.WalkSpeed = 8
  2460. end
  2461. function Hell_From_Above()
  2462. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  2463. attack = true
  2464. hum.WalkSpeed = 3.01
  2465. for i = 0,6.3,0.1 do
  2466. swait()
  2467. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2468. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2469. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2470. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2471. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2472. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2473. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2474. end
  2475. CreateSound("142070127", tors, 10, 1)
  2476. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2477. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2478. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2479. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2480. for i = 0,3.8,0.1 do
  2481. swait()
  2482. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2483. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2484. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2485. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2486. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  2487. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  2488. end
  2489. CreateSound("224339201", tors, 10, 0.5)
  2490. for i = 1, 3 do
  2491. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  2492. UhhhhThing.CFrame = mouse.Hit
  2493. Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  2494. Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  2495. end
  2496. UhhhhThing:Destroy()
  2497. attack = false
  2498. hum.WalkSpeed = 8
  2499. end
  2500. function Spinning_Below()
  2501. attack = true
  2502. hum.WalkSpeed = 3.01
  2503. CreateSound("649634100", tors, 10, 0.5)
  2504. for i = 0,6.3,0.1 do
  2505. swait()
  2506. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2507. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2508. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
  2509. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2510. RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  2511. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  2512. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  2513. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  2514. end
  2515. attack = false
  2516. hum.WalkSpeed = 8
  2517. end
  2518. function Purity_Slam()
  2519. attack = true
  2520. for i = 0,5.2,0.1 do
  2521. swait()
  2522. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2523. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2524. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2525. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2526. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2527. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2528. end
  2529. CreateSound("331666100", tors, 10, 1)
  2530. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  2531. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  2532. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2533. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  2534. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  2535. coroutine.resume(coroutine.create(function()
  2536. for i = 0,1.8,0.1 do
  2537. swait()
  2538. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2539. end
  2540. for i = 0,1.8,0.1 do
  2541. swait()
  2542. hum.CameraOffset = Vector3.new(0,0,0)
  2543. end
  2544. end))
  2545. for i = 1,4.7,0.1 do
  2546. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2547. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2548. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2549. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2550. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2551. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2552. end
  2553. wait(.6)
  2554. attack = false
  2555. end
  2556. function Painful_Stomp()
  2557. attack = true
  2558. for i = 0,5.2,0.1 do
  2559. swait()
  2560. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2561. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2562. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2563. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2564. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  2565. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  2566. end
  2567. CreateSound("331666100", char, 10, 1)
  2568. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2569. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2570. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2571. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2572. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  2573. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  2574. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2575. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  2576. if v:FindFirstChild("Head") then
  2577. Eviscerate(v)
  2578. end
  2579. end
  2580. coroutine.resume(coroutine.create(function()
  2581. for i = 0,2.8,0.1 do
  2582. swait()
  2583. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2584. end
  2585. for i = 0,1.8,0.1 do
  2586. swait()
  2587. hum.CameraOffset = Vector3.new(0,0,0)
  2588. end
  2589. end))
  2590. for i = 0,3.7,0.1 do
  2591. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2592. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2593. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  2594. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  2595. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2596. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2597. end
  2598. wait(.6)
  2599. attack = false
  2600. end
  2601. function Ending()
  2602. local target = nil
  2603. local targettorso = nil
  2604. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2605. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2606. targetT = mouse.Target.Parent
  2607. target = mouse.Target.Parent.Humanoid
  2608. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2609. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2610. end
  2611. end
  2612. if target ~= nil then
  2613. targettorso.Anchored = true
  2614. attack = true
  2615. hum.WalkSpeed = 0
  2616. local originalpos = root.CFrame
  2617. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2618. for i = 0,1.8,0.1 do
  2619. swait()
  2620. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  2621. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  2622. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2623. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2624. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  2625. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2626. end
  2627. Eviscerate(targetT)
  2628. CreateSound("331666100", ra, 4, 1)
  2629. CreateSound("180083286", targettorso, 10, 1)
  2630. coroutine.resume(coroutine.create(function()
  2631. for i = 0,1.8,0.1 do
  2632. swait()
  2633. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2634. end
  2635. for i = 0,1.8,0.1 do
  2636. swait()
  2637. hum.CameraOffset = Vector3.new(0,0,0)
  2638. end
  2639. end))
  2640. for i = 0,4.6,0.1 do
  2641. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2642. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2643. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2644. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2645. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2646. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2647. end
  2648. wait(.6)
  2649. root.CFrame = originalpos
  2650. attack = false
  2651. hum.WalkSpeed = 8
  2652. end
  2653. end
  2654.  
  2655. --[[I don't take ANY credit for this attack,
  2656. this was all nooby's hard work and the only reason i uhhh "used" it
  2657. is cause I i didn't have attack ideas at the time so yeah,
  2658. 100% nooby's credit <3]]
  2659. function Ende_der_Weld()
  2660. attack = true
  2661. hum.WalkSpeed = 0
  2662. for i = 0,4.6,0.1 do
  2663. swait()
  2664. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2665. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2666. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2667. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2668. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2669. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2670. end
  2671. local a = Instance.new("Part",char)
  2672. a.BrickColor = BrickColor.random()
  2673. a.Name = "Lazer"
  2674. a.Anchored = true
  2675. a.Material = "Neon"
  2676. a.Transparency = 1
  2677. a.CanCollide = false
  2678. local hitbox = Instance.new("Part",char)
  2679. hitbox.Size = Vector3.new(5,5,5)
  2680. hitbox.CFrame = mouse.hit
  2681. hitbox.Anchored = true
  2682. hitbox.Transparency = 1
  2683. hitbox.CanCollide = false
  2684. local ray = Ray.new(
  2685. ra.CFrame.p, -- origin
  2686. (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
  2687. )
  2688. local ignore = char
  2689. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2690. if hit then
  2691. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2692.  
  2693. if not humanoid then
  2694. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2695. end
  2696. if humanoid then
  2697. if humanoid.Parent:IsA"Model" then
  2698. end
  2699. end
  2700. end
  2701. a.BottomSurface = 10
  2702. a.TopSurface = 10
  2703. local distance = (ra.CFrame.p - position).magnitude
  2704. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2705. a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
  2706. game:GetService("Debris"):AddItem(a, 5)
  2707. game:GetService("Debris"):AddItem(hitbox, 1)
  2708. local newmesh = Instance.new("BlockMesh",a)
  2709. MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  2710. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
  2711. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
  2712. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
  2713. local lbs = Instance.new("Part")
  2714. lbs.Parent = char
  2715. CreateSound("929619479", lbs, 10, 1)
  2716. lbs.Material = "Neon"
  2717. lbs.Color = BrickColor.Random().Color
  2718. lbs.CanCollide = false
  2719. lbs.Shape = "Ball"
  2720. lbs.Anchored = true
  2721. lbs.Transparency = 0
  2722. lbs.Size = Vector3.new(20,20,20)
  2723. lbs.CFrame = a.CFrame
  2724. local thing = Instance.new("SpecialMesh",lbs)
  2725. thing.MeshType = "Sphere"
  2726. lbs.Anchored = false
  2727. local bvs = Instance.new("BodyVelocity")
  2728. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2729. bvs.velocity = a.CFrame.lookVector*75
  2730. bvs.Parent = lbs
  2731. lbs.Touched:connect(function(hit)
  2732. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2733. end)
  2734. attack = false
  2735. game:GetService("Debris"):AddItem(lbs, 10)
  2736. for x = 0, 4 do
  2737. local bulletgos = IT("Model",char)
  2738. local bulletgos2 = IT("Model",char)
  2739. for z = 0, 24 do
  2740. local lb = Instance.new("Part")
  2741. lb.Parent = bulletgos
  2742. lb.Material = "Neon"
  2743. lb.Color = BrickColor.Random().Color
  2744. lb.CanCollide = false
  2745. lb.Anchored = true
  2746. lb.Transparency = 0
  2747. lb.Size = Vector3.new(2,2,2)
  2748. local thing = Instance.new("SpecialMesh",lb)
  2749. thing.MeshType = "Sphere"
  2750. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2751. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2752. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  2753. local lb2 = Instance.new("Part")
  2754. lb2.Parent = bulletgos2
  2755. lb2.Material = "Neon"
  2756. lb2.Color = lb.Color
  2757. lb2.CanCollide = false
  2758. lb2.Anchored = true
  2759. lb2.Transparency = 0
  2760. lb2.Size = Vector3.new(2,2,2)
  2761. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2762. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  2763. local thing2 = Instance.new("SpecialMesh",lb2)
  2764. thing2.MeshType = "Sphere"
  2765. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  2766. lb.Touched:connect(function(hit)
  2767. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2768. end)
  2769. lb2.Touched:connect(function(hit)
  2770. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2771. end)
  2772. end
  2773. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2774. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2775. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2776. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2777. CreateSound("925629856", lbs, 5, 1)
  2778. game:GetService("Debris"):AddItem(bulletgos, 7)
  2779. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2780. for i,v in pairs(bulletgos:children()) do
  2781. if v:IsA("Part") then
  2782. v.Anchored = false
  2783. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2784. local bv = Instance.new("BodyVelocity")
  2785. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2786. bv.velocity = v.CFrame.lookVector*25
  2787. bv.Parent = v
  2788. game:GetService("Debris"):AddItem(v, 5)
  2789. end
  2790. end
  2791. for i,v in pairs(bulletgos2:children()) do
  2792. if v:IsA("Part") then
  2793. v.Anchored = false
  2794. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2795. local bv = Instance.new("BodyVelocity")
  2796. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2797. bv.velocity = v.CFrame.lookVector*-25
  2798. bv.Parent = v
  2799. game:GetService("Debris"):AddItem(v, 5)
  2800. end
  2801. end
  2802. wait(1)
  2803. end
  2804. attack = false
  2805. hum.WalkSpeed = 8
  2806. end
  2807. -------------------------------------------------------
  2808. --End Attacks N Stuff--
  2809. -------------------------------------------------------
  2810. mouse.KeyDown:connect(function(key)
  2811. if string.byte(key) == 48 then
  2812. Swing = 2
  2813. hum.WalkSpeed = 38.82
  2814. end
  2815. end)
  2816. mouse.KeyUp:connect(function(key)
  2817. if string.byte(key) == 48 then
  2818. Swing = 1
  2819. hum.WalkSpeed = 8
  2820. end
  2821. end)
  2822. mouse.KeyDown:connect(function(key)
  2823. if attack == false then
  2824. if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2825. EdgyMode = true
  2826. tecks2.Text = "Edgy"
  2827. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2828. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  2829. for i, v in pairs(ArmourParts) do
  2830. v.BrickColor = BrickColor.new("Black")
  2831. end
  2832. for i, v in pairs(ArmourParts2) do
  2833. v.BrickColor = BrickColor.new("Really black")
  2834. end
  2835. for i, v in pairs(NeonParts) do
  2836. v.BrickColor = BrickColor.new("Royal purple")
  2837. end
  2838. maincolor = BrickColor.new("Royal purple")
  2839. Music.SoundId = "rbxassetid://1470848774"
  2840. Music.Parent = tors
  2841. Music:Play()
  2842. elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2843. EdgyMode = false
  2844. tecks2.Text = "Neutral"
  2845. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2846. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2847. resetmode()
  2848. Music.SoundId = "rbxassetid://1117396305"
  2849. Music.Parent = tors
  2850. Music:Play()
  2851. elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2852. Divinity = true
  2853. tecks2.Text = "Divinity"
  2854. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2855. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  2856. for i, v in pairs(ArmourParts) do
  2857. v.BrickColor = BrickColor.new("Institutional white")
  2858. end
  2859. for i, v in pairs(ArmourParts2) do
  2860. v.BrickColor = BrickColor.new("White")
  2861. end
  2862. for i, v in pairs(NeonParts) do
  2863. v.BrickColor = BrickColor.new("New Yeller")
  2864. end
  2865. maincolor = BrickColor.new("New Yeller")
  2866. Music.SoundId = "rbxassetid://595800581"
  2867. Music.Parent = tors
  2868. Music:Play()
  2869. elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2870. Divinity = false
  2871. tecks2.Text = "Neutral"
  2872. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2873. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2874. resetmode()
  2875. Music.SoundId = "rbxassetid://1117396305"
  2876. Music.Parent = tors
  2877. Music:Play()
  2878. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2879. Fighter = true
  2880. tecks2.Text = "Fighter"
  2881. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2882. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  2883. for i, v in pairs(ArmourParts) do
  2884. v.BrickColor = BrickColor.new("Black")
  2885. end
  2886. for i, v in pairs(ArmourParts2) do
  2887. v.BrickColor = BrickColor.new("Really black")
  2888. end
  2889. for i, v in pairs(NeonParts) do
  2890. v.BrickColor = BrickColor.new("Institutional white")
  2891. end
  2892. maincolor = BrickColor.new("Institutional white")
  2893. Music.SoundId = "rbxassetid://493647101"
  2894. Music.Parent = tors
  2895. Music:Play()
  2896. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2897. Fighter = false
  2898. tecks2.Text = "Neutral"
  2899. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2900. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2901. resetmode()
  2902. Music.SoundId = "rbxassetid://1117396305"
  2903. Music.Parent = tors
  2904. Music:Play()
  2905. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2906. Purity = true
  2907. tecks2.Text = "Purity"
  2908. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2909. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
  2910. for i, v in pairs(ArmourParts) do
  2911. v.BrickColor = BrickColor.new("Institutional white")
  2912. end
  2913. for i, v in pairs(ArmourParts2) do
  2914. v.BrickColor = BrickColor.new("Institutional white")
  2915. end
  2916. for i, v in pairs(NeonParts) do
  2917. v.BrickColor = BrickColor.new("Toothpaste")
  2918. end
  2919. maincolor = BrickColor.new("Toothpaste")
  2920. Music.SoundId = "rbxassetid://553751015"
  2921. Music.Parent = tors
  2922. Music:Play()
  2923. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  2924. Purity = false
  2925. tecks2.Text = "Neutral"
  2926. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2927. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2928. resetmode()
  2929. Music.SoundId = "rbxassetid://1117396305"
  2930. Music.Parent = tors
  2931. Music:Play()
  2932. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2933. Destruction = true
  2934. tecks2.Text = "Destruction"
  2935. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2936. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  2937. for i, v in pairs(ArmourParts) do
  2938. v.BrickColor = BrickColor.new("Really black")
  2939. end
  2940. for i, v in pairs(ArmourParts2) do
  2941. v.BrickColor = BrickColor.new("Black")
  2942. end
  2943. for i, v in pairs(NeonParts) do
  2944. v.BrickColor = BrickColor.new("Really red")
  2945. end
  2946. maincolor = BrickColor.new("Really red")
  2947. Music.SoundId = "rbxassetid://613361202"
  2948. Music.Parent = tors
  2949. Music:Play()
  2950. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  2951. Destruction = false
  2952. tecks2.Text = "Neutral"
  2953. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2954. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2955. resetmode()
  2956. Music.SoundId = "rbxassetid://1117396305"
  2957. Music.Parent = tors
  2958. Music:Play()
  2959. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2960. helpme = true
  2961. tecks2.Text = "iNsAnItY"
  2962. Music.SoundId = "rbxassetid://460874877"
  2963. Music.Parent = tors
  2964. Music:Play()
  2965. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  2966. helpme = false
  2967. tecks2.Text = "Neutral"
  2968. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2969. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2970. resetmode()
  2971. Music.SoundId = "rbxassetid://1117396305"
  2972. Music.Parent = tors
  2973. Music:Play()
  2974. elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then
  2975. tecks2.TextTransparency = 0
  2976. tecks2.TextStrokeTransparency = 0
  2977. elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then
  2978. tecks2.TextTransparency = 1
  2979. tecks2.TextStrokeTransparency = 1
  2980. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  2981. Planetary = true
  2982. tecks2.Text = "Planetary"
  2983. tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
  2984. tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
  2985. for i, v in pairs(ArmourParts) do
  2986. v.BrickColor = BrickColor.new("Dark indigo")
  2987. end
  2988. for i, v in pairs(ArmourParts2) do
  2989. v.BrickColor = BrickColor.new("Dark indigo")
  2990. end
  2991. for i, v in pairs(NeonParts) do
  2992. v.BrickColor = BrickColor.new("Dark indigo")
  2993. end
  2994. maincolor = BrickColor.new("Dark indigo")
  2995. Music.SoundId = "rbxassetid://609934004"
  2996. Music.Parent = tors
  2997. Music:Play()
  2998. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  2999. Planetary = false
  3000. tecks2.Text = "Neutral"
  3001. tecks2.TextColor3 = Color3.new(0, 0, 0)
  3002. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  3003. resetmode()
  3004. Music.SoundId = "rbxassetid://1117396305"
  3005. Music.Parent = tors
  3006. Music:Play()
  3007. end
  3008. end
  3009. end)
  3010. mouse.KeyDown:connect(function(key)
  3011. if attack == false then
  3012. if EdgyMode == true then
  3013. if key == 'r' then
  3014. Decapitate()
  3015. elseif key == 'e' then
  3016. Laugh()
  3017. end
  3018. end
  3019. if Divinity == true then
  3020. if key == 'r' then
  3021. Beam_Of_Light()
  3022. elseif key == 'f' then
  3023. Blast_Of_God()
  3024. end
  3025. end
  3026. if Fighter == true then
  3027. if key == 'e' then
  3028. Flying_Kick()
  3029. elseif key == 'f' then
  3030. UpperCut()
  3031. elseif key == 't' then
  3032. Spinning_Kick()
  3033. end
  3034. end
  3035. if Purity == true then
  3036. if key == 'r' then
  3037. Purity_Slam()
  3038. end
  3039. end
  3040. if Destruction == true then
  3041. if key == 'r' then
  3042. Diablo_Explosion()
  3043. elseif key == 'f' then
  3044. Hell_From_Above()
  3045. elseif key == 't' then
  3046. Spinning_Below()
  3047. end
  3048. end
  3049. if helpme == true then
  3050. if key == 'r' then
  3051. Painful_Stomp()
  3052. elseif key == 'f' then
  3053. Ending()
  3054. elseif key == 't' then
  3055. Ende_der_Weld()
  3056. end
  3057. end
  3058. end
  3059. end)
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066. -------------------------------------------------------
  3067. --Start Animations--
  3068. -------------------------------------------------------
  3069. local equipped = false
  3070. local idle = 0
  3071. local change = 1
  3072. local val = 0
  3073. local toim = 0
  3074. local idleanim = 0.4
  3075. hum.WalkSpeed = 8
  3076. hum.Animator.Parent = nil
  3077. while true do
  3078. swait()
  3079. Music.Parent = char
  3080. if helpme == true then
  3081. for i, v in pairs(ArmourParts) do
  3082. v.BrickColor = BrickColor.random()
  3083. end
  3084. for i, v in pairs(ArmourParts2) do
  3085. v.BrickColor = BrickColor.random()
  3086. end
  3087. for i, v in pairs(NeonParts) do
  3088. v.BrickColor = BrickColor.random()
  3089. end
  3090. maincolor = BrickColor.random()
  3091. tecks2.TextColor3 = maincolor.Color
  3092. tecks2.TextStrokeColor3 = maincolor.Color
  3093. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
  3094. end
  3095. if Planetary == true then
  3096. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
  3097. end
  3098. sine = sine + change
  3099. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3100. local velderp = root.Velocity.y
  3101. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  3102. if equipped == true or equipped == false then
  3103. if attack == false then
  3104. idle = idle + 1
  3105. else
  3106. idle = 0
  3107. end
  3108. if 1 < root.Velocity.y and hitfloor == nil then
  3109. Anim = "Jump"
  3110. change = 1
  3111. if attack == false then
  3112. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  3113. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  3114. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  3115. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  3116. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3117. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3118. end
  3119. elseif -1 > root.Velocity.y and hitfloor == nil then
  3120. Anim = "Fall"
  3121. change = 1
  3122. if attack == false then
  3123. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  3124. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  3125. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  3126. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  3127. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3128. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3129. end
  3130. elseif torvel < 1 and hitfloor ~= nil then
  3131. Anim = "Idle"
  3132. change = 1
  3133. if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  3134. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  3135. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3136. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  3137. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3138. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  3139. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  3140. elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  3141. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3142. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3143. if Mrandom(1,15) == 1 then
  3144. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  3145. end
  3146. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
  3147. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  3148. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  3149. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  3150. elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false then
  3151. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  3152. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3153. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3154. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  3155. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
  3156. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  3157. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false then
  3158. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
  3159. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
  3160. RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
  3161. LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
  3162. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3163. LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  3164. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false then
  3165. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3166. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3167. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
  3168. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
  3169. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3170. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3171. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false then
  3172. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  3173. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  3174. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3175. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3176. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
  3177. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  3178. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false then
  3179. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3180. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  3181. if math.random(1,1) == 1 then
  3182. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  3183. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  3184. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3185. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3186. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
  3187. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
  3188. end
  3189. for i, v in pairs(ArmourParts) do
  3190. v.BrickColor = BrickColor.random()
  3191. end
  3192. for i, v in pairs(ArmourParts2) do
  3193. v.BrickColor = BrickColor.random()
  3194. end
  3195. for i, v in pairs(NeonParts) do
  3196. v.BrickColor = BrickColor.random()
  3197. end
  3198. maincolor = BrickColor.random()
  3199. tecks2.TextColor3 = maincolor.Color
  3200. tecks2.TextStrokeColor3 = maincolor.Color
  3201. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3202. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3203. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  3204. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3205. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true then
  3206. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  3207. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3208. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3209. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3210. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3211. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3212. end
  3213. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  3214. Anim = "Walk"
  3215. change = .6
  3216. if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  3217. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3218. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3219. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3220. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3221. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  3222. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  3223. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  3224. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
  3225. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3226. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3227. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3228. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  3229. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  3230. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  3231. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
  3232. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3233. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3234. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3235. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  3236. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  3237. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  3238. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3239. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  3240. if math.random(1,1) == 1 then
  3241. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  3242. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  3243. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3244. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3245. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3246. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3247. end
  3248. for i, v in pairs(ArmourParts) do
  3249. v.BrickColor = BrickColor.random()
  3250. end
  3251. for i, v in pairs(ArmourParts2) do
  3252. v.BrickColor = BrickColor.random()
  3253. end
  3254. for i, v in pairs(NeonParts) do
  3255. v.BrickColor = BrickColor.random()
  3256. end
  3257. maincolor = BrickColor.random()
  3258. tecks2.TextColor3 = maincolor.Color
  3259. tecks2.TextStrokeColor3 = maincolor.Color
  3260. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3261. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3262. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  3263. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3264. elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  3265. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3266. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3267. if Mrandom(1,15) == 1 then
  3268. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  3269. end
  3270. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3271. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3272. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  3273. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  3274. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  3275. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  3276. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3277. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3278. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3279. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3280. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3281. end
  3282. elseif torvel >= 25 and hitfloor ~= nil then
  3283. Anim = "Sprint"
  3284. change = 1.35
  3285. if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  3286. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3287. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3288. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3289. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3290. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  3291. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  3292. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  3293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3294. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3295. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
  3296. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
  3297. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  3298. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  3299. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  3300. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
  3301. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3302. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
  3303. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
  3304. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3305. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3306. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  3307. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3308. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3309. if math.random(1,1) == 1 then
  3310. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3311. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
  3312. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  3313. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  3314. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3315. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3316. end
  3317. for i, v in pairs(ArmourParts) do
  3318. v.BrickColor = BrickColor.random()
  3319. end
  3320. for i, v in pairs(ArmourParts2) do
  3321. v.BrickColor = BrickColor.random()
  3322. end
  3323. for i, v in pairs(NeonParts) do
  3324. v.BrickColor = BrickColor.random()
  3325. end
  3326. maincolor = BrickColor.random()
  3327. tecks2.TextColor3 = maincolor.Color
  3328. tecks2.TextStrokeColor3 = maincolor.Color
  3329. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3330. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
  3331. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
  3332. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
  3333. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  3334. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
  3335. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3336. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3337. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3338. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
  3339. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  3340. end
  3341. end
  3342. end
  3343. if 0 < #Effects then
  3344. for e = 1, #Effects do
  3345. if Effects[e] ~= nil then
  3346. local Thing = Effects[e]
  3347. if Thing ~= nil then
  3348. local Part = Thing[1]
  3349. local Mode = Thing[2]
  3350. local Delay = Thing[3]
  3351. local IncX = Thing[4]
  3352. local IncY = Thing[5]
  3353. local IncZ = Thing[6]
  3354. if 1 >= Thing[1].Transparency then
  3355. if Thing[2] == "Block1" then
  3356. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3357. local Mesh = Thing[1].Mesh
  3358. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3359. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3360. elseif Thing[2] == "Block2" then
  3361. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3362. local Mesh = Thing[7]
  3363. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3364. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3365. elseif Thing[2] == "Block3" then
  3366. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3367. local Mesh = Thing[7]
  3368. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3369. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3370. elseif Thing[2] == "Cylinder" then
  3371. local Mesh = Thing[1].Mesh
  3372. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3373. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3374. elseif Thing[2] == "Blood" then
  3375. local Mesh = Thing[7]
  3376. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3377. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3378. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3379. elseif Thing[2] == "Elec" then
  3380. local Mesh = Thing[1].Mesh
  3381. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3382. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3383. elseif Thing[2] == "Disappear" then
  3384. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3385. elseif Thing[2] == "Shatter" then
  3386. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3387. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3388. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3389. Thing[6] = Thing[6] + Thing[5]
  3390. end
  3391. else
  3392. Part.Parent = nil
  3393. table.remove(Effects, e)
  3394. end
  3395. end
  3396. end
  3397. end
  3398. end
  3399. --[[ Leaked by CLarramore ]]--
  3400. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  3401. -- I am now spreading this on
  3402. -- You can now make ur edits with this
  3403. -- ENTIRELY OPEN SOURCED!!!! YAY!
  3404.  
  3405. -- NightOwlAce dont kill me
  3406. Player=game:GetService("Players").LocalPlayer
  3407. Character=Player.Character
  3408. PlayerGui=Player.PlayerGui
  3409. Backpack=Player.Backpack
  3410. Torso=Character.Torso
  3411. Head=Character.Head
  3412. Humanoid=Character.Humanoid
  3413. m=Instance.new('Model',Character)
  3414. LeftArm=Character["Left Arm"]
  3415. LeftLeg=Character["Left Leg"]
  3416. RightArm=Character["Right Arm"]
  3417. RightLeg=Character["Right Leg"]
  3418. LS=Torso["Left Shoulder"]
  3419. LH=Torso["Left Hip"]
  3420. RS=Torso["Right Shoulder"]
  3421. RH=Torso["Right Hip"]
  3422. Face = Head.face
  3423. Neck=Torso.Neck
  3424. it=Instance.new
  3425. attacktype=1
  3426. vt=Vector3.new
  3427. cf=CFrame.new
  3428. euler=CFrame.fromEulerAnglesXYZ
  3429. angles=CFrame.Angles
  3430. cloaked=false
  3431. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3432. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  3433. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  3434. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  3435. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  3436. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  3437. RootPart=Character.HumanoidRootPart
  3438. RootJoint=RootPart.RootJoint
  3439. RootCF=euler(-1.57,0,3.14)
  3440. attack = false
  3441. attackdebounce = false
  3442. deb=false
  3443. equipped=true
  3444. hand=false
  3445. MMouse=nil
  3446. combo=0
  3447. mana=0
  3448. trispeed=1
  3449. pathtrans=.7
  3450. attackmode='none'
  3451. local idle=0
  3452. local Anim="Idle"
  3453. local Effects={}
  3454. local gun=false
  3455. local shoot=false
  3456. player=nil
  3457. cloak=false
  3458. lightcolor='Bright blue'
  3459.  
  3460. local Color1=Torso.BrickColor
  3461.  
  3462. local fengui=it("GuiMain")
  3463. fengui.Parent=Player.PlayerGui
  3464. fengui.Name="WeaponGUI"
  3465. local fenframe=it("Frame")
  3466. fenframe.Parent=fengui
  3467. fenframe.BackgroundColor3=Color3.new(255,255,255)
  3468. fenframe.BackgroundTransparency=1
  3469. fenframe.BorderColor3=Color3.new(17,17,17)
  3470. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  3471. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  3472. local fenbarmana1=it("TextLabel")
  3473. fenbarmana1.Parent=fenframe
  3474. fenbarmana1.Text=" "
  3475. fenbarmana1.BackgroundTransparency=0
  3476. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  3477. fenbarmana1.SizeConstraint="RelativeXY"
  3478. fenbarmana1.TextXAlignment="Center"
  3479. fenbarmana1.TextYAlignment="Center"
  3480. fenbarmana1.Position=UDim2.new(0,0,0,0)
  3481. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  3482. local fenbarmana2=it("TextLabel")
  3483. fenbarmana2.Parent=fenframe
  3484. fenbarmana2.Text=" "
  3485. fenbarmana2.BackgroundTransparency=0
  3486. fenbarmana2.BackgroundColor3=Torso.Color
  3487. fenbarmana2.SizeConstraint="RelativeXY"
  3488. fenbarmana2.TextXAlignment="Center"
  3489. fenbarmana2.TextYAlignment="Center"
  3490. fenbarmana2.Position=UDim2.new(0,0,0,0)
  3491. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  3492. local fenbarmana3=it("TextLabel")
  3493. fenbarmana3.Parent=fenframe
  3494. fenbarmana3.Text=" "
  3495. fenbarmana3.BackgroundTransparency=0
  3496. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  3497. fenbarmana3.SizeConstraint="RelativeXY"
  3498. fenbarmana3.TextXAlignment="Center"
  3499. fenbarmana3.TextYAlignment="Center"
  3500. fenbarmana3.Position=UDim2.new(0,0,0,0)
  3501. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  3502. local fenbarmana4=it("TextLabel")
  3503. fenbarmana4.Parent=fenframe
  3504. fenbarmana4.Text="Energy("..mana..")"
  3505. fenbarmana4.BackgroundTransparency=1
  3506. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  3507. fenbarmana4.SizeConstraint="RelativeXY"
  3508. fenbarmana4.TextXAlignment="Center"
  3509. fenbarmana4.TextYAlignment="Center"
  3510. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  3511. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  3512. fenbarmana4.FontSize="Size9"
  3513. fenbarmana4.TextStrokeTransparency=0
  3514. fenbarmana4.TextColor=BrickColor.new("White")
  3515.  
  3516. mouse=Player:GetMouse()
  3517. --save shoulders
  3518. RSH, LSH=nil, nil
  3519. --welds
  3520. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  3521. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3522. LH=Torso["Left Hip"]
  3523. RH=Torso["Right Hip"]
  3524. TorsoColor=Torso.BrickColor
  3525. function NoOutline(Part)
  3526. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3527. end
  3528. player=Player
  3529. ch=Character
  3530. RSH=ch.Torso["Right Shoulder"]
  3531. LSH=ch.Torso["Left Shoulder"]
  3532. --
  3533. RSH.Parent=nil
  3534. LSH.Parent=nil
  3535. --
  3536. RW.Name="Right Shoulder"
  3537. RW.Part0=ch.Torso
  3538. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3539. RW.C1=cf(0, 0.5, 0)
  3540. RW.Part1=ch["Right Arm"]
  3541. RW.Parent=ch.Torso
  3542. --
  3543. LW.Name="Left Shoulder"
  3544. LW.Part0=ch.Torso
  3545. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3546. LW.C1=cf(0, 0.5, 0)
  3547. LW.Part1=ch["Left Arm"]
  3548. LW.Parent=ch.Torso
  3549.  
  3550. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  3551. local fp=it("Part")
  3552. fp.formFactor=formfactor
  3553. fp.Parent=parent
  3554. fp.Reflectance=reflectance
  3555. fp.Transparency=transparency
  3556. fp.CanCollide=false
  3557. fp.Locked=true
  3558. fp.BrickColor=brickcolor
  3559. fp.Name=name
  3560. fp.Size=size
  3561. fp.Position=Torso.Position
  3562. NoOutline(fp)
  3563. fp.Material="Neon"
  3564. fp:BreakJoints()
  3565. return fp
  3566. end
  3567.  
  3568. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3569. local mesh=it(Mesh)
  3570. mesh.Parent=part
  3571. if Mesh=="SpecialMesh" then
  3572. mesh.MeshType=meshtype
  3573. if meshid~="nil" then
  3574. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  3575. end
  3576. end
  3577. mesh.Offset=offset
  3578. mesh.Scale=scale
  3579. return mesh
  3580. end
  3581.  
  3582. function weld(parent,part0,part1,c0)
  3583. local weld=it("Weld")
  3584. weld.Parent=parent
  3585. weld.Part0=part0
  3586. weld.Part1=part1
  3587. weld.C0=c0
  3588. return weld
  3589. end
  3590.  
  3591. local Color1=Torso.BrickColor
  3592.  
  3593. local bodvel=Instance.new("BodyVelocity")
  3594. local bg=Instance.new("BodyGyro")
  3595.  
  3596. function swait(num)
  3597. if num==0 or num==nil then
  3598. game:service'RunService'.Stepped:wait(0)
  3599. else
  3600. for i=0,num do
  3601. game:service'RunService'.Stepped:wait(0)
  3602. end
  3603. end
  3604. end
  3605.  
  3606.  
  3607. so = function(id,par,vol,pit)
  3608. coroutine.resume(coroutine.create(function()
  3609. local sou = Instance.new("Sound",par or workspace)
  3610. sou.Volume=vol
  3611. sou.Pitch=pit or 1
  3612. sou.SoundId=id
  3613. swait()
  3614. sou:play()
  3615. game:GetService("Debris"):AddItem(sou,6)
  3616. end))
  3617. end
  3618.  
  3619. function clerp(a,b,t)
  3620. local qa = {QuaternionFromCFrame(a)}
  3621. local qb = {QuaternionFromCFrame(b)}
  3622. local ax, ay, az = a.x, a.y, a.z
  3623. local bx, by, bz = b.x, b.y, b.z
  3624. local _t = 1-t
  3625. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3626. end
  3627.  
  3628. function QuaternionFromCFrame(cf)
  3629. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3630. local trace = m00 + m11 + m22
  3631. if trace > 0 then
  3632. local s = math.sqrt(1 + trace)
  3633. local recip = 0.5/s
  3634. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3635. else
  3636. local i = 0
  3637. if m11 > m00 then
  3638. i = 1
  3639. end
  3640. if m22 > (i == 0 and m00 or m11) then
  3641. i = 2
  3642. end
  3643. if i == 0 then
  3644. local s = math.sqrt(m00-m11-m22+1)
  3645. local recip = 0.5/s
  3646. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3647. elseif i == 1 then
  3648. local s = math.sqrt(m11-m22-m00+1)
  3649. local recip = 0.5/s
  3650. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3651. elseif i == 2 then
  3652. local s = math.sqrt(m22-m00-m11+1)
  3653. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3654. end
  3655. end
  3656. end
  3657.  
  3658. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3659. local xs, ys, zs = x + x, y + y, z + z
  3660. local wx, wy, wz = w*xs, w*ys, w*zs
  3661. local xx = x*xs
  3662. local xy = x*ys
  3663. local xz = x*zs
  3664. local yy = y*ys
  3665. local yz = y*zs
  3666. local zz = z*zs
  3667. 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))
  3668. end
  3669.  
  3670. function QuaternionSlerp(a, b, t)
  3671. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3672. local startInterp, finishInterp;
  3673. if cosTheta >= 0.0001 then
  3674. if (1 - cosTheta) > 0.0001 then
  3675. local theta = math.acos(cosTheta)
  3676. local invSinTheta = 1/math.sin(theta)
  3677. startInterp = math.sin((1-t)*theta)*invSinTheta
  3678. finishInterp = math.sin(t*theta)*invSinTheta
  3679. else
  3680. startInterp = 1-t
  3681. finishInterp = t
  3682. end
  3683. else
  3684. if (1+cosTheta) > 0.0001 then
  3685. local theta = math.acos(-cosTheta)
  3686. local invSinTheta = 1/math.sin(theta)
  3687. startInterp = math.sin((t-1)*theta)*invSinTheta
  3688. finishInterp = math.sin(t*theta)*invSinTheta
  3689. else
  3690. startInterp = t-1
  3691. finishInterp = t
  3692. end
  3693. end
  3694. 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
  3695. end
  3696.  
  3697. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3698. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3699. end
  3700.  
  3701. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  3702. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3703. prt.Anchored=true
  3704. prt.CFrame=cframe
  3705. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  3706. --http://www.roblox.com/asset/?id=4770560
  3707. game:GetService("Debris"):AddItem(prt,2)
  3708. CF=prt.CFrame
  3709. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  3710. for i=0,1,0.2 do
  3711. wait()
  3712. Part.CFrame=CF*cf(0,0,-0.4)
  3713. end
  3714. for i=0,1,delay do
  3715. wait()
  3716. --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)
  3717. Mesh.Scale=Mesh.Scale
  3718. end
  3719. for i=0,1,0.1 do
  3720. wait()
  3721. Part.Transparency=i
  3722. end
  3723. Part.Parent=nil
  3724. end),prt,msh,CF)
  3725. end
  3726.  
  3727. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3728. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3729. prt.Anchored=true
  3730. prt.CFrame=cframe
  3731. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3732. game:GetService("Debris"):AddItem(prt,5)
  3733. coroutine.resume(coroutine.create(function(Part,Mesh)
  3734. for i=0,1,delay do
  3735. wait()
  3736. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3737. Part.Transparency=i
  3738. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3739. end
  3740. Part.Parent=nil
  3741. end),prt,msh)
  3742. end
  3743.  
  3744. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3745. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3746. prt.Anchored=false
  3747. prt.CFrame=cframe
  3748. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3749. local wld=weld(prt,prt,Parent,cframe)
  3750. game:GetService("Debris"):AddItem(prt,5)
  3751. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3752. for i=0,1,delay do
  3753. wait()
  3754. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3755. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3756. Part.Transparency=i
  3757. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3758. end
  3759. Part.Parent=nil
  3760. end),prt,msh,wld)
  3761. end
  3762.  
  3763. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3764. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3765. prt.Anchored=false
  3766. prt.CFrame=cframe
  3767. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3768. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3769. game:GetService("Debris"):AddItem(prt,5)
  3770. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3771. for i=0,1,delay do
  3772. wait()
  3773. Weld.C0=euler(i*20,0,0)
  3774. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3775. Part.Transparency=i
  3776. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3777. end
  3778. Part.Parent=nil
  3779. end),prt,msh,wld)
  3780. end
  3781.  
  3782. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3783. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3784. prt.Anchored=true
  3785. prt.CFrame=cframe
  3786. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3787. game:GetService("Debris"):AddItem(prt,2)
  3788. coroutine.resume(coroutine.create(function(Part,Mesh)
  3789. for i=0,1,delay do
  3790. wait()
  3791. Part.CFrame=Part.CFrame
  3792. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3793. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3794. prt2.Anchored=true
  3795. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3796. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3797. game:GetService("Debris"):AddItem(prt2,2)
  3798. coroutine.resume(coroutine.create(function(Part,Mesh)
  3799. for i=0,1,0.1 do
  3800. wait()
  3801. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3802. end
  3803. Part.Parent=nil
  3804. end),prt2,msh2)
  3805. end
  3806. for i=0,1,delay*2 do
  3807. wait()
  3808. Part.CFrame=Part.CFrame
  3809. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3810. end
  3811. Part.Parent=nil
  3812. end),prt,msh)
  3813. end
  3814.  
  3815. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3816. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3817. prt.Anchored=true
  3818. prt.CFrame=cframe
  3819. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3820. game:GetService("Debris"):AddItem(prt,2)
  3821. coroutine.resume(coroutine.create(function(Part,Mesh)
  3822. for i=0,1,delay do
  3823. wait()
  3824. Part.CFrame=Part.CFrame
  3825. Part.Transparency=i
  3826. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3827. end
  3828. Part.Parent=nil
  3829. end),prt,msh)
  3830. end
  3831.  
  3832. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  3833. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3834. prt.Anchored=true
  3835. prt.CFrame=cframe*euler(x2,y2,z2)
  3836. --"http://www.roblox.com/asset/?id=168892465"
  3837. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  3838. game:GetService("Debris"):AddItem(prt,2)
  3839. coroutine.resume(coroutine.create(function(Part,Mesh)
  3840. for i=0,1,0.03 do
  3841. wait()
  3842. Part.CFrame=Part.CFrame
  3843. Part.Transparency=i
  3844. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3845. end
  3846. Part.Parent=nil
  3847. end),prt,msh)
  3848. end
  3849.  
  3850. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3851. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3852. prt.Anchored=true
  3853. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3854. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3855. game:GetService("Debris"):AddItem(prt,2)
  3856. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3857. CF=Part.CFrame
  3858. Numbb=0
  3859. randnumb=math.random()/10
  3860. rand1=math.random()/10
  3861. for i=0,1,rand1 do
  3862. wait()
  3863. CF=CF*cf(0,math.random()/2,0)
  3864. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3865. Part.CFrame=CF*euler(Numbb,0,0)
  3866. Part.Transparency=i
  3867. Numbb=Numbb+randnumb
  3868. end
  3869. Part.Parent=nil
  3870. end),prt,CF,Numbb,randnumb)
  3871. end
  3872.  
  3873. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3874. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3875. prt.Anchored=true
  3876. prt.CFrame=cframe
  3877. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3878. game:GetService("Debris"):AddItem(prt,5)
  3879. coroutine.resume(coroutine.create(function(Part,Mesh)
  3880. for i=0,1,delay do
  3881. wait()
  3882. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3883. Part.Transparency=i
  3884. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3885. end
  3886. Part.Parent=nil
  3887. end),prt,msh)
  3888. end
  3889.  
  3890. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3891. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3892. prt.Anchored=true
  3893. prt.CFrame=cframe
  3894. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3895. game:GetService("Debris"):AddItem(prt,2)
  3896. coroutine.resume(coroutine.create(function(Part,Mesh)
  3897. for i=0,1,delay do
  3898. wait()
  3899. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3900. Part.Transparency=i
  3901. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3902. end
  3903. Part.Parent=nil
  3904. end),prt,msh)
  3905. end
  3906.  
  3907. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3908. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3909. prt.Anchored=true
  3910. prt.CFrame=cframe*cf(x,y,z)
  3911. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3912. game:GetService("Debris"):AddItem(prt,5)
  3913. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3914. local num=math.random()
  3915. local num2=math.random(-3,2)+math.random()
  3916. local numm=0
  3917. for i=0,1,delay*2 do
  3918. swait()
  3919. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3920. Part.Transparency=i
  3921. numm=numm+0.01
  3922. end
  3923. Part.Parent=nil
  3924. Mesh.Parent=nil
  3925. end),prt,msh,x,y,z)
  3926. end
  3927.  
  3928. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3929. if hit.Parent==nil then
  3930. return
  3931. end
  3932. h=hit.Parent:FindFirstChild("Humanoid")
  3933. for _,v in pairs(hit.Parent:children()) do
  3934. if v:IsA("Humanoid") then
  3935. h=v
  3936. end
  3937. end
  3938. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  3939. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3940. end
  3941. if hit.Parent.className=="Hat" then
  3942. hit=hit.Parent.Parent:findFirstChild("Head")
  3943. end
  3944. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3945. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  3946. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  3947. return
  3948. end]]
  3949. -- hs(hit,1.2)
  3950. c=Instance.new("ObjectValue")
  3951. c.Name="creator"
  3952. c.Value=game:service("Players").LocalPlayer
  3953. c.Parent=h
  3954. game:GetService("Debris"):AddItem(c,.5)
  3955. Damage=math.random(minim,maxim)
  3956. -- h:TakeDamage(Damage)
  3957. blocked=false
  3958. block=hit.Parent:findFirstChild("Block")
  3959. if block~=nil then
  3960. print(block.className)
  3961. if block.className=="NumberValue" then
  3962. if block.Value>0 then
  3963. blocked=true
  3964. if decreaseblock==nil then
  3965. block.Value=block.Value-1
  3966. end
  3967. end
  3968. end
  3969. if block.className=="IntValue" then
  3970. if block.Value>0 then
  3971. blocked=true
  3972. if decreaseblock~=nil then
  3973. block.Value=block.Value-1
  3974. end
  3975. end
  3976. end
  3977. end
  3978. if blocked==false then
  3979. -- h:TakeDamage(Damage)
  3980. h.Health=h.Health-Damage
  3981. showDamage(hit.Parent,Damage,.5,TorsoColor)
  3982. else
  3983. h.Health=h.Health-(Damage/2)
  3984. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  3985. end
  3986. if Type=="Knockdown" then
  3987. hum=hit.Parent.Humanoid
  3988. hum.PlatformStand=true
  3989. coroutine.resume(coroutine.create(function(HHumanoid)
  3990. swait(1)
  3991. HHumanoid.PlatformStand=false
  3992. end),hum)
  3993. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  3994. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  3995. local bodvol=Instance.new("BodyVelocity")
  3996. bodvol.velocity=angle*knockback
  3997. bodvol.P=5000
  3998. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  3999. bodvol.Parent=hit
  4000. rl=Instance.new("BodyAngularVelocity")
  4001. rl.P=3000
  4002. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4003. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4004. rl.Parent=hit
  4005. game:GetService("Debris"):AddItem(bodvol,.5)
  4006. game:GetService("Debris"):AddItem(rl,.5)
  4007. elseif Type=="Normal" then
  4008. vp=Instance.new("BodyVelocity")
  4009. vp.P=500
  4010. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4011. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4012. if KnockbackType==1 then
  4013. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  4014. elseif KnockbackType==2 then
  4015. vp.velocity=Property.CFrame.lookVector*knockback
  4016. end
  4017. if knockback>0 then
  4018. vp.Parent=hit.Parent.Torso
  4019. end
  4020. game:GetService("Debris"):AddItem(vp,.5)
  4021. elseif Type=="Up" then
  4022. local bodyVelocity=Instance.new("BodyVelocity")
  4023. bodyVelocity.velocity=vt(0,10,0)
  4024. bodyVelocity.P=1000
  4025. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  4026. bodyVelocity.Parent=hit
  4027. game:GetService("Debris"):AddItem(bodyVelocity,1)
  4028. rl=Instance.new("BodyAngularVelocity")
  4029. rl.P=3000
  4030. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4031. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4032. rl.Parent=hit
  4033. game:GetService("Debris"):AddItem(rl,.5)
  4034. elseif Type=="Snare" then
  4035. bp=Instance.new("BodyPosition")
  4036. bp.P=2000
  4037. bp.D=100
  4038. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4039. bp.position=hit.Parent.Torso.Position
  4040. bp.Parent=hit.Parent.Torso
  4041. game:GetService("Debris"):AddItem(bp,1)
  4042. elseif Type=="Target" then
  4043. if Targetting==false then
  4044. ZTarget=hit.Parent.Torso
  4045. coroutine.resume(coroutine.create(function(Part)
  4046. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4047. swait(5)
  4048. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4049. end),ZTarget)
  4050. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  4051. targetgui=Instance.new("BillboardGui")
  4052. targetgui.Parent=ZTarget
  4053. targetgui.Size=UDim2.new(10,100,10,100)
  4054. targ=Instance.new("ImageLabel")
  4055. targ.Parent=targetgui
  4056. targ.BackgroundTransparency=1
  4057. targ.Image="rbxassetid://4834067"
  4058. targ.Size=UDim2.new(1,0,1,0)
  4059. cam.CameraType="Scriptable"
  4060. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4061. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4062. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4063. Targetting=true
  4064. RocketTarget=ZTarget
  4065. for i=1,Property do
  4066. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  4067. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  4068. swait()
  4069. end
  4070. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  4071. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4072. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4073. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  4074. end
  4075. Targetting=false
  4076. RocketTarget=nil
  4077. targetgui.Parent=nil
  4078. cam.CameraType="Custom"
  4079. end
  4080. end
  4081. debounce=Instance.new("BoolValue")
  4082. debounce.Name="DebounceHit"
  4083. debounce.Parent=hit.Parent
  4084. debounce.Value=true
  4085. game:GetService("Debris"):AddItem(debounce,Delay)
  4086. c=Instance.new("ObjectValue")
  4087. c.Name="creator"
  4088. c.Value=Player
  4089. c.Parent=h
  4090. game:GetService("Debris"):AddItem(c,.5)
  4091. CRIT=false
  4092. hitDeb=true
  4093. AttackPos=6
  4094. end
  4095. end
  4096.  
  4097. showDamage=function(Char,Dealt,du,Color)
  4098. m=Instance.new("Model")
  4099. m.Name=tostring(Dealt)
  4100. h=Instance.new("Humanoid")
  4101. h.Health=0
  4102. h.MaxHealth=0
  4103. h.Parent=m
  4104. c=Instance.new("Part")
  4105. c.Transparency=0
  4106. c.BrickColor=TorsoColor
  4107. c.Name="Head"
  4108. c.TopSurface=0
  4109. c.BottomSurface=0
  4110. c.formFactor="Plate"
  4111. c.Size=Vector3.new(1,.4,1)
  4112. ms=Instance.new("CylinderMesh")
  4113. ms.Scale=Vector3.new(.8,.8,.8)
  4114. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  4115. if CRIT==true then
  4116. ms.Scale=Vector3.new(1,1.25,1)
  4117. end
  4118. ms.Parent=c
  4119. c.Reflectance=0
  4120. Instance.new("BodyGyro").Parent=c
  4121. c.Parent=m
  4122. if Char:findFirstChild("Head")~=nil then
  4123. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4124. elseif Char.Parent:findFirstChild("Head")~=nil then
  4125. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4126. end
  4127. f=Instance.new("BodyPosition")
  4128. f.P=2000
  4129. f.D=100
  4130. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4131. f.position=c.Position+Vector3.new(0,3,0)
  4132. f.Parent=c
  4133. game:GetService("Debris"):AddItem(m,.5+du)
  4134. c.CanCollide=false
  4135. m.Parent=workspace
  4136. c.CanCollide=false
  4137. end
  4138.  
  4139. Player=game:GetService('Players').LocalPlayer
  4140. Character=Player.Character
  4141. Mouse=Player:GetMouse()
  4142. m=Instance.new('Model',Character)
  4143.  
  4144.  
  4145. local function weldBetween(a, b)
  4146. local weldd = Instance.new("ManualWeld")
  4147. weldd.Part0 = a
  4148. weldd.Part1 = b
  4149. weldd.C0 = CFrame.new()
  4150. weldd.C1 = b.CFrame:inverse() * a.CFrame
  4151. weldd.Parent = a
  4152. return weldd
  4153. end
  4154.  
  4155. it=Instance.new
  4156.  
  4157. function nooutline(part)
  4158. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  4159. end
  4160.  
  4161. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4162. local fp=it("Part")
  4163. fp.formFactor=formfactor
  4164. fp.Parent=parent
  4165. fp.Reflectance=reflectance
  4166. fp.Transparency=transparency
  4167. fp.CanCollide=false
  4168. fp.Locked=true
  4169. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4170. fp.Name=name
  4171. fp.Size=size
  4172. fp.Position=Character.Torso.Position
  4173. nooutline(fp)
  4174. fp.Material=material
  4175. fp:BreakJoints()
  4176. return fp
  4177. end
  4178.  
  4179. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4180. local mesh=it(Mesh)
  4181. mesh.Parent=part
  4182. if Mesh=="SpecialMesh" then
  4183. mesh.MeshType=meshtype
  4184. mesh.MeshId=meshid
  4185. end
  4186. mesh.Offset=offset
  4187. mesh.Scale=scale
  4188. return mesh
  4189. end
  4190.  
  4191. function weld(parent,part0,part1,c0,c1)
  4192. local weld=it("Weld")
  4193. weld.Parent=parent
  4194. weld.Part0=part0
  4195. weld.Part1=part1
  4196. weld.C0=c0
  4197. weld.C1=c1
  4198. return weld
  4199. end
  4200.  
  4201. local modelzorz=Instance.new("Model")
  4202. modelzorz.Parent=Character
  4203. modelzorz.Name="Claw1"
  4204.  
  4205. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  4206. 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))
  4207. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  4208. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4209. 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))
  4210. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4211. 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))
  4212. 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))
  4213. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4214. 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))
  4215. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4216. 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))
  4217. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4218. 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))
  4219. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4220. 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))
  4221. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4222. 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))
  4223. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4224. 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))
  4225. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4226. 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))
  4227. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4228. 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))
  4229. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4230. 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))
  4231. 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))
  4232. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4233. 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))
  4234. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4235. 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))
  4236. 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))
  4237. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  4238. 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))
  4239. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  4240. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4241. 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))
  4242. 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))
  4243. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4244. 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))
  4245. 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))
  4246.  
  4247. local modelzorz2=Instance.new("Model")
  4248. modelzorz2.Parent=Character
  4249. modelzorz2.Name="Claw2"
  4250.  
  4251. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  4252. 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))
  4253. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  4254. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4255. 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))
  4256. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4257. 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))
  4258. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4259. 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))
  4260. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4261. 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))
  4262. 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))
  4263. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4264. 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))
  4265. 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))
  4266. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4267. 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))
  4268. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4269. 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))
  4270. 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))
  4271. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4272. 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))
  4273. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4274. 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))
  4275. 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))
  4276. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4277. 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))
  4278. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  4279. 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))
  4280. 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))
  4281. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4282. 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))
  4283. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4284. 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))
  4285. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4286. 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))
  4287. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  4288. 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))
  4289. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  4290. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  4291. 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))
  4292.  
  4293. local modelzorz3=Instance.new("Model")
  4294. modelzorz3.Parent=Character
  4295. modelzorz3.Name="Eye"
  4296.  
  4297. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  4298. 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))
  4299. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  4300. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  4301. 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))
  4302. 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))
  4303. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  4304. 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))
  4305. 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))
  4306. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  4307. 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))
  4308. 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))
  4309. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  4310. 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))
  4311. 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))
  4312. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  4313. 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))
  4314. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  4315. 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))
  4316. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  4317. 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))
  4318. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  4319. 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))
  4320. local moosick = it("Sound",Character)
  4321. moosick.SoundId = "rbxassetid://142653441"
  4322. --142653441, 175067863
  4323. moosick.Looped = true
  4324. moosick.Pitch = 1
  4325. moosick.Volume = 0
  4326. moosick:Play()
  4327.  
  4328. anim = Character:findFirstChild("Animate")
  4329. if anim then
  4330. anim:Destroy()
  4331. end
  4332.  
  4333. local particleemitter = Instance.new("ParticleEmitter", Handle)
  4334. particleemitter.VelocitySpread = 180
  4335. particleemitter.Lifetime = NumberRange.new(0.1)
  4336. particleemitter.Speed = NumberRange.new(2)
  4337. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  4338. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  4339. particleemitter.Rate = 100
  4340. particleemitter.Rotation = NumberRange.new(-45, 45)
  4341. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  4342. particleemitter.LightEmission = 0
  4343. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  4344.  
  4345. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  4346. particleemitter.VelocitySpread = 180
  4347. particleemitter.Lifetime = NumberRange.new(0.1)
  4348. particleemitter.Speed = NumberRange.new(2)
  4349. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  4350. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  4351. particleemitter.Rate = 100
  4352. particleemitter.Rotation = NumberRange.new(-45, 45)
  4353. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  4354. particleemitter.LightEmission = 0
  4355. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  4356.  
  4357. local particleemitter = Instance.new("ParticleEmitter", handle)
  4358. particleemitter.VelocitySpread = 180
  4359. particleemitter.Lifetime = NumberRange.new(0.1)
  4360. particleemitter.Speed = NumberRange.new(2)
  4361. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  4362. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  4363. particleemitter.Rate = 100
  4364. particleemitter.Rotation = NumberRange.new(-45, 45)
  4365. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  4366. particleemitter.LightEmission = 0.8
  4367. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  4368.  
  4369. local light = Instance.new("PointLight", Character.Torso)
  4370. light.Color = Color3.new(255,255,255)
  4371. light.Brightness = 5
  4372. light.Range = 15
  4373.  
  4374. particleemitter.Enabled = true
  4375.  
  4376. local Footsteps = it("Sound",Character.Torso)
  4377. Footsteps.SoundId = "rbxassetid://142665235"
  4378. Footsteps.Looped = true
  4379. Footsteps.Pitch = 0.8
  4380. Footsteps.Volume = 0.3
  4381.  
  4382. local Footsteps2 = it("Sound",Character.Torso)
  4383. Footsteps2.SoundId = "rbxassetid://142665235"
  4384. Footsteps2.Looped = true
  4385. Footsteps2.Pitch = 1
  4386. Footsteps2.Volume = 0.4
  4387.  
  4388. local cam = game.Workspace.CurrentCamera
  4389.  
  4390. --cam.CameraSubject = Character
  4391.  
  4392. for i,v in pairs(Head:children()) do
  4393. if v:IsA("Sound") then
  4394. v:Destroy()
  4395. end
  4396. end
  4397.  
  4398. mouse.Button1Down:connect(function()
  4399. if attack==false and attacktype==1 then
  4400. attacktype=2
  4401. attackone()
  4402. elseif attack==false and attacktype==2 then
  4403. attacktype=3
  4404. attacktwo()
  4405. elseif attack==false and attacktype==3 then
  4406. attacktype=4
  4407. attackthree()
  4408. elseif attack==false and attacktype==4 then
  4409. attacktype=1
  4410. attackfour()
  4411. end
  4412. end)
  4413.  
  4414. mouse.KeyDown:connect(function(k)
  4415. k=k:lower()
  4416. if k=='e' then
  4417. if attack==false and mana>=20 then
  4418. Push()
  4419. end
  4420. elseif k=='g' then
  4421. if attack==false and mana>=50 then
  4422. Twirl()
  4423. end
  4424. elseif k=='v' then
  4425. if attack==false and mana>=25 then
  4426. MagicJump()
  4427. end
  4428. elseif k=='q' then
  4429. if attack==false then
  4430. idle=1000
  4431. end
  4432. elseif k=='h' then
  4433. if attack==false then
  4434. mana=100
  4435. end
  4436. elseif k=='y' then
  4437. if attack==false and mana>=100 then
  4438. Shred()
  4439. end
  4440. elseif k=='f' then
  4441. if attack==false and mana>=40 then
  4442. Spin()
  4443. end
  4444. elseif k=='r' then
  4445. if attack==false and mana>=20 then
  4446. Clap()
  4447. end
  4448. elseif k=='t' then
  4449. if attack==false then
  4450. Hai()
  4451. end
  4452. elseif k=='0' then
  4453. if attack==false then
  4454. Humanoid.WalkSpeed=(56)
  4455. end
  4456. elseif k=='j' then
  4457. if attack==false then
  4458. Humanoid.Health = 100
  4459. print("Congrats, you commited suicide.")
  4460. end
  4461. end
  4462. end)
  4463.  
  4464. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4465. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4466. prt.Anchored=true
  4467. prt.CFrame=cframe
  4468. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4469. game:GetService("Debris"):AddItem(prt,2)
  4470. coroutine.resume(coroutine.create(function(Part,Mesh)
  4471. for i=0,1,delay do
  4472. wait()
  4473. Part.CFrame=Part.CFrame
  4474. Part.Transparency=i
  4475. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4476. end
  4477. Part.Parent=nil
  4478. end),prt,msh)
  4479. end
  4480.  
  4481. TrailDeb = false
  4482.  
  4483. function equipanim()
  4484. attack=true
  4485. Humanoid.WalkSpeed = 0
  4486. if TrailDeb == false then
  4487. TrailDeb = true
  4488. end
  4489.  
  4490.  
  4491. coroutine.wrap(function()
  4492. local Old = handle.CFrame.p
  4493. while wait()do
  4494. if not TrailDeb then break end
  4495. local New = handle.CFrame.p
  4496. local Mag =(Old -New).magnitude
  4497. local Dis =(Old +New)/2
  4498. local Trail = Instance.new("Part",Character)
  4499. Trail.Material = "Neon"
  4500. Trail.Anchored = true
  4501. Trail.CanCollide = false
  4502. Trail.BrickColor = TorsoColor
  4503. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4504. Trail.TopSurface = 0
  4505. Trail.BottomSurface = 0
  4506. Trail.formFactor = "Custom"
  4507. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4508. local ms = Instance.new("BlockMesh",Trail)
  4509. ms.Scale = Vector3.new(1,1,1)
  4510. local TM = Instance.new("CylinderMesh",Trail)
  4511. TM.Scale = Vector3.new(1,1,1)
  4512. Old = New
  4513. coroutine.wrap(function()
  4514. for i = 1,0,-0.1 do
  4515. wait()
  4516. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4517. end
  4518. Trail:remove()
  4519. end)()
  4520. coroutine.wrap(function()
  4521. for i = 1,10 do
  4522. wait()
  4523. Trail.Transparency = Trail.Transparency +0.1
  4524. end end)()end end)()
  4525. coroutine.wrap(function()
  4526. local Old = Handle.CFrame.p
  4527. while wait()do
  4528. if not TrailDeb then break end
  4529. local New = Handle.CFrame.p
  4530. local Mag =(Old -New).magnitude
  4531. local Dis =(Old +New)/2
  4532. local Trail = Instance.new("Part",Character)
  4533. Trail.Material = "Neon"
  4534. Trail.Anchored = true
  4535. Trail.CanCollide = false
  4536. Trail.BrickColor = TorsoColor
  4537. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4538. Trail.TopSurface = 0
  4539. Trail.BottomSurface = 0
  4540. Trail.formFactor = "Custom"
  4541. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4542. local ms = Instance.new("BlockMesh",Trail)
  4543. ms.Scale = Vector3.new(1,1,1)
  4544. local TM = Instance.new("CylinderMesh",Trail)
  4545. TM.Scale = Vector3.new(1,1,1)
  4546. Old = New
  4547. coroutine.wrap(function()
  4548. for i = 1,0,-0.1 do
  4549. wait()
  4550. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4551. end
  4552. Trail:remove()
  4553. end)()
  4554. coroutine.wrap(function()
  4555. for i = 1,10 do
  4556. wait()
  4557. Trail.Transparency = Trail.Transparency +0.1
  4558. end end)()end end)()
  4559. coroutine.wrap(function()
  4560. local Old = Handle2.CFrame.p
  4561. while wait()do
  4562. if not TrailDeb then break end
  4563. local New = Handle2.CFrame.p
  4564. local Mag =(Old -New).magnitude
  4565. local Dis =(Old +New)/2
  4566. local Trail = Instance.new("Part",Character)
  4567. Trail.Material = "Neon"
  4568. Trail.Anchored = true
  4569. Trail.CanCollide = false
  4570. Trail.BrickColor = TorsoColor
  4571. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4572. Trail.TopSurface = 0
  4573. Trail.BottomSurface = 0
  4574. Trail.formFactor = "Custom"
  4575. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4576. local ms = Instance.new("BlockMesh",Trail)
  4577. ms.Scale = Vector3.new(1,1,1)
  4578. local TM = Instance.new("CylinderMesh",Trail)
  4579. TM.Scale = Vector3.new(1,1,1)
  4580. Old = New
  4581. coroutine.wrap(function()
  4582. for i = 1,0,-0.1 do
  4583. wait()
  4584. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4585. end
  4586. Trail:remove()
  4587. end)()
  4588. coroutine.wrap(function()
  4589. for i = 1,10 do
  4590. wait()
  4591. Trail.Transparency = Trail.Transparency +0.1
  4592. end end)()end end)()
  4593. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  4594. for i=0,1,0.005 do
  4595. swait()
  4596. moosick.Volume = 0+1*i
  4597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  4598. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  4599. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4600. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4601. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4602. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  4603. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  4604. end
  4605. for i=0,1,0.005 do
  4606. swait()
  4607. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  4608. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  4609. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4610. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4611. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  4612. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  4613. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  4614. end
  4615. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4616. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  4617. for i=0,1,0.005 do
  4618. swait()
  4619. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  4620. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  4621. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  4622. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  4623. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  4624. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  4625. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  4626. 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)
  4627. 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)
  4628. end
  4629. for i=0,1,0.04 do
  4630. swait()
  4631. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4632. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4633. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4634. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4635. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4636. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4637. 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)
  4638. 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)
  4639. end
  4640. --dmgstop()
  4641. attack=false
  4642. Humanoid.WalkSpeed = 12
  4643. if TrailDeb == true then
  4644. TrailDeb = false
  4645. end
  4646. end
  4647.  
  4648. function attackone()
  4649. attack=true
  4650. if TrailDeb == false then
  4651. TrailDeb = true
  4652. end
  4653.  
  4654.  
  4655. coroutine.wrap(function()
  4656. local Old = Handle.CFrame.p
  4657. while wait()do
  4658. if not TrailDeb then break end
  4659. local New = Handle.CFrame.p
  4660. local Mag =(Old -New).magnitude
  4661. local Dis =(Old +New)/2
  4662. local Trail = Instance.new("Part",Character)
  4663. Trail.Material = "Neon"
  4664. Trail.Anchored = true
  4665. Trail.CanCollide = false
  4666. Trail.BrickColor = TorsoColor
  4667. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4668. Trail.TopSurface = 0
  4669. Trail.BottomSurface = 0
  4670. Trail.formFactor = "Custom"
  4671. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4672. local ms = Instance.new("BlockMesh",Trail)
  4673. ms.Scale = Vector3.new(1,1,1)
  4674. local TM = Instance.new("CylinderMesh",Trail)
  4675. TM.Scale = Vector3.new(1,1,1)
  4676. Old = New
  4677. coroutine.wrap(function()
  4678. for i = 1,0,-0.1 do
  4679. wait()
  4680. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4681. end
  4682. Trail:remove()
  4683. end)()
  4684. coroutine.wrap(function()
  4685. for i = 1,10 do
  4686. wait()
  4687. Trail.Transparency = Trail.Transparency +0.1
  4688. end end)()end end)()
  4689. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  4690. for i=0,1,0.08 do
  4691. swait()
  4692. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  4693. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  4694. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4695. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4696. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4697. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  4698. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4699. end
  4700. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  4701. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  4702. for i=0,1,0.1 do
  4703. swait()
  4704. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  4705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4706. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4707. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  4708. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4709. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  4710. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4711. end
  4712. --dmgstop()
  4713. attack=false
  4714. con1:disconnect()
  4715. if TrailDeb == true then
  4716. TrailDeb = false
  4717. end
  4718. end
  4719.  
  4720. function attacktwo()
  4721. attack=true
  4722. if TrailDeb == false then
  4723. TrailDeb = true
  4724. end
  4725.  
  4726.  
  4727. coroutine.wrap(function()
  4728. local Old = Handle2.CFrame.p
  4729. while wait()do
  4730. if not TrailDeb then break end
  4731. local New = Handle2.CFrame.p
  4732. local Mag =(Old -New).magnitude
  4733. local Dis =(Old +New)/2
  4734. local Trail = Instance.new("Part",Character)
  4735. Trail.Material = "Neon"
  4736. Trail.Anchored = true
  4737. Trail.CanCollide = false
  4738. Trail.BrickColor = TorsoColor
  4739. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4740. Trail.TopSurface = 0
  4741. Trail.BottomSurface = 0
  4742. Trail.formFactor = "Custom"
  4743. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4744. local ms = Instance.new("BlockMesh",Trail)
  4745. ms.Scale = Vector3.new(1,1,1)
  4746. local TM = Instance.new("CylinderMesh",Trail)
  4747. TM.Scale = Vector3.new(1,1,1)
  4748. Old = New
  4749. coroutine.wrap(function()
  4750. for i = 1,0,-0.1 do
  4751. wait()
  4752. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4753. end
  4754. Trail:remove()
  4755. end)()
  4756. coroutine.wrap(function()
  4757. for i = 1,10 do
  4758. wait()
  4759. Trail.Transparency = Trail.Transparency +0.1
  4760. end end)()end end)()
  4761. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  4762. for i=0,1,0.08 do
  4763. swait()
  4764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4766. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4767. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4768. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4769. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  4770. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4771. end
  4772. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  4773. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  4774. for i=0,1,0.1 do
  4775. swait()
  4776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  4777. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  4778. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4779. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  4780. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4781. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  4782. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  4783. end
  4784. --dmgstop()
  4785. attack=false
  4786. con1:disconnect()
  4787. if TrailDeb == true then
  4788. TrailDeb = false
  4789. end
  4790. end
  4791.  
  4792. function attackthree()
  4793. attack=true
  4794. if TrailDeb == false then
  4795. TrailDeb = true
  4796. end
  4797.  
  4798.  
  4799. coroutine.wrap(function()
  4800. local Old = Handle.CFrame.p
  4801. while wait()do
  4802. if not TrailDeb then break end
  4803. local New = Handle.CFrame.p
  4804. local Mag =(Old -New).magnitude
  4805. local Dis =(Old +New)/2
  4806. local Trail = Instance.new("Part",Character)
  4807. Trail.Material = "Neon"
  4808. Trail.Anchored = true
  4809. Trail.CanCollide = false
  4810. Trail.BrickColor = TorsoColor
  4811. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4812. Trail.TopSurface = 0
  4813. Trail.BottomSurface = 0
  4814. Trail.formFactor = "Custom"
  4815. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4816. local ms = Instance.new("BlockMesh",Trail)
  4817. ms.Scale = Vector3.new(1,1,1)
  4818. local TM = Instance.new("CylinderMesh",Trail)
  4819. TM.Scale = Vector3.new(1,1,1)
  4820. Old = New
  4821. coroutine.wrap(function()
  4822. for i = 1,0,-0.1 do
  4823. wait()
  4824. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4825. end
  4826. Trail:remove()
  4827. end)()
  4828. coroutine.wrap(function()
  4829. for i = 1,10 do
  4830. wait()
  4831. Trail.Transparency = Trail.Transparency +0.1
  4832. end end)()end end)()
  4833. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  4834. for i=0,1,0.08 do
  4835. swait()
  4836. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4837. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  4838. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4839. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  4840. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4841. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  4842. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4843. end
  4844. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  4845. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  4846. for i=0,1,0.05 do
  4847. swait()
  4848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  4849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  4850. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4851. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  4852. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4853. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  4854. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  4855. end
  4856. --dmgstop()
  4857. attack=false
  4858. con1:disconnect()
  4859. if TrailDeb == true then
  4860. TrailDeb = false
  4861. end
  4862. end
  4863.  
  4864. function attackfour()
  4865. attack=true
  4866. if TrailDeb == false then
  4867. TrailDeb = true
  4868. end
  4869.  
  4870.  
  4871. coroutine.wrap(function()
  4872. local Old = Handle2.CFrame.p
  4873. while wait()do
  4874. if not TrailDeb then break end
  4875. local New = Handle2.CFrame.p
  4876. local Mag =(Old -New).magnitude
  4877. local Dis =(Old +New)/2
  4878. local Trail = Instance.new("Part",Character)
  4879. Trail.Material = "Neon"
  4880. Trail.Anchored = true
  4881. Trail.CanCollide = false
  4882. Trail.BrickColor = TorsoColor
  4883. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4884. Trail.TopSurface = 0
  4885. Trail.BottomSurface = 0
  4886. Trail.formFactor = "Custom"
  4887. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4888. local ms = Instance.new("BlockMesh",Trail)
  4889. ms.Scale = Vector3.new(1,1,1)
  4890. local TM = Instance.new("CylinderMesh",Trail)
  4891. TM.Scale = Vector3.new(1,1,1)
  4892. Old = New
  4893. coroutine.wrap(function()
  4894. for i = 1,0,-0.1 do
  4895. wait()
  4896. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4897. end
  4898. Trail:remove()
  4899. end)()
  4900. coroutine.wrap(function()
  4901. for i = 1,10 do
  4902. wait()
  4903. Trail.Transparency = Trail.Transparency +0.1
  4904. end end)()end end)()
  4905. coroutine.wrap(function()
  4906. local Old = Handle.CFrame.p
  4907. while wait()do
  4908. if not TrailDeb then break end
  4909. local New = Handle.CFrame.p
  4910. local Mag =(Old -New).magnitude
  4911. local Dis =(Old +New)/2
  4912. local Trail = Instance.new("Part",Character)
  4913. Trail.Material = "Neon"
  4914. Trail.Anchored = true
  4915. Trail.CanCollide = false
  4916. Trail.BrickColor = TorsoColor
  4917. Trail.Size = Vector3.new(0.2,Mag,0.2)
  4918. Trail.TopSurface = 0
  4919. Trail.BottomSurface = 0
  4920. Trail.formFactor = "Custom"
  4921. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  4922. local ms = Instance.new("BlockMesh",Trail)
  4923. ms.Scale = Vector3.new(1,1,1)
  4924. local TM = Instance.new("CylinderMesh",Trail)
  4925. TM.Scale = Vector3.new(1,1,1)
  4926. Old = New
  4927. coroutine.wrap(function()
  4928. for i = 1,0,-0.1 do
  4929. wait()
  4930. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  4931. end
  4932. Trail:remove()
  4933. end)()
  4934. coroutine.wrap(function()
  4935. for i = 1,10 do
  4936. wait()
  4937. Trail.Transparency = Trail.Transparency +0.1
  4938. end end)()end end)()
  4939. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  4940. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  4941. for i=0,1,0.08 do
  4942. swait()
  4943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  4944. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4945. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4946. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4947. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  4948. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  4949. 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)
  4950. 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)
  4951. end
  4952. if anim then
  4953. anim.Disabled=true
  4954. end
  4955. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  4956. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  4957. for i=0,1,0.04 do
  4958. swait()
  4959. Torso.Velocity=RootPart.CFrame.lookVector*50
  4960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  4961. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4962. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  4963. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  4964. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  4965. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  4966. 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)
  4967. 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)
  4968. end
  4969. --dmgstop()
  4970. attack=false
  4971. con1:disconnect()
  4972. con2:disconnect()
  4973. if anim then
  4974. anim.Disabled=false
  4975. end
  4976. if TrailDeb == true then
  4977. TrailDeb = false
  4978. end
  4979. end
  4980.  
  4981. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  4982. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4983. prt.Anchored = true
  4984. prt.CFrame = cframe
  4985. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  4986. coroutine.resume(coroutine.create(function()
  4987. for i = 0, 1, 0.05 do
  4988. wait()
  4989. prt.Transparency = i
  4990. msh.Scale = msh.Scale + vt(x2, y2, z2)
  4991. end
  4992. prt.Parent = nil
  4993. end))
  4994. end
  4995.  
  4996. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  4997. for _, c in pairs(workspace:children()) do
  4998. local hum = c:findFirstChild("Humanoid")
  4999. if hum ~= nil then
  5000. local head = c:findFirstChild("Torso")
  5001. if head ~= nil then
  5002. local targ = head.Position - Part.Position
  5003. local mag = targ.magnitude
  5004. if mag <= magni and c.Name ~= Player.Name then
  5005. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  5006. end
  5007. end
  5008. end
  5009. end
  5010. end
  5011.  
  5012. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  5013. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  5014. prt.Anchored = true
  5015. prt.CFrame = cframe
  5016. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  5017. game:GetService("Debris"):AddItem(prt, 2)
  5018. coroutine.resume(coroutine.create(function(Part, Mesh)
  5019. for i = 0, 1, delay do
  5020. swait()
  5021. Part.CFrame = Part.CFrame
  5022. Part.Transparency = i
  5023. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  5024. end
  5025. Part.Parent = nil
  5026. end), prt, msh)
  5027. end
  5028.  
  5029. function MagicJump()
  5030. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  5031. attack=true
  5032. mana=mana-25
  5033. --[[ Humanoid.WalkSpeed = 0
  5034. for i=0,1,0.01 do
  5035. swait()
  5036. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  5037. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  5038. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  5039. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  5040. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  5041. 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)
  5042. 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)
  5043. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  5044. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  5045. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  5046. end]]--
  5047. Humanoid.Jump = true
  5048. Torso.Velocity = vt(0, 150, 0)
  5049. Humanoid.WalkSpeed = 64
  5050. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  5051. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  5052. for i=0,1,0.05 do
  5053. swait()
  5054. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  5055. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  5057. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  5058. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  5059. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  5060. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  5061. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  5062. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  5063. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  5064. end
  5065. for i=0,1,0.02 do
  5066. swait()
  5067. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  5068. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  5070. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  5071. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5072. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  5073. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5074. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  5075. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  5076. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5077. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  5078. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  5079. end
  5080. Humanoid.WalkSpeed = 0
  5081. swait(8)
  5082. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  5083. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  5084. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  5085. if hit~=nil then
  5086. swait(2)
  5087. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  5088. ref.Anchored=true
  5089. ref.CFrame=cf(pos)
  5090. game:GetService("Debris"):AddItem(ref,3)
  5091. for i=1,10 do
  5092. local Col=BrickColor.new("Really black")
  5093. 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))
  5094. groundpart.Anchored=true
  5095. groundpart.CanCollide=false
  5096. 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))
  5097. local Col2=TorsoColor
  5098. 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))
  5099. groundpart2.Anchored=true
  5100. groundpart2.CanCollide=false
  5101. 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))
  5102. game:GetService("Debris"):AddItem(groundpart,5)
  5103. game:GetService("Debris"):AddItem(groundpart2,5)
  5104. end
  5105. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  5106. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  5107. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  5108. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  5109. for i=0,1,0.06 do
  5110. swait()
  5111. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  5112. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5113. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  5114. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  5115. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  5116. 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)
  5117. 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)
  5118. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5119. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  5120. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  5121. end
  5122. end
  5123. swait(20)
  5124. Humanoid.WalkSpeed = 12
  5125. --dmgstop()
  5126. attack=false
  5127. end
  5128. end
  5129.  
  5130. function Spin()
  5131. attack=true
  5132. mana=mana-40
  5133. if TrailDeb == false then
  5134. TrailDeb = true
  5135. end
  5136.  
  5137. coroutine.wrap(function()
  5138. local Old = Handle2.CFrame.p
  5139. while wait()do
  5140. if not TrailDeb then break end
  5141. local New = Handle2.CFrame.p
  5142. local Mag =(Old -New).magnitude
  5143. local Dis =(Old +New)/2
  5144. local Trail = Instance.new("Part",Character)
  5145. Trail.Material = "Neon"
  5146. Trail.Anchored = true
  5147. Trail.CanCollide = false
  5148. Trail.BrickColor = TorsoColor
  5149. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5150. Trail.TopSurface = 0
  5151. Trail.BottomSurface = 0
  5152. Trail.formFactor = "Custom"
  5153. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5154. local ms = Instance.new("BlockMesh",Trail)
  5155. ms.Scale = Vector3.new(1,1,1)
  5156. local TM = Instance.new("CylinderMesh",Trail)
  5157. TM.Scale = Vector3.new(1,1,1)
  5158. Old = New
  5159. coroutine.wrap(function()
  5160. for i = 1,0,-0.1 do
  5161. wait()
  5162. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5163. end
  5164. Trail:remove()
  5165. end)()
  5166. coroutine.wrap(function()
  5167. for i = 1,10 do
  5168. wait()
  5169. Trail.Transparency = Trail.Transparency +0.1
  5170. end end)()end end)()
  5171. coroutine.wrap(function()
  5172. local Old = Handle.CFrame.p
  5173. while wait()do
  5174. if not TrailDeb then break end
  5175. local New = Handle.CFrame.p
  5176. local Mag =(Old -New).magnitude
  5177. local Dis =(Old +New)/2
  5178. local Trail = Instance.new("Part",Character)
  5179. Trail.Material = "Neon"
  5180. Trail.Anchored = true
  5181. Trail.CanCollide = false
  5182. Trail.BrickColor = TorsoColor
  5183. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5184. Trail.TopSurface = 0
  5185. Trail.BottomSurface = 0
  5186. Trail.formFactor = "Custom"
  5187. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5188. local ms = Instance.new("BlockMesh",Trail)
  5189. ms.Scale = Vector3.new(1,1,1)
  5190. local TM = Instance.new("CylinderMesh",Trail)
  5191. TM.Scale = Vector3.new(1,1,1)
  5192. Old = New
  5193. coroutine.wrap(function()
  5194. for i = 1,0,-0.1 do
  5195. wait()
  5196. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5197. end
  5198. Trail:remove()
  5199. end)()
  5200. coroutine.wrap(function()
  5201. for i = 1,10 do
  5202. wait()
  5203. Trail.Transparency = Trail.Transparency +0.1
  5204. end end)()end end)()
  5205. Footsteps:Stop()
  5206. Footsteps2:Stop()
  5207. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5208. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5209. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  5210. for i=0,1,0.1 do
  5211. swait()
  5212. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5213. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5214. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5215. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5216. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5217. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5218. end
  5219. if anim then
  5220. anim.Disabled=true
  5221. end
  5222. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  5223. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  5224. for i=0,1,0.05 do
  5225. swait()
  5226. Torso.Velocity=RootPart.CFrame.lookVector*100
  5227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  5228. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5229. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5230. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5231. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5232. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5233. end
  5234. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  5235. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  5236. for i=0,1,0.05 do
  5237. swait()
  5238. Torso.Velocity=RootPart.CFrame.lookVector*100
  5239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  5240. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5241. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5242. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5243. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5244. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5245. end
  5246. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  5247. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  5248. for i=0,1,0.05 do
  5249. swait()
  5250. Torso.Velocity=RootPart.CFrame.lookVector*100
  5251. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  5252. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5253. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5254. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5255. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5256. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5257. end
  5258. --dmgstop()
  5259. Humanoid.WalkSpeed=12
  5260. attack=false
  5261. con1:disconnect()
  5262. con2:disconnect()
  5263. if anim then
  5264. anim.Disabled=false
  5265. end
  5266. if TrailDeb == true then
  5267. TrailDeb = false
  5268. end
  5269. end
  5270.  
  5271. function Twirl()
  5272. mana=mana-50
  5273. attack=true
  5274. if TrailDeb == false then
  5275. TrailDeb = true
  5276. end
  5277.  
  5278.  
  5279. coroutine.wrap(function()
  5280. local Old = Handle2.CFrame.p
  5281. while wait()do
  5282. if not TrailDeb then break end
  5283. local New = Handle2.CFrame.p
  5284. local Mag =(Old -New).magnitude
  5285. local Dis =(Old +New)/2
  5286. local Trail = Instance.new("Part",Character)
  5287. Trail.Material = "Neon"
  5288. Trail.Anchored = true
  5289. Trail.CanCollide = false
  5290. Trail.BrickColor = TorsoColor
  5291. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5292. Trail.TopSurface = 0
  5293. Trail.BottomSurface = 0
  5294. Trail.formFactor = "Custom"
  5295. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5296. local ms = Instance.new("BlockMesh",Trail)
  5297. ms.Scale = Vector3.new(1,1,1)
  5298. local TM = Instance.new("CylinderMesh",Trail)
  5299. TM.Scale = Vector3.new(1,1,1)
  5300. Old = New
  5301. coroutine.wrap(function()
  5302. for i = 1,0,-0.1 do
  5303. wait()
  5304. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5305. end
  5306. Trail:remove()
  5307. end)()
  5308. coroutine.wrap(function()
  5309. for i = 1,10 do
  5310. wait()
  5311. Trail.Transparency = Trail.Transparency +0.1
  5312. end end)()end end)()
  5313. coroutine.wrap(function()
  5314. local Old = Handle.CFrame.p
  5315. while wait()do
  5316. if not TrailDeb then break end
  5317. local New = Handle.CFrame.p
  5318. local Mag =(Old -New).magnitude
  5319. local Dis =(Old +New)/2
  5320. local Trail = Instance.new("Part",Character)
  5321. Trail.Material = "Neon"
  5322. Trail.Anchored = true
  5323. Trail.CanCollide = false
  5324. Trail.BrickColor = TorsoColor
  5325. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5326. Trail.TopSurface = 0
  5327. Trail.BottomSurface = 0
  5328. Trail.formFactor = "Custom"
  5329. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5330. local ms = Instance.new("BlockMesh",Trail)
  5331. ms.Scale = Vector3.new(1,1,1)
  5332. local TM = Instance.new("CylinderMesh",Trail)
  5333. TM.Scale = Vector3.new(1,1,1)
  5334. Old = New
  5335. coroutine.wrap(function()
  5336. for i = 1,0,-0.1 do
  5337. wait()
  5338. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5339. end
  5340. Trail:remove()
  5341. end)()
  5342. coroutine.wrap(function()
  5343. for i = 1,10 do
  5344. wait()
  5345. Trail.Transparency = Trail.Transparency +0.1
  5346. end end)()end end)()
  5347. Footsteps:Stop()
  5348. Footsteps2:Stop()
  5349. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5350. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5351. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  5352. for i=0,1,0.1 do
  5353. swait()
  5354. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5355. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5356. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5357. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5358. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5359. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5360. end
  5361. if anim then
  5362. anim.Disabled=true
  5363. end
  5364. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5365. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5366. for i=0,1,0.05 do
  5367. swait()
  5368. Torso.Velocity=RootPart.CFrame.lookVector*80
  5369. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5370. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5371. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5372. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5373. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5374. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5375. end
  5376. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5377. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5378. for i=0,1,0.05 do
  5379. swait()
  5380. Torso.Velocity=RootPart.CFrame.lookVector*80
  5381. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5382. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5383. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5384. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5385. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5386. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5387. end
  5388. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5389. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5390. for i=0,1,0.05 do
  5391. swait()
  5392. Torso.Velocity=RootPart.CFrame.lookVector*80
  5393. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5394. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5395. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5396. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5397. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5398. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5399. end
  5400. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  5401. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  5402. for i=0,1,0.05 do
  5403. swait()
  5404. Torso.Velocity=RootPart.CFrame.lookVector*80
  5405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  5406. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5407. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5408. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5409. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5410. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5411. end
  5412. --dmgstop()
  5413. Humanoid.WalkSpeed=12
  5414. attack=false
  5415. con1:disconnect()
  5416. con2:disconnect()
  5417. if anim then
  5418. anim.Disabled=false
  5419. end
  5420. if TrailDeb == true then
  5421. TrailDeb = false
  5422. end
  5423. end
  5424.  
  5425. function Shred()
  5426. attack=true
  5427. mana=mana-100
  5428. if TrailDeb == false then
  5429. TrailDeb = true
  5430. end
  5431.  
  5432.  
  5433. coroutine.wrap(function()
  5434. local Old = Handle2.CFrame.p
  5435. while wait()do
  5436. if not TrailDeb then break end
  5437. local New = Handle2.CFrame.p
  5438. local Mag =(Old -New).magnitude
  5439. local Dis =(Old +New)/2
  5440. local Trail = Instance.new("Part",Character)
  5441. Trail.Material = "Neon"
  5442. Trail.Anchored = true
  5443. Trail.CanCollide = false
  5444. Trail.BrickColor = TorsoColor
  5445. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5446. Trail.TopSurface = 0
  5447. Trail.BottomSurface = 0
  5448. Trail.formFactor = "Custom"
  5449. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5450. local ms = Instance.new("BlockMesh",Trail)
  5451. ms.Scale = Vector3.new(1,1,1)
  5452. local TM = Instance.new("CylinderMesh",Trail)
  5453. TM.Scale = Vector3.new(1,1,1)
  5454. Old = New
  5455. coroutine.wrap(function()
  5456. for i = 1,0,-0.1 do
  5457. wait()
  5458. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5459. end
  5460. Trail:remove()
  5461. end)()
  5462. coroutine.wrap(function()
  5463. for i = 1,10 do
  5464. wait()
  5465. Trail.Transparency = Trail.Transparency +0.1
  5466. end end)()end end)()
  5467. coroutine.wrap(function()
  5468. local Old = Handle.CFrame.p
  5469. while wait()do
  5470. if not TrailDeb then break end
  5471. local New = Handle.CFrame.p
  5472. local Mag =(Old -New).magnitude
  5473. local Dis =(Old +New)/2
  5474. local Trail = Instance.new("Part",Character)
  5475. Trail.Material = "Neon"
  5476. Trail.Anchored = true
  5477. Trail.CanCollide = false
  5478. Trail.BrickColor = TorsoColor
  5479. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5480. Trail.TopSurface = 0
  5481. Trail.BottomSurface = 0
  5482. Trail.formFactor = "Custom"
  5483. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5484. local ms = Instance.new("BlockMesh",Trail)
  5485. ms.Scale = Vector3.new(1,1,1)
  5486. local TM = Instance.new("CylinderMesh",Trail)
  5487. TM.Scale = Vector3.new(1,1,1)
  5488. Old = New
  5489. coroutine.wrap(function()
  5490. for i = 1,0,-0.1 do
  5491. wait()
  5492. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5493. end
  5494. Trail:remove()
  5495. end)()
  5496. coroutine.wrap(function()
  5497. for i = 1,10 do
  5498. wait()
  5499. Trail.Transparency = Trail.Transparency +0.1
  5500. end end)()end end)()
  5501. Footsteps:Stop()
  5502. Footsteps2:Stop()
  5503. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  5504. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  5505. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  5506. for i=0,1,0.1 do
  5507. swait()
  5508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5509. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5510. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5511. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5512. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5513. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5514. end
  5515. if anim then
  5516. anim.Disabled=true
  5517. end
  5518. for i=0,1,0.05 do
  5519. swait()
  5520. Torso.Velocity=RootPart.CFrame.lookVector*20
  5521. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5522. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5523. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  5524. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5525. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5526. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5528. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5529. end
  5530. for i=0,1,0.05 do
  5531. swait()
  5532. Torso.Velocity=RootPart.CFrame.lookVector*40
  5533. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5534. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5535. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  5536. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5537. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5538. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5539. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5540. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5541. end
  5542. for i=0,1,0.05 do
  5543. swait()
  5544. Torso.Velocity=RootPart.CFrame.lookVector*60
  5545. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  5546. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  5547. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  5548. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5549. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5550. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5551. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5552. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5553. end
  5554. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  5555. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5556. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5557. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5558. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  5559. for i=0,1,0.05 do
  5560. swait()
  5561. Torso.Velocity=RootPart.CFrame.lookVector*80
  5562. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  5563. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5564. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5565. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5566. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5567. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5568. end
  5569. for i=0,1,0.005 do
  5570. swait()
  5571. Torso.Velocity=RootPart.CFrame.lookVector*100
  5572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  5573. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5574. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5575. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  5576. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5577. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  5578. end
  5579. --dmgstop()
  5580. Humanoid.WalkSpeed=12
  5581. attack=false
  5582. con1:disconnect()
  5583. con2:disconnect()
  5584. if anim then
  5585. anim.Disabled=false
  5586. end
  5587. if TrailDeb == true then
  5588. TrailDeb = false
  5589. end
  5590. end
  5591.  
  5592. function Push()
  5593. attack=true
  5594. mana=mana-20
  5595. if TrailDeb == false then
  5596. TrailDeb = true
  5597. end
  5598.  
  5599.  
  5600. coroutine.wrap(function()
  5601. local Old = Handle2.CFrame.p
  5602. while wait()do
  5603. if not TrailDeb then break end
  5604. local New = Handle2.CFrame.p
  5605. local Mag =(Old -New).magnitude
  5606. local Dis =(Old +New)/2
  5607. local Trail = Instance.new("Part",Character)
  5608. Trail.Material = "Neon"
  5609. Trail.Anchored = true
  5610. Trail.CanCollide = false
  5611. Trail.BrickColor = TorsoColor
  5612. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5613. Trail.TopSurface = 0
  5614. Trail.BottomSurface = 0
  5615. Trail.formFactor = "Custom"
  5616. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5617. local ms = Instance.new("BlockMesh",Trail)
  5618. ms.Scale = Vector3.new(1,1,1)
  5619. local TM = Instance.new("CylinderMesh",Trail)
  5620. TM.Scale = Vector3.new(1,1,1)
  5621. Old = New
  5622. coroutine.wrap(function()
  5623. for i = 1,0,-0.1 do
  5624. wait()
  5625. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5626. end
  5627. Trail:remove()
  5628. end)()
  5629. coroutine.wrap(function()
  5630. for i = 1,10 do
  5631. wait()
  5632. Trail.Transparency = Trail.Transparency +0.1
  5633. end end)()end end)()
  5634. coroutine.wrap(function()
  5635. local Old = Handle.CFrame.p
  5636. while wait()do
  5637. if not TrailDeb then break end
  5638. local New = Handle.CFrame.p
  5639. local Mag =(Old -New).magnitude
  5640. local Dis =(Old +New)/2
  5641. local Trail = Instance.new("Part",Character)
  5642. Trail.Material = "Neon"
  5643. Trail.Anchored = true
  5644. Trail.CanCollide = false
  5645. Trail.BrickColor = TorsoColor
  5646. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5647. Trail.TopSurface = 0
  5648. Trail.BottomSurface = 0
  5649. Trail.formFactor = "Custom"
  5650. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5651. local ms = Instance.new("BlockMesh",Trail)
  5652. ms.Scale = Vector3.new(1,1,1)
  5653. local TM = Instance.new("CylinderMesh",Trail)
  5654. TM.Scale = Vector3.new(1,1,1)
  5655. Old = New
  5656. coroutine.wrap(function()
  5657. for i = 1,0,-0.1 do
  5658. wait()
  5659. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5660. end
  5661. Trail:remove()
  5662. end)()
  5663. coroutine.wrap(function()
  5664. for i = 1,10 do
  5665. wait()
  5666. Trail.Transparency = Trail.Transparency +0.1
  5667. end end)()end end)()
  5668. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  5669. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  5670. for i=0,1,0.1 do
  5671. swait()
  5672. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5673. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5674. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5675. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5676. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5679. end
  5680. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5681. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5682. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  5683. for i=0,1,0.1 do
  5684. swait()
  5685. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5686. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5687. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5688. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  5689. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  5690. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  5691. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  5692. end
  5693. --dmgstop()
  5694. attack=false
  5695. con1:disconnect()
  5696. con2:disconnect()
  5697. if TrailDeb == true then
  5698. TrailDeb = false
  5699. end
  5700. end
  5701.  
  5702. function Clap()
  5703. attack=true
  5704. mana=mana-20
  5705. if TrailDeb == false then
  5706. TrailDeb = true
  5707. end
  5708.  
  5709.  
  5710. coroutine.wrap(function()
  5711. local Old = Handle2.CFrame.p
  5712. while wait()do
  5713. if not TrailDeb then break end
  5714. local New = Handle2.CFrame.p
  5715. local Mag =(Old -New).magnitude
  5716. local Dis =(Old +New)/2
  5717. local Trail = Instance.new("Part",Character)
  5718. Trail.Material = "Neon"
  5719. Trail.Anchored = true
  5720. Trail.CanCollide = false
  5721. Trail.BrickColor = TorsoColor
  5722. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5723. Trail.TopSurface = 0
  5724. Trail.BottomSurface = 0
  5725. Trail.formFactor = "Custom"
  5726. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5727. local ms = Instance.new("BlockMesh",Trail)
  5728. ms.Scale = Vector3.new(1,1,1)
  5729. local TM = Instance.new("CylinderMesh",Trail)
  5730. TM.Scale = Vector3.new(1,1,1)
  5731. Old = New
  5732. coroutine.wrap(function()
  5733. for i = 1,0,-0.1 do
  5734. wait()
  5735. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5736. end
  5737. Trail:remove()
  5738. end)()
  5739. coroutine.wrap(function()
  5740. for i = 1,10 do
  5741. wait()
  5742. Trail.Transparency = Trail.Transparency +0.1
  5743. end end)()end end)()
  5744. coroutine.wrap(function()
  5745. local Old = Handle.CFrame.p
  5746. while wait()do
  5747. if not TrailDeb then break end
  5748. local New = Handle.CFrame.p
  5749. local Mag =(Old -New).magnitude
  5750. local Dis =(Old +New)/2
  5751. local Trail = Instance.new("Part",Character)
  5752. Trail.Material = "Neon"
  5753. Trail.Anchored = true
  5754. Trail.CanCollide = false
  5755. Trail.BrickColor = TorsoColor
  5756. Trail.Size = Vector3.new(0.2,Mag,0.2)
  5757. Trail.TopSurface = 0
  5758. Trail.BottomSurface = 0
  5759. Trail.formFactor = "Custom"
  5760. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  5761. local ms = Instance.new("BlockMesh",Trail)
  5762. ms.Scale = Vector3.new(1,1,1)
  5763. local TM = Instance.new("CylinderMesh",Trail)
  5764. TM.Scale = Vector3.new(1,1,1)
  5765. Old = New
  5766. coroutine.wrap(function()
  5767. for i = 1,0,-0.1 do
  5768. wait()
  5769. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  5770. end
  5771. Trail:remove()
  5772. end)()
  5773. coroutine.wrap(function()
  5774. for i = 1,10 do
  5775. wait()
  5776. Trail.Transparency = Trail.Transparency +0.1
  5777. end end)()end end)()
  5778. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5779. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  5780. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  5781. for i=0,1,0.08 do
  5782. swait()
  5783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5785. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5786. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  5787. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  5788. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  5789. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  5790. end
  5791. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  5792. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5793. for i=0,1,0.08 do
  5794. swait()
  5795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5797. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5798. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  5799. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  5800. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  5801. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  5802. end
  5803. --dmgstop()
  5804. attack=false
  5805. con1:disconnect()
  5806. con2:disconnect()
  5807. if TrailDeb == true then
  5808. TrailDeb = false
  5809. end
  5810. end
  5811.  
  5812. function Hai()
  5813. attack=true
  5814. Humanoid.WalkSpeed=0
  5815. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  5816. for i=0,1,0.1 do
  5817. swait()
  5818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5819. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5820. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5821. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5822. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5823. 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)
  5824. 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)
  5825. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5826. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5827. end
  5828. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5829. for i=0,1,0.1 do
  5830. swait()
  5831. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5832. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5833. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5834. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5835. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5836. 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)
  5837. 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)
  5838. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  5839. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5840. end
  5841. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5842. for i=0,1,0.1 do
  5843. swait()
  5844. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5846. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5847. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5848. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5849. 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)
  5850. 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)
  5851. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5852. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5853.  
  5854. end
  5855. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  5856. for i=0,1,0.1 do
  5857. swait()
  5858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5860. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5861. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  5862. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5863. 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)
  5864. 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)
  5865. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  5866. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5867. end
  5868. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  5869. for i=0,1,0.1 do
  5870. swait()
  5871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  5873. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5874. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  5875. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  5876. 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)
  5877. 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)
  5878. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  5879. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  5880. end
  5881. --dmgstop()
  5882. Humanoid.WalkSpeed=12
  5883. attack=false
  5884. end
  5885.  
  5886. function Die()
  5887. attack=true
  5888. Footsteps:Stop()
  5889. Footsteps2:Stop()
  5890. local Fire = it("Sound",Character.Torso)
  5891. Fire.SoundId = "rbxassetid://192104941"
  5892. Fire.Looped = true
  5893. Fire.Pitch = 1
  5894. Fire.Volume = 1
  5895. local Fire2 = it("Sound",Handle2)
  5896. Fire2.SoundId = "rbxassetid://192104941"
  5897. Fire2.Looped = true
  5898. Fire2.Pitch = 1
  5899. Fire2.Volume = 1
  5900. local Fire3 = it("Sound",Handle)
  5901. Fire3.SoundId = "rbxassetid://192104941"
  5902. Fire3.Looped = true
  5903. Fire3.Pitch = 1
  5904. Fire3.Volume = 1
  5905. local Fire4 = it("Sound",handle)
  5906. Fire4.SoundId = "rbxassetid://192104941"
  5907. Fire4.Looped = true
  5908. Fire4.Pitch = 1
  5909. Fire4.Volume = 1
  5910. local fire = Instance.new("ParticleEmitter", Character.Torso)
  5911. fire.Lifetime = NumberRange.new(0.5)
  5912. fire.Speed = NumberRange.new(1, 3)
  5913. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5914. fire.Rate = 0
  5915. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5916. fire.LightEmission = 0.6
  5917. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  5918. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5919. local fire2 = Instance.new("ParticleEmitter", Handle)
  5920. fire2.Lifetime = NumberRange.new(0.5)
  5921. fire2.Speed = NumberRange.new(1, 3)
  5922. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5923. fire2.Rate = 0
  5924. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5925. fire2.LightEmission = 0.6
  5926. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  5927. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5928. local fire3 = Instance.new("ParticleEmitter", Handle2)
  5929. fire3.Lifetime = NumberRange.new(0.5)
  5930. fire3.Speed = NumberRange.new(1, 3)
  5931. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  5932. fire3.Rate = 0
  5933. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5934. fire3.LightEmission = 0.6
  5935. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  5936. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5937. local fire4 = Instance.new("ParticleEmitter", handle)
  5938. fire4.Lifetime = NumberRange.new(0.5)
  5939. fire4.Speed = NumberRange.new(1, 3)
  5940. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  5941. fire4.Rate = 0
  5942. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  5943. fire4.LightEmission = 0.6
  5944. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  5945. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  5946. Humanoid.WalkSpeed = 0
  5947. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  5948. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  5949. for i=0,1,0.08 do
  5950. swait()
  5951. Torso.Velocity=RootPart.CFrame.lookVector*-30
  5952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  5953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  5954. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5955. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5956. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  5957. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  5958. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  5959. 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)
  5960. 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)
  5961. end
  5962. for i=0,1,0.005 do
  5963. swait()
  5964. moosick.Volume=1-2*i
  5965. light.Range=15-10*i
  5966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5968. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5969. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5970. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5971. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5972. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5973. 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)
  5974. 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)
  5975. end
  5976. light.Range=0
  5977. for i=0,1,0.01 do
  5978. swait()
  5979. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  5980. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  5981. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  5982. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  5983. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5984. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  5985. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5986. 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)
  5987. 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)
  5988. end
  5989. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  5990. fire.Rate = 1000
  5991. fire2.Rate = 1000
  5992. fire3.Rate = 1000
  5993. fire4.Rate = 1000
  5994. Fire:Play()
  5995. Fire2:Play()
  5996. Fire3:Play()
  5997. Fire4:Play()
  5998. for i=0,1,0.005 do
  5999. swait()
  6000. Character.Head.face.Transparency = 0+1*i
  6001. LeftArm.Transparency=0+1*i
  6002. RightArm.Transparency=0+1*i
  6003. LeftLeg.Transparency=0+1*i
  6004. RightLeg.Transparency=0+1*i
  6005. Head.Transparency=0+1*i
  6006. Torso.Transparency=0+1*i
  6007. for _,v in pairs(Character:children()) do
  6008. if v:IsA("Hat") then
  6009. v.Handle.Transparency = 0+1*i
  6010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  6011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  6012. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  6013. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  6014. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6015. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  6016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  6017. 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)
  6018. 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)
  6019. end
  6020. end
  6021. --dmgstop()
  6022. end
  6023. Humanoid.Health = 0
  6024. end
  6025.  
  6026. equipanim()
  6027.  
  6028. local sine = 0
  6029. local change = 1
  6030. local val = 0
  6031.  
  6032. local mananum=0
  6033. while true do
  6034. swait()
  6035. sine = sine + change
  6036. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6037. local velderp=RootPart.Velocity.y
  6038. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6039. if equipped==true or equipped==false then
  6040. if Anim=="Idle" and attack==false then
  6041. idle=idle+1
  6042. else
  6043. idle=0
  6044. end
  6045. if Humanoid.Health <=20 then
  6046. if attack == false then
  6047. Humanoid.Health = math.huge
  6048. Die()
  6049. end
  6050. end
  6051. if idle>=1000 then
  6052. if attack==false then
  6053. --Sheath()
  6054. end
  6055. end
  6056. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6057. Anim="Jump"
  6058. if attack==false then
  6059. Footsteps:Stop()
  6060. Footsteps2:Stop()
  6061. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  6062. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6063. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  6064. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  6065. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6066. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  6067. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6068. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  6069. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  6070. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  6071. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  6072. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  6073. end
  6074. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6075. Anim="Fall"
  6076. if attack==false then
  6077. Footsteps:Stop()
  6078. Footsteps2:Stop()
  6079. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  6080. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6081. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  6082. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  6083. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6084. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  6085. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  6086. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  6087. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  6088. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6089. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  6090. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  6091. end
  6092. elseif torvel<1 and hitfloor~=nil then
  6093. Anim="Idle"
  6094. change=0.5
  6095. if idle>=1000 then
  6096. if attack==false then
  6097. Footsteps:Stop()
  6098. Footsteps2:Stop()
  6099. Humanoid.WalkSpeed=12
  6100. 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)
  6101. 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)
  6102. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  6103. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  6104. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  6105. 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)
  6106. 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)
  6107. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6108. 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)
  6109. 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)
  6110. end
  6111. else
  6112. if attack==false then
  6113. Footsteps:Stop()
  6114. Footsteps2:Stop()
  6115. Humanoid.WalkSpeed=12
  6116. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  6117. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  6118. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6119. 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)
  6120. 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)
  6121. 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)
  6122. 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)
  6123. 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)
  6124. 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)
  6125. 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)
  6126. end
  6127. end
  6128. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6129. Anim="Walk"
  6130. if attack==false then
  6131. change=0.8
  6132. --[[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)
  6133. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  6134. 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)
  6135. 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)
  6136. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  6137. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  6138. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6139. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  6140. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  6141. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  6142. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  6143. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  6144. RH.C0=clerp(RH.C0,RHC0,.3)
  6145. LH.C0=clerp(LH.C0,LHC0,.3)
  6146. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6147. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6148. ]]--
  6149. Footsteps:Play()
  6150. Footsteps2:Stop()
  6151. 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)
  6152. 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)
  6153. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6154. 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)
  6155. 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)
  6156. 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)
  6157. 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)
  6158. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6159. 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)
  6160. 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)
  6161. end
  6162. elseif torvel>=22 and hitfloor~=nil then
  6163. Anim="Run"
  6164. change=1
  6165. if attack==false then
  6166. Footsteps:Stop()
  6167. Footsteps2:Play()
  6168. 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)
  6169. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  6170. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  6171. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  6172. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  6173. 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)
  6174. 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)
  6175. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  6176. 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)
  6177. 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)
  6178. end
  6179. end
  6180. end
  6181. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  6182. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  6183. if mana>=100 then
  6184. mana=100
  6185. else
  6186. if mananum<=8 then
  6187. mananum=mananum+1
  6188. else
  6189. mananum=0
  6190. mana=mana+1
  6191. end
  6192. end
  6193. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement