Advertisement
WagnerJunio07

Faming Shyte FE

May 9th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.50 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. p = owner
  88. if p.Name ~= "the770zone" then
  89. print'Owner Access!'
  90. end
  91. if p.Name == "the770zone" then
  92. char = p.Character
  93. torso = char.Torso
  94. neck = char.Torso.Neck
  95.  
  96. Player=owner
  97. Character=Player.Character
  98. PlayerGui=Player.PlayerGui
  99. Backpack=Player.Backpack
  100. Torso=Character.Torso
  101. Head=Character.Head
  102. Humanoid=Character.Humanoid
  103. LeftArm=Character["Left Arm"]
  104. LeftLeg=Character["Left Leg"]
  105. RightArm=Character["Right Arm"]
  106. RightLeg=Character["Right Leg"]
  107. cam=game.Workspace.CurrentCamera
  108. LS=Torso["Left Shoulder"]
  109. LH=Torso["Left Hip"]
  110. RS=Torso["Right Shoulder"]
  111. RH=Torso["Right Hip"]
  112. Face = Head.face
  113. Neck=Torso.Neck
  114. it=Instance.new
  115. attacktype=1
  116. vt=Vector3.new
  117. cf=CFrame.new
  118. euler=CFrame.fromEulerAnglesXYZ
  119. angles=CFrame.Angles
  120. cloaked=false
  121. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  122. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  123. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  124. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  125. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  126. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  127. RootPart=Character.HumanoidRootPart
  128. RootJoint=RootPart.RootJoint
  129. RootCF=euler(-1.57,0,3.14)
  130. attack = false
  131. bounce=false
  132. cooldown=false
  133. deeznuts=false
  134. attackdebounce = false
  135. deb=false
  136. equipped=true
  137. hand=false
  138. MMouse=nil
  139. combo=0
  140. mana=0
  141. trispeed=.2
  142. attackmode='none'
  143. local idle=0
  144. local Anim="Idle"
  145. local Effects={}
  146. local gun=false
  147. local shoot=false
  148. player=nil
  149. mana=0
  150. cam = workspace.CurrentCamera
  151. ZTarget = nil
  152. RocketTarget = nil
  153. local m = Instance.new("Model",Character)
  154. m.Name = "WeaponModel"
  155.  
  156. --save shoulders
  157. RSH, LSH=nil, nil
  158. --welds
  159. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  160. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  161. LH=Torso["Left Hip"]
  162. RH=Torso["Right Hip"]
  163. TorsoColor=Torso.BrickColor
  164. function NoOutline(Part)
  165. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  166. end
  167. player=Player
  168. ch=Character
  169. RSH=ch.Torso["Right Shoulder"]
  170. LSH=ch.Torso["Left Shoulder"]
  171. --
  172. RSH.Parent=nil
  173. LSH.Parent=nil
  174. --
  175. RW.Name="Right Shoulder"
  176. RW.Part0=ch.Torso
  177. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  178. RW.C1=cf(0, 0.5, 0)
  179. RW.Part1=ch["Right Arm"]
  180. RW.Parent=ch.Torso
  181. --
  182. LW.Name="Left Shoulder"
  183. LW.Part0=ch.Torso
  184. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  185. LW.C1=cf(0, 0.5, 0)
  186. LW.Part1=ch["Left Arm"]
  187. LW.Parent=ch.Torso
  188.  
  189. function swait(num)
  190. if num==0 or num==nil then
  191. game:service'RunService'.Heartbeat:wait(0)
  192. else
  193. for i=0,num do
  194. game:service'RunService'.Heartbeat:wait(0)
  195. end
  196. end
  197. end
  198.  
  199.  
  200. local Player = owner
  201. local Character = Player.Character
  202. local red = 255
  203. local green = 255
  204. local blue = 255
  205. local Humanoid = Character.Humanoid
  206. local m = Instance.new("Model", Character)
  207. m.Name = "WeaponModel"
  208. local LeftArm = Character["Left Arm"]
  209. local RightArm = Character["Right Arm"]
  210. local LeftLeg = Character["Left Leg"]
  211. local RightLeg = Character["Right Leg"]
  212. local Head = Character.Head
  213. local Torso = Character.Torso
  214. local cam = game.Workspace.CurrentCamera
  215. local RootPart = Character.HumanoidRootPart
  216. local RootJoint = RootPart.RootJoint
  217. local equipped = false
  218. local attack = false
  219. local Anim = "Idle"
  220. local idle = 0
  221. local attacktype = 1
  222. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  223. local velocity = RootPart.Velocity.y
  224. local sine = 0
  225. local change = 1
  226. local grabbed = false
  227. local cn = CFrame.new
  228. local mr = math.rad
  229. local angles = CFrame.Angles
  230. local ud = UDim2.new
  231. local c3 = Color3.new
  232. local lim = 0
  233. local st = 0
  234. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  235. local attacktype = 1
  236. local ZTarget, RocketTarget = nil, nil
  237. local euler = CFrame.fromEulerAnglesXYZ
  238. function clerp(a,b,t)
  239. local qa = {QuaternionFromCFrame(a)}
  240. local qb = {QuaternionFromCFrame(b)}
  241. local ax, ay, az = a.x, a.y, a.z
  242. local bx, by, bz = b.x, b.y, b.z
  243. local _t = 1-t
  244. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  245. end
  246.  
  247. function QuaternionFromCFrame(cf)
  248. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  249. local trace = m00 + m11 + m22
  250. if trace > 0 then
  251. local s = math.sqrt(1 + trace)
  252. local recip = 0.5/s
  253. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  254. else
  255. local i = 0
  256. if m11 > m00 then
  257. i = 1
  258. end
  259. if m22 > (i == 0 and m00 or m11) then
  260. i = 2
  261. end
  262. if i == 0 then
  263. local s = math.sqrt(m00-m11-m22+1)
  264. local recip = 0.5/s
  265. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  266. elseif i == 1 then
  267. local s = math.sqrt(m11-m22-m00+1)
  268. local recip = 0.5/s
  269. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  270. elseif i == 2 then
  271. local s = math.sqrt(m22-m00-m11+1)
  272. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  273. end
  274. end
  275. end
  276.  
  277. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  278. local xs, ys, zs = x + x, y + y, z + z
  279. local wx, wy, wz = w*xs, w*ys, w*zs
  280. local xx = x*xs
  281. local xy = x*ys
  282. local xz = x*zs
  283. local yy = y*ys
  284. local yz = y*zs
  285. local zz = z*zs
  286. 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))
  287. end
  288.  
  289. function QuaternionSlerp(a, b, t)
  290. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  291. local startInterp, finishInterp;
  292. if cosTheta >= 0.0001 then
  293. if (1 - cosTheta) > 0.0001 then
  294. local theta = math.acos(cosTheta)
  295. local invSinTheta = 1/math.sin(theta)
  296. startInterp = math.sin((1-t)*theta)*invSinTheta
  297. finishInterp = math.sin(t*theta)*invSinTheta
  298. else
  299. startInterp = 1-t
  300. finishInterp = t
  301. end
  302. else
  303. if (1+cosTheta) > 0.0001 then
  304. local theta = math.acos(-cosTheta)
  305. local invSinTheta = 1/math.sin(theta)
  306. startInterp = math.sin((t-1)*theta)*invSinTheta
  307. finishInterp = math.sin(t*theta)*invSinTheta
  308. else
  309. startInterp = t-1
  310. finishInterp = t
  311. end
  312. end
  313. 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
  314. end
  315. rayCast = function(Position, Direction, Range, Ignore)
  316. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  317. end
  318. local v = owner
  319. local torso = v.Character.Torso
  320.  
  321. plr = owner
  322. char = owner.Character
  323. hum = owner.Character.Humanoid
  324. t = owner.Character.Torso
  325. h = owner.Character.Head
  326. ra = owner.Character["Right Arm"]
  327. la = owner.Character["Left Arm"]
  328. rl = owner.Character["Right Leg"]
  329. ll = owner.Character["Left Leg"]
  330. tors = Character.Torso
  331. lleg = Character["Left Leg"]
  332. root = Character.HumanoidRootPart
  333. hed = Character.Head
  334. rleg = Character["Right Leg"]
  335. rarm = Character["Right Arm"]
  336. larm = Character["Left Arm"]
  337. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  338. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  339. local Effects = {}
  340. attack = false
  341. local attacking = false
  342. vt = Vector3.new
  343. bc = BrickColor.new
  344. br = BrickColor.random
  345. it = Instance.new
  346. cf = CFrame.new
  347. euler = CFrame.fromEulerAnglesXYZ
  348. angles = CFrame.Angles
  349. matr = math.random
  350. local colororg = BrickColor.new("Dark indigo") -- set color u like
  351. local meshtype = "Sphere" -- only for specialmesh
  352.  
  353.  
  354. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  355. if hit.Parent==nil then
  356. return
  357. end
  358. h=hit.Parent:FindFirstChild("Humanoid")
  359. for _,v in pairs(hit.Parent:children()) do
  360. if v:IsA("Humanoid") then
  361. h=v
  362. end
  363. end
  364. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  365. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  366. end
  367. if hit.Parent.className=="Hat" then
  368. hit=hit.Parent.Parent:findFirstChild("Head")
  369. end
  370. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  371. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  372. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  373. return
  374. end]]
  375. -- hs(hit,1.2)
  376. c=Instance.new("ObjectValue")
  377. c.Name="creator"
  378. c.Value=owner
  379. c.Parent=h
  380. game:GetService("Debris"):AddItem(c,.5)
  381. Damage=math.random(minim,maxim)
  382. -- h:TakeDamage(Damage)
  383. blocked=false
  384. block=hit.Parent:findFirstChild("Block")
  385. if block~=nil then
  386. print(block.className)
  387. if block.className=="NumberValue" then
  388. if block.Value>0 then
  389. blocked=true
  390. if decreaseblock==nil then
  391. block.Value=block.Value-1
  392. end
  393. end
  394. end
  395. if block.className=="IntValue" then
  396. if block.Value>0 then
  397. blocked=true
  398. if decreaseblock~=nil then
  399. block.Value=block.Value-1
  400. end
  401. end
  402. end
  403. end
  404. if blocked==false then
  405. -- h:TakeDamage(Damage)
  406. h.Health=h.Health-Damage
  407. showDamage(hit.Parent,Damage,3,TorsoColor)
  408. else
  409. h.Health=h.Health-(Damage/2)
  410. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
  411. end
  412. if Type=="Knockdown" then
  413. hum=hit.Parent.Humanoid
  414. hum.PlatformStand=true
  415. coroutine.resume(coroutine.create(function(HHumanoid)
  416. swait(1)
  417. HHumanoid.PlatformStand=false
  418. end),hum)
  419. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  420. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  421. local bodvol=Instance.new("BodyVelocity")
  422. bodvol.velocity=angle*knockback
  423. bodvol.P=5000
  424. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  425. bodvol.Parent=hit
  426. rl=Instance.new("BodyAngularVelocity")
  427. rl.P=3000
  428. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  429. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  430. rl.Parent=hit
  431. game:GetService("Debris"):AddItem(bodvol,.5)
  432. game:GetService("Debris"):AddItem(rl,.5)
  433. elseif Type=="Normal" then
  434. vp=Instance.new("BodyVelocity")
  435. vp.P=500
  436. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  437. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  438. if KnockbackType==1 then
  439. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  440. elseif KnockbackType==2 then
  441. vp.velocity=Property.CFrame.lookVector*knockback
  442. end
  443. if knockback>0 then
  444. vp.Parent=hit.Parent.Torso
  445. end
  446. game:GetService("Debris"):AddItem(vp,.5)
  447. elseif Type=="Up" then
  448. local bodyVelocity=Instance.new("BodyVelocity")
  449. bodyVelocity.velocity=vt(0,10,0)
  450. bodyVelocity.P=1000
  451. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  452. bodyVelocity.Parent=hit
  453. game:GetService("Debris"):AddItem(bodyVelocity,1)
  454. rl=Instance.new("BodyAngularVelocity")
  455. rl.P=3000
  456. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  457. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  458. rl.Parent=hit
  459. game:GetService("Debris"):AddItem(rl,.5)
  460. elseif Type=="Snare" then
  461. bp=Instance.new("BodyPosition")
  462. bp.P=2000
  463. bp.D=100
  464. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  465. bp.position=hit.Parent.Torso.Position
  466. bp.Parent=hit.Parent.Torso
  467. game:GetService("Debris"):AddItem(bp,1)
  468. elseif Type=="Target" then
  469. if Targetting==false then
  470. ZTarget=hit.Parent.Torso
  471. coroutine.resume(coroutine.create(function(Part)
  472. swait(5)
  473. end),ZTarget)
  474. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  475. targetgui=Instance.new("BillboardGui")
  476. targetgui.Parent=ZTarget
  477. targetgui.Size=UDim2.new(10,100,10,100)
  478. targ=Instance.new("ImageLabel")
  479. targ.Parent=targetgui
  480. targ.BackgroundTransparency=1
  481. targ.Image="rbxassetid://4834067"
  482. targ.Size=UDim2.new(1,0,1,0)
  483. cam.CameraType="Scriptable"
  484. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  485. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  486. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  487. Targetting=true
  488. RocketTarget=ZTarget
  489. for i=1,Property do
  490. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  491. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  492. swait()
  493. end
  494. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  495. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  496. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  497. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  498. end
  499. Targetting=false
  500. RocketTarget=nil
  501. targetgui.Parent=nil
  502. cam.CameraType="Custom"
  503. end
  504. end
  505. debounce=Instance.new("BoolValue")
  506. debounce.Name="DebounceHit"
  507. debounce.Parent=hit.Parent
  508. debounce.Value=true
  509. game:GetService("Debris"):AddItem(debounce,Delay)
  510. c=Instance.new("ObjectValue")
  511. c.Name="creator"
  512. c.Value=Player
  513. c.Parent=h
  514. game:GetService("Debris"):AddItem(c,.5)
  515. CRIT=false
  516. hitDeb=true
  517. AttackPos=6
  518. end
  519. end
  520.  
  521. showDamage=function(Char,Dealt,du,Color)
  522. m=Instance.new("Model")
  523. m.Name=""
  524. h=Instance.new("Humanoid")
  525. h.Health=0
  526. h.MaxHealth=0
  527. h.Parent=m
  528. c=Instance.new("Part")
  529. c.Transparency=0
  530. c.Material = "Neon"
  531. c.BrickColor=bc("Bright red")
  532. c.Name="Head"
  533. c.TopSurface=0
  534. c.BottomSurface=0
  535. CV="Hot pink"
  536.  
  537. local txt = Instance.new("BillboardGui", c)
  538. txt.Adornee = c
  539. txt.Name = "_status"
  540. txt.Size = UDim2.new(2, 0, 1.2, 0)
  541. txt.StudsOffset = Vector3.new(-9, 8, 0)
  542. local text = Instance.new("TextLabel", txt)
  543. text.Size = UDim2.new(10, 0, 7, 0)
  544. text.FontSize = "Size24"
  545. text.TextScaled = true
  546. text.TextTransparency = 0
  547. text.BackgroundTransparency = 1
  548. text.TextTransparency = 0
  549. text.TextStrokeTransparency = 0
  550. if Dealt < 12 then
  551. text.Font = "Highway"
  552. elseif Dealt < 20 then
  553. text.Font = "SourceSansBold"
  554. elseif Dealt >= 20 then
  555. text.Font = "Fantasy"
  556. end
  557. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  558. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  559. v=Instance.new("Part")
  560. v.Name = "ColorBrick"
  561. v.Parent=c
  562. v.FormFactor="Symmetric"
  563. v.Anchored=true
  564. v.CanCollide=false
  565. v.BottomSurface="Smooth"
  566. v.TopSurface="Smooth"
  567. v.Size=Vector3.new(10,5,3)
  568. v.Transparency=1
  569. v.CFrame=c.CFrame
  570. v.BrickColor=BrickColor.new(CV)
  571. v.Transparency=1
  572. if Dealt < 12 then
  573. text.TextColor3 = BrickColor.new("White").Color
  574. elseif Dealt < 20 then
  575. text.TextColor3 = BrickColor.new("Bright yellow").Color
  576. elseif Dealt >= 20 then
  577. text.TextColor3 = BrickColor.new("Really red").Color
  578. end
  579. v.Shape="Block"
  580. text.Text = tostring(Dealt).. "!"
  581. local dam = Instance.new("Sound",c)
  582. local rndm=math.random(1,#hitsounds)
  583. local r=rndm
  584. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  585. dam.Volume = 1.25
  586. dam.Pitch = 1
  587. dam:Play()
  588. c.formFactor="Plate"
  589. c.Transparency = 0.99
  590. c.Size=Vector3.new(1,.4,1)
  591. ms=Instance.new("CylinderMesh")
  592. ms.Scale=Vector3.new(.8,.8,.8)
  593. if CRIT==true then
  594. ms.Scale=Vector3.new(1,1.25,1)
  595. end
  596. ms.Parent=c
  597. c.Reflectance=0
  598. Instance.new("BodyGyro").Parent=c
  599. c.Parent=m
  600. if Char:findFirstChild("Head")~=nil then
  601. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  602. elseif Char.Parent:findFirstChild("Head")~=nil then
  603. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  604. end
  605. f=Instance.new("BodyPosition")
  606. f.P=2000
  607. f.D=100
  608. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  609. f.position=c.Position+Vector3.new(0,3,0)
  610. f.Parent=c
  611. game:GetService("Debris"):AddItem(m,.5+du)
  612. c.CanCollide=false
  613. m.Parent=workspace
  614. c.CanCollide=false
  615. wait(1)
  616. for l = 0, 9 do
  617. text.TextTransparency = text.TextTransparency + 0.1
  618. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  619. wait()
  620. end
  621. end
  622.  
  623. ---------------- Weapon model
  624.  
  625. local handle = Instance.new("Part")
  626. handle.Parent = Character
  627. handle.Size = Vector3.new(0.225, 0.225, 0.225)
  628. handle.Archivable = true
  629. handle.Transparency = 0
  630. handle.BrickColor = BrickColor.new("Really red")
  631. handle.Material = "Neon"
  632. local handlmesh = Instance.new("BlockMesh",handle)
  633. handlmesh.Scale = Vector3.new(0.75,0.75,32.5)
  634. local weld1 = Instance.new("Weld")
  635. weld1.Parent = handle
  636. weld1.Part0 = rarm
  637. weld1.Part1 = handle
  638. weld1.C1 = CFrame.new(0, 1, 0.25*1.5)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0))
  639. local handle2 = Instance.new("Part")
  640. handle2.Parent = Character
  641. handle2.Size = Vector3.new(0.3, 0.3, 0.75)
  642. handle2.Archivable = true
  643. handle2.Transparency = 0
  644. handle2.BrickColor = BrickColor.new("Really red")
  645. handle2.Material = "Neon"
  646. local weld12 = Instance.new("Weld")
  647. weld12.Parent = handle2
  648. weld12.Part0 = rarm
  649. weld12.Part1 = handle2
  650. weld12.C1 = CFrame.new(0, 1, -2.5*1.45)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0))
  651. local handle3 = Instance.new("Part")
  652. handle3.Parent = Character
  653. handle3.Size = Vector3.new(0.275, 0.275, 0.75)
  654. handle3.Archivable = true
  655. handle3.Transparency = 0
  656. handle3.BrickColor = BrickColor.new("Really red")
  657. handle3.Material = "Neon"
  658. local weld13 = Instance.new("Weld")
  659. weld13.Parent = handle3
  660. weld13.Part0 = rarm
  661. weld13.Part1 = handle3
  662. weld13.C1 = CFrame.new(0, 1, 2.5*1.5)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0))
  663. local blade = Instance.new("Part")
  664. blade.Parent = Character
  665. blade.Size = Vector3.new(0.2, 0.2, 0.2)
  666. blade.Archivable = true
  667. blade.Transparency = 0
  668. blade.CanCollide = false
  669. blade.BrickColor = BrickColor.new("Really red")
  670. blade.Material = "Neon"
  671. local msh = Instance.new("SpecialMesh",blade)
  672. msh.Scale = vt(0.25,1.25*5,3*5)
  673. msh.MeshType = "Wedge"
  674. local weld1a = Instance.new("Weld")
  675. weld1a.Parent = blade
  676. weld1a.Part0 = rarm
  677. weld1a.Part1 = blade
  678. weld1a.C1 = CFrame.new(0, -3.05, 2.65)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0))
  679. local bladeefo = Instance.new("ParticleEmitter",blade)
  680. bladeefo.Texture = "http://www.roblox.com/asset/?id=296874871"
  681. bladeefo.LightEmission = 1
  682. bladeefo.LockedToPart = true
  683. bladeefo.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  684. bladeefo.Rate = 900
  685. bladeefo.VelocitySpread = 900000000000
  686. bladeefo.Lifetime = NumberRange.new(0.25)
  687. bladeefo.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.25,0),NumberSequenceKeypoint.new(1,0,0)})
  688. bladeefo.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.85,0)})
  689. bladeefo.Rotation = NumberRange.new(-500,500)
  690. bladeefo.RotSpeed = NumberRange.new(-500,500)
  691. bladeefo.Speed = NumberRange.new(5,7.5)
  692.  
  693. local bld2 = blade:Clone()
  694. bld2.Parent = Character
  695. local bld2eff = bld2.ParticleEmitter
  696. local weld2a = bld2.Weld
  697. weld2a.C1 = CFrame.new(0, -3.55, 3.15)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(0))
  698. local bld3 = blade:Clone()
  699. bld3.Parent = Character
  700. local bld3eff = bld3.ParticleEmitter
  701. local weld3a = bld3.Weld
  702. weld3a.C1 = CFrame.new(0, -4.05, 3.65)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(0))
  703. local bld4 = blade:Clone()
  704. bld4.Parent = Character
  705. local bld4eff = bld4.ParticleEmitter
  706. local weld4a = bld4.Weld
  707. weld4a.C1 = CFrame.new(0, -4.55, 4.15)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  708. ----- lol
  709. handle.CanCollide = false
  710. handle2.CanCollide = false
  711. handle3.CanCollide = false
  712. ----
  713.  
  714. function attackone()
  715. attack = true
  716. for i = 0,1,0.1 do
  717. swait()
  718. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  719. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  720. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(10)), 0.3)
  721. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  722. end
  723. wait(0.15)
  724. local slas = Instance.new("Sound",blade)
  725. slas.SoundId = "rbxassetid://92597296"
  726. slas.Volume = 2.5
  727. slas.Pitch = 0.74
  728. slas:Play()
  729. local slas2 = Instance.new("Sound",blade)
  730. slas2.SoundId = "rbxassetid://92597369"
  731. slas2.Volume = 1.5
  732. slas2.Pitch = 0.5
  733. slas2:Play()
  734. local hit = blade.Touched:connect(function(hit)
  735. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  736. end)
  737. local hit2 = bld2.Touched:connect(function(hit)
  738. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  739. end)
  740. local hit3 = bld3.Touched:connect(function(hit)
  741. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  742. end)
  743. local hit4 = bld4.Touched:connect(function(hit)
  744. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  745. end)
  746. for i = 0,1,0.1 do
  747. swait()
  748. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  749. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(180), math.rad(180), math.rad(-120)), 0.3)
  751. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  752. end
  753. attack = false
  754. hit:disconnect()
  755. hit2:disconnect()
  756. hit3:disconnect()
  757. hit4:disconnect()
  758. wait(3)
  759. slas:Destroy()
  760. slas2:Destroy()
  761. end
  762.  
  763. function attacktwo()
  764. attack = true
  765. for i = 0,1,0.1 do
  766. swait()
  767. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  768. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  769. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(-90), math.rad(10)), 0.3)
  770. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  771. end
  772. wait(0.15)
  773. local slas = Instance.new("Sound",blade)
  774. slas.SoundId = "rbxassetid://28144425"
  775. slas.Volume = 2.5
  776. slas.Pitch = 0.95
  777. slas:Play()
  778. local hit = blade.Touched:connect(function(hit)
  779. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  780. end)
  781. local hit2 = bld2.Touched:connect(function(hit)
  782. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  783. end)
  784. local hit3 = bld3.Touched:connect(function(hit)
  785. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  786. end)
  787. local hit4 = bld4.Touched:connect(function(hit)
  788. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  789. end)
  790. for i = 0,1,0.1 do
  791. swait()
  792. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  793. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  794. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  795. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  796. end
  797. attack = false
  798. hit:disconnect()
  799. hit2:disconnect()
  800. hit3:disconnect()
  801. hit4:disconnect()
  802. wait(3)
  803. slas:Destroy()
  804. end
  805.  
  806. function attackthree()
  807. attack = true
  808. local swin = Instance.new("Sound",blade)
  809. swin.SoundId = "rbxassetid://92597296"
  810. swin.Volume = 5
  811. swin.Pitch = 0.75
  812. swin:Play()
  813. for i = 0,1,0.1 do
  814. swait()
  815. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  816. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  817. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(-90), math.rad(10)), 0.3)
  818. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  819. end
  820. wait(0.15)
  821. local hit = blade.Touched:connect(function(hit)
  822. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  823. end)
  824. local hit2 = bld2.Touched:connect(function(hit)
  825. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  826. end)
  827. local hit3 = bld3.Touched:connect(function(hit)
  828. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  829. end)
  830. local hit4 = bld4.Touched:connect(function(hit)
  831. Damagefunc(hit,3,7,5,"Normal",root,.2,1)
  832. end)
  833. for z = 0,2 do
  834. local slas = Instance.new("Sound",blade)
  835. slas.SoundId = "rbxassetid://92597369"
  836. slas.Volume = 1.5
  837. slas.Pitch = 1
  838. slas:Play()
  839. local swin2 = Instance.new("Sound",blade)
  840. swin2.SoundId = "rbxassetid://92597296"
  841. swin2.Volume = 5
  842. swin2.Pitch = 1.25
  843. swin2:Play()
  844. local swin3 = Instance.new("Sound",blade)
  845. swin3.SoundId = "rbxassetid://92597296"
  846. swin3.Volume = 2.5
  847. swin3.Pitch = 0.95
  848. swin3:Play()
  849. for i = 0,1,0.5 do
  850. swait()
  851. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  852. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  853. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  854. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  855. end
  856. for i = 0,1,0.5 do
  857. swait()
  858. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(120)),.3)
  859. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  860. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  861. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  862. end
  863. for i = 0,1,0.5 do
  864. swait()
  865. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  866. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  867. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  868. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  869. end
  870. for i = 0,1,0.5 do
  871. swait()
  872. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(240)),.3)
  873. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  874. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  875. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  876. end
  877. for i = 0,1,0.5 do
  878. swait()
  879. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(300)),.3)
  880. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  881. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  882. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  883. end
  884. for i = 0,1,0.5 do
  885. swait()
  886. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(360)),.3)
  887. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  888. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.25) * angles(math.rad(0), math.rad(-90), math.rad(-90)), 0.3)
  889. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  890. end
  891. slas:Destroy()
  892. swin2:Destroy()
  893. swin3:Destroy()
  894. end
  895. attack = false
  896. hit:disconnect()
  897. hit2:disconnect()
  898. hit3:disconnect()
  899. hit4:disconnect()
  900. wait(3)
  901. end
  902.  
  903. function attackfour()
  904. attack = true
  905. for i = 0,1,0.1 do
  906. swait()
  907. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-100)),.3)
  908. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(100)),.3)
  909. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(-40), math.rad(10)), 0.3)
  910. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  911. end
  912. wait(0.05)
  913. local swin = Instance.new("Sound",blade)
  914. swin.SoundId = "rbxassetid://92597296"
  915. swin.Volume = 2.5
  916. swin.Pitch = 0.75
  917. swin:Play()
  918. for i = 0,1,0.1 do
  919. swait()
  920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  922. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(-40), math.rad(10)), 0.3)
  923. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  924. end
  925. local lb = Instance.new("Part")
  926. lb.Parent = char
  927. lb.Material = "Neon"
  928. lb.BrickColor = BrickColor.new("Really red")
  929. lb.CanCollide = false
  930. lb.Shape = "Ball"
  931. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  932. lb.CFrame = lb.CFrame - vt(0,0.5,0)
  933. lb.Anchored = true
  934. lb.Size = vt(3,3,3)
  935. local thing = Instance.new("SpecialMesh",lb)
  936. thing.MeshType = meshtype
  937. local hitcircle = lb.Touched:connect(function(hit)
  938. Damagefunc(hit,7,14,5,"Normal",root,.2,1)
  939. end)
  940. local sa = Instance.new("Sound",lb)
  941. sa.SoundId = "rbxassetid://233091205"
  942. sa.Volume = 1.25
  943. sa.Pitch = 1
  944. sa:Play()
  945. local tra = Instance.new("ParticleEmitter",lb)
  946. tra.Texture = "rbxassetid://296874871"
  947. tra.LightEmission = 0.95
  948. tra.Color = ColorSequence.new(lb.BrickColor.Color)
  949. tra.Rate = 1000
  950. tra.Lifetime = NumberRange.new(1)
  951. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  952. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  953. tra.Speed = NumberRange.new(10,25)
  954. tra.Rotation = NumberRange.new(-500,500)
  955. tra.VelocitySpread = 90000
  956. tra.RotSpeed = NumberRange.new(-500,500)
  957. for i = 0, 24 do
  958. wait()
  959. thing.Scale = thing.Scale + vt(0.1,0.1,0.1)
  960. lb.Size = lb.Size + vt(0.1,0.1,0.1)
  961. lb.Transparency = lb.Transparency + 0.05
  962. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  963. lb.CFrame = lb.CFrame - vt(0,0.5,0)
  964. end
  965. attack = false
  966. hitcircle:disconnect()
  967. tra.Rate = 0
  968. wait(5)
  969. lb:Destroy()
  970. swin:Destroy()
  971. end
  972.  
  973. local hold = false
  974. function do1()
  975. attack = true
  976. for i = 0,1,0.1 do
  977. swait()
  978. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  979. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  980. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(-40), math.rad(10)), 0.3)
  981. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(-10), math.rad(-90)), 0.3)
  982. end
  983. local lb = Instance.new("Part")
  984. lb.Parent = char
  985. lb.Material = "Neon"
  986. lb.BrickColor = BrickColor.new("Really red")
  987. lb.CanCollide = false
  988. lb.Shape = "Ball"
  989. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  990. lb.Anchored = true
  991. lb.Size = vt(0.2,0.2,0.2)
  992. local thing = Instance.new("SpecialMesh",lb)
  993. thing.MeshType = meshtype
  994. local tra = Instance.new("ParticleEmitter",lb)
  995. tra.Texture = "rbxassetid://296874871"
  996. tra.LightEmission = 0.95
  997. tra.Color = ColorSequence.new(lb.BrickColor.Color)
  998. tra.Rate = 1000
  999. tra.Lifetime = NumberRange.new(0.25)
  1000. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,12.5,0),NumberSequenceKeypoint.new(1,0,0)})
  1001. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.95,0)})
  1002. tra.Speed = NumberRange.new(0)
  1003. tra.Rotation = NumberRange.new(-500,500)
  1004. tra.VelocitySpread = 90000
  1005. tra.LockedToPart = true
  1006. tra.RotSpeed = NumberRange.new(-500,500)
  1007. local saz = Instance.new("Sound",lb)
  1008. saz.SoundId = "rbxassetid://192410062"
  1009. saz.Volume = 1.5
  1010. saz.Pitch = 1
  1011. saz:Play()
  1012. for i = 0, 24 do
  1013. wait()
  1014. lb.Size = lb.Size + vt(0.15,0.15,0.15)
  1015. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  1016. end
  1017. while wait() do
  1018. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  1019. if hold == false then
  1020. break
  1021. end
  1022. end
  1023. lb.Touched:connect(function(hit)
  1024. Damagefunc(hit,10,25,5,"Normal",root,.2,1)
  1025. end)
  1026. tra.Rate = 0
  1027. lb.Anchored = false
  1028. local sa = Instance.new("Sound",lb)
  1029. sa.SoundId = "rbxassetid://233091205"
  1030. sa.Volume = 1.25
  1031. sa.Pitch = 1
  1032. sa:Play()
  1033. local trail = Instance.new("ParticleEmitter",lb)
  1034. trail.Texture = "rbxassetid://296874871"
  1035. trail.LightEmission = 0.95
  1036. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1037. trail.Rate = 10000
  1038. trail.Lifetime = NumberRange.new(1.5)
  1039. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1040. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.95,0),NumberSequenceKeypoint.new(1,1,0)})
  1041. trail.Speed = NumberRange.new(0,0)
  1042. trail.Rotation = NumberRange.new(-500,500)
  1043. trail.RotSpeed = NumberRange.new(-500,500)
  1044. local bv = Instance.new("BodyVelocity")
  1045. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1046. bv.velocity = mouse.Hit.lookVector *100
  1047. bv.Parent = lb
  1048. wait(0.1)
  1049. attack = false
  1050. wait(10)
  1051. lb:Destroy()
  1052. end
  1053.  
  1054. function do2()
  1055. attack = true
  1056. for i = 0,1,0.1 do
  1057. swait()
  1058. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1059. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1060. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(90)), 0.3)
  1061. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1062. end
  1063. local touched = false
  1064. local over = false
  1065. local delay = false
  1066. local spart = Instance.new("Part",char)
  1067. local thing = Instance.new("SpecialMesh",spart)
  1068. thing.MeshType = meshtype
  1069. spart.Size = vt(1,1,1)
  1070. spart.Anchored = true
  1071. spart.BrickColor = BrickColor.new("Really red")
  1072. spart.Transparency = 0.5
  1073. spart.CanCollide = false
  1074. spart.Material = "Neon"
  1075. spart.CFrame = hed.CFrame + Vector3.new(0,-1,0)
  1076. local pt1e = NumberSequenceKeypoint.new(0,2,0)
  1077. local pt2e = NumberSequenceKeypoint.new(1,0.5,0)
  1078. local effecto = Instance.new("ParticleEmitter",spart)
  1079. effecto.Texture = "rbxassetid://296874871"
  1080. effecto.LightEmission = 1
  1081. effecto.LockedToPart = true
  1082. effecto.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1083. effecto.Rate = 10000
  1084. effecto.VelocitySpread = 900000000000
  1085. effecto.Lifetime = NumberRange.new(0.25)
  1086. effecto.Size = NumberSequence.new({pt1e,pt2e})
  1087. effecto.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1088. effecto.Speed = NumberRange.new(10,25)
  1089. effecto.Rotation = NumberRange.new(-500,500)
  1090. effecto.RotSpeed = NumberRange.new(-500,500)
  1091. spart.CFrame = tors.CFrame + Vector3.new(0,0.1,0)
  1092. local tick2 = Instance.new("Sound",spart)
  1093. tick2.SoundId = "rbxassetid://233091205"
  1094. tick2.Volume = 2.5
  1095. tick2.Pitch = 1
  1096. tick2:Play()
  1097. spart.CFrame = hed.CFrame + Vector3.new(0,-1,0)
  1098. spart.Anchored = false
  1099. spart.Size = vt(0.75,12.5,12.5)
  1100. spart.CFrame = hed.CFrame + Vector3.new(0,-1,0)
  1101. local bv = Instance.new("BodyVelocity")
  1102. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1103. bv.velocity = hed.CFrame.lookVector * 175
  1104. bv.Parent = spart
  1105. spart.Touched:connect(function(hit)
  1106. local saveposition = spart.CFrame
  1107. local effector2 = Instance.new("ParticleEmitter",spart)
  1108. effector2.Texture = "rbxassetid://296874871"
  1109. effector2.LightEmission = 1
  1110. effector2.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1111. effector2.Rate = 10000
  1112. effector2.Lifetime = NumberRange.new(0.25)
  1113. effector2.VelocitySpread = 999999999999999
  1114. effector2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1115. effector2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1116. effector2.Speed = NumberRange.new(50)
  1117. effector2.Rotation = NumberRange.new(-500,500)
  1118. effector2.RotSpeed = NumberRange.new(-500,500)
  1119. Damagefunc(hit,12,22,-20,"Normal",root,.2,1)
  1120. over = true
  1121. wait(0.25)
  1122. effector2.Rate = 0
  1123. wait(0.25)
  1124. effector2:Destroy()
  1125. end)
  1126. for i = 0,1,0.1 do
  1127. swait()
  1128. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1129. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1130. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(-90), math.rad(90)), 0.3)
  1131. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1132. end
  1133. attack = false
  1134. wait(5)
  1135. effecto.Rate = 0
  1136. wait(1.5)
  1137. spart:Destroy()
  1138. end
  1139.  
  1140. function do3()
  1141. attack = true
  1142. local lb = Instance.new("Part")
  1143. lb.Parent = char
  1144. lb.Material = "Neon"
  1145. lb.BrickColor = BrickColor.new("Really red")
  1146. lb.CanCollide = false
  1147. lb.Shape = "Ball"
  1148. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*5
  1149. lb.Anchored = true
  1150. lb.Size = vt(0.2,0.2,0.2)
  1151. local thing = Instance.new("SpecialMesh",lb)
  1152. thing.MeshType = meshtype
  1153. hum.WalkSpeed = 0
  1154. for i = 0,1,0.75 do
  1155. swait()
  1156. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1157. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1158. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1159. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1160. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1161. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1162. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1163. end
  1164. for i = 0,1,0.75 do
  1165. swait()
  1166. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1167. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1168. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1169. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1170. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1171. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(30), math.rad(90)), 0.3)
  1172. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1173. end
  1174. for i = 0,1,0.75 do
  1175. swait()
  1176. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1177. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1178. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1179. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1180. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1181. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(60), math.rad(30), math.rad(90)), 0.3)
  1182. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1183. end
  1184. for i = 0,1,0.75 do
  1185. swait()
  1186. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1187. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1188. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1189. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1190. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1191. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), 0.3)
  1192. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1193. end
  1194. for i = 0,1,0.75 do
  1195. swait()
  1196. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1197. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1198. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1199. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1200. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1201. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(120), math.rad(30), math.rad(90)), 0.3)
  1202. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1203. end
  1204. for i = 0,1,0.75 do
  1205. swait()
  1206. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1207. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1208. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1209. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1210. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1211. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(30), math.rad(90)), 0.3)
  1212. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1213. end
  1214. for i = 0,1,0.75 do
  1215. swait()
  1216. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1217. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1218. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1219. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1220. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1221. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(240), math.rad(30), math.rad(90)), 0.3)
  1222. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1223. end
  1224. for i = 0,1,0.75 do
  1225. swait()
  1226. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1227. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1228. thing.Scale = thing.Scale + vt(4.5,4.5,0)
  1229. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1230. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1231. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(300), math.rad(30), math.rad(90)), 0.3)
  1232. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1233. end
  1234. local touched = false
  1235. local rotationval = 1
  1236. local delay = false
  1237. local distance = 3.55
  1238. local spart = Instance.new("Part",t)
  1239. local tick4 = Instance.new("Sound",t)
  1240. tick4.SoundId = "rbxassetid://228343271"
  1241. tick4.Volume = 2.5
  1242. tick4.Pitch = 0.9
  1243. local tick2 = Instance.new("Sound",t)
  1244. tick2.SoundId = "rbxassetid://233091205"
  1245. tick2.Volume = 5
  1246. tick2.Pitch = 1
  1247. tick2:Play()
  1248. spart.Size = vt(10,10,1)
  1249. spart.BrickColor = BrickColor.new("Really red")
  1250. spart.Transparency = 0.35
  1251. spart.CanCollide = false
  1252. spart.Anchored = true
  1253. spart.Material = "Neon"
  1254. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  1255. wait(0.05)
  1256. spart.Touched:connect(function(hit)
  1257. local effector2 = Instance.new("ParticleEmitter",spart)
  1258. effector2.Texture = "http://www.roblox.com/asset/?id=296874871"
  1259. effector2.LightEmission = 1
  1260. effector2.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  1261. effector2.Rate = 10000
  1262. effector2.Lifetime = NumberRange.new(0.25)
  1263. effector2.VelocitySpread = 999999999999999
  1264. effector2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1265. effector2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1266. effector2.Speed = NumberRange.new(50)
  1267. effector2.Rotation = NumberRange.new(-500,500)
  1268. effector2.RotSpeed = NumberRange.new(-500,500)
  1269. Damagefunc(hit,5,15,-20,"Normal",root,.2,1)
  1270. wait(0.25)
  1271. effector2.Rate = 0
  1272. wait(0.25)
  1273. end)
  1274. tick4:Play()
  1275. for x = 0, 9 do
  1276. for i = 0,1,0.75 do
  1277. swait()
  1278. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1279. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1280. distance = distance + 1*5
  1281. rotationval = rotationval - 0.125
  1282. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1283. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1284. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1285. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1286. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1287. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  1288. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1289. end
  1290. for i = 0,1,0.75 do
  1291. swait()
  1292. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1293. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1294. distance = distance + 1*5
  1295. rotationval = rotationval - 0.125
  1296. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1297. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1298. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1299. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1300. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1301. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(30), math.rad(30), math.rad(90)), 0.3)
  1302. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1303. end
  1304. for i = 0,1,0.75 do
  1305. swait()
  1306. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1307. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1308. distance = distance + 1*5
  1309. rotationval = rotationval - 0.125
  1310. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1311. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1312. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1313. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1314. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1315. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(60), math.rad(30), math.rad(90)), 0.3)
  1316. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1317. end
  1318. for i = 0,1,0.75 do
  1319. swait()
  1320. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1321. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1322. distance = distance + 1*5
  1323. rotationval = rotationval - 0.125
  1324. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1325. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1326. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1327. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1328. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1329. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), 0.3)
  1330. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1331. end
  1332. for i = 0,1,0.75 do
  1333. swait()
  1334. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1335. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1336. distance = distance + 1*5
  1337. rotationval = rotationval - 0.125
  1338. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1339. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1340. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1341. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1342. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1343. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(120), math.rad(30), math.rad(90)), 0.3)
  1344. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1345. end
  1346. for i = 0,1,0.75 do
  1347. swait()
  1348. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1349. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1350. distance = distance + 1*5
  1351. rotationval = rotationval - 0.125
  1352. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1353. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1354. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1355. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1356. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1357. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(180), math.rad(30), math.rad(90)), 0.3)
  1358. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1359. end
  1360. for i = 0,1,0.75 do
  1361. swait()
  1362. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1363. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1364. distance = distance + 1*5
  1365. rotationval = rotationval - 0.125
  1366. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1367. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1368. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1369. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1370. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1371. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(240), math.rad(30), math.rad(90)), 0.3)
  1372. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1373. end
  1374. for i = 0,1,0.75 do
  1375. swait()
  1376. lb.CFrame = char.Head.CFrame + char.Head.CFrame.lookVector*3
  1377. lb.CFrame = lb.CFrame - vt(0,1.5,0)
  1378. distance = distance + 1*5
  1379. rotationval = rotationval - 0.125
  1380. spart.Size = spart.Size + Vector3.new(0,0,2*5)
  1381. spart.CFrame = hed.CFrame*CFrame.Angles(0,0,rotationval) + hed.CFrame.lookVector*distance
  1382. spart.CFrame = spart.CFrame + Vector3.new(0,-1.5,0)
  1383. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1384. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1385. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(300), math.rad(30), math.rad(90)), 0.3)
  1386. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1387. end
  1388. end
  1389. spart:Destroy()
  1390. hum.WalkSpeed = 16
  1391. attack = false
  1392. for i = 0, 24 do
  1393. lb.Transparency = lb.Transparency + 0.05
  1394. thing.Scale = thing.Scale - vt(4.5,4.5,0)
  1395. wait()
  1396. end
  1397. lb:Destroy()
  1398. end
  1399.  
  1400. function DeleteParent(parent)
  1401. for i,v in pairs(parent:children()) do
  1402. if v:IsA("Part") then
  1403. v:Destroy()
  1404. end
  1405. end
  1406. end
  1407.  
  1408.  
  1409. function do4()
  1410. hum.WalkSpeed = 0
  1411. attack = true
  1412. for i = 0,1,0.1 do
  1413. swait()
  1414. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1415. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1416. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1417. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.3)
  1418. end
  1419. local shur = Instance.new("Part",char)
  1420. local gahd = Instance.new("Sound",shur)
  1421. gahd.SoundId = "rbxassetid://136007472"
  1422. gahd.Volume = 2.5
  1423. gahd.Pitch = 0.7
  1424. gahd:Play()
  1425. shur.Transparency = 1
  1426. shur.Material = "Neon"
  1427. shur.BrickColor = bc("Bright red")
  1428. shur.Anchored = true
  1429. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  1430. shur.Size = vt(1,0.2,1)
  1431. shur.CanCollide = false
  1432. local dec = Instance.new("Decal",shur)
  1433. dec.Texture = "http://www.roblox.com/asset/?id=359972668"
  1434. dec.Face = "Top"
  1435. local dec2 = dec:Clone()
  1436. dec2.Parent = shur
  1437. dec2.Face = "Bottom"
  1438. local Meshshur = Instance.new("CylinderMesh",shur)
  1439. Meshshur.Scale = vt(0,1,0)
  1440. local value1 = 1*2.5
  1441.  
  1442. local savepoint = Instance.new("Part",lb)
  1443. savepoint.CFrame = lb.CFrame
  1444. savepoint.Transparency = 1
  1445. savepoint.CanCollide = false
  1446. savepoint.Anchored = true
  1447. for i = 0, 29 do
  1448. shur.CFrame = shur.CFrame*CFrame.Angles(0,0.05,0)
  1449. lb.CFrame = savepoint.CFrame
  1450. lb.Size = lb.Size - vt(0.75,0.75,0.75)
  1451. local lba = Instance.new("Part")
  1452. lba.Parent = lb
  1453. lba.Material = "Neon"
  1454. lba.BrickColor = BrickColor.new("Really red")
  1455. lba.CanCollide = false
  1456. lba.Shape = "Ball"
  1457. lba.CFrame = lb.CFrame
  1458. lba.Size = vt(6,6,6)
  1459. local thinga = Instance.new("SpecialMesh",lba)
  1460. thinga.MeshType = meshtype
  1461. lba.Touched:connect(function(hit)
  1462. Damagefunc(hit,22,29,5,"Normal",root,.2,1)
  1463. end)
  1464. local sa = Instance.new("Sound",lb)
  1465. sa.SoundId = "rbxassetid://233091205"
  1466. sa.Volume = 1.25
  1467. sa.Pitch = 0.75
  1468. sa:Play()
  1469. local trail = Instance.new("ParticleEmitter",lba)
  1470. trail.Texture = "rbxassetid://296874871"
  1471. trail.LightEmission = 0.95
  1472. trail.Color = ColorSequence.new(lb.BrickColor.Color)
  1473. trail.Rate = 10000
  1474. trail.Lifetime = NumberRange.new(1.5)
  1475. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1476. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1477. trail.Speed = NumberRange.new(0,0)
  1478. trail.Rotation = NumberRange.new(-500,500)
  1479. trail.RotSpeed = NumberRange.new(-500,500)
  1480. local bv = Instance.new("BodyVelocity")
  1481. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1482. bv.velocity = mouse.Hit.lookVector *100
  1483. bv.Parent = lba
  1484. wait(0.25)
  1485. end
  1486. tra.Rate = 0
  1487. tran.Rate = 9000
  1488. local sar = Instance.new("Sound",lb)
  1489. sar.SoundId = "rbxassetid://233091205"
  1490. sar.Volume = 2.5
  1491. sar.Pitch = 0.5
  1492. sar:Play()
  1493. local hit = lb.Touched:connect(function(hit)
  1494. Damagefunc(hit,40,50,5,"Normal",root,.2,1)
  1495. end)
  1496. for i = 0, 44 do
  1497. lb.Size = lb.Size + vt(3,3,3)
  1498. lb.CFrame = savepoint.CFrame
  1499. lb.Transparency = lb.Transparency + 0.025
  1500. wait()
  1501. end
  1502. tran.Rate = 0
  1503. hit:disconnect()
  1504. attack = false
  1505. hum.WalkSpeed = 16
  1506. for i = 0, 100 do
  1507. dec.Transparency = dec.Transparency + 0.015
  1508. dec2.Transparency = dec.Transparency
  1509. Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
  1510. value1 = value1 - 0.015*2.5
  1511. wait(0)
  1512. end
  1513. shur:Destroy()
  1514. wait(10)
  1515. lb:Destroy()
  1516. end
  1517.  
  1518. function doSpecial()
  1519. hum.WalkSpeed = 0
  1520. attack = true
  1521. local ff = Instance.new("ForceField",char)
  1522. for i = 0,1,0.1 do
  1523. swait()
  1524. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1525. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1526. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1527. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.3)
  1528. end
  1529. local shur = Instance.new("Part",char)
  1530. local gahd = Instance.new("Sound",char)
  1531. gahd.SoundId = "rbxassetid://136007472"
  1532. gahd.Volume = 1
  1533. gahd.Pitch = 0.7
  1534. gahd:Play()
  1535. shur.Transparency = 1
  1536. shur.Material = "Neon"
  1537. shur.BrickColor = bc("Bright red")
  1538. shur.Anchored = true
  1539. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  1540. shur.Size = vt(1,0.2,1)
  1541. shur.CanCollide = false
  1542. local dec = Instance.new("Decal",shur)
  1543. dec.Texture = "http://www.roblox.com/asset/?id=359972668"
  1544. dec.Face = "Top"
  1545. local dec2 = dec:Clone()
  1546. dec2.Parent = shur
  1547. dec2.Face = "Bottom"
  1548. local Meshshur = Instance.new("CylinderMesh",shur)
  1549. Meshshur.Scale = vt(0,1,0)
  1550. local value1 = 1*5
  1551. game:service'RunService'.RenderStepped:connect(function()
  1552. shur.CFrame = shur.CFrame*CFrame.Angles(0,0.05,0)
  1553. end)
  1554. for i = 0, 50 do
  1555. Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
  1556. value1 = value1 - 0.015*5
  1557. wait()
  1558. end
  1559. local ex = Instance.new("Sound",char)
  1560. ex.SoundId = "rbxassetid://197161452"
  1561. ex.Volume = 1
  1562. ex.Pitch = 1
  1563. ex:Play()
  1564. local ex2 = Instance.new("Sound",char)
  1565. ex2.SoundId = "rbxassetid://197161452"
  1566. ex2.Volume = 0.75
  1567. ex2.Pitch = 0.85
  1568. ex2:Play()
  1569. local ex3 = Instance.new("Sound",char)
  1570. ex3.SoundId = "rbxassetid://197161452"
  1571. ex3.Volume = 0.5
  1572. ex3.Pitch = 0.65
  1573. ex3:Play()
  1574. local ex4 = Instance.new("Sound",char)
  1575. ex4.SoundId = "rbxassetid://446876721"
  1576. ex4.Volume = 1
  1577. ex4.Pitch = 0.5
  1578. ex4:Play()
  1579. local ex5 = Instance.new("Sound",char)
  1580. ex5.SoundId = "rbxassetid://446876721"
  1581. ex5.Volume = 1.5
  1582. ex5.Pitch = 0.5
  1583. ex5:Play()
  1584. local seen = Instance.new("Sound",char)
  1585. seen.SoundId = "rbxassetid://445796828"
  1586. seen.Pitch = 0.75
  1587. seen.Volume = 1.75
  1588. seen.Looped = true
  1589. seen:Play()
  1590. local las = Instance.new("Part")
  1591. local expld = Instance.new("Explosion", las)
  1592. expld.BlastPressure = 1
  1593. las.Parent = char
  1594. las.Material = "Neon"
  1595. las.BrickColor = BrickColor.new("Really red")
  1596. las.CanCollide = false
  1597. las.Shape = "Ball"
  1598. las.Transparency = 0
  1599. las.Size = vt(60,60,60)
  1600. las.CFrame = shur.CFrame
  1601. las.Anchored = true
  1602. expld.BlastRadius = 9999999999
  1603. expld.Position = las.Position
  1604. local thing = Instance.new("SpecialMesh",las)
  1605. thing.MeshType = "Sphere"
  1606. thing.Scale = vt(1,0.1,1)
  1607. local bo = Instance.new("Part")
  1608. bo.Parent = las
  1609. bo.Material = "Neon"
  1610. bo.BrickColor = BrickColor.new("Really red")
  1611. bo.CanCollide = false
  1612. bo.Shape = "Ball"
  1613. bo.Transparency = 0
  1614. bo.Size = vt(1,1,1)
  1615. bo.CFrame = shur.CFrame
  1616. bo.Anchored = true
  1617. local thingbo = Instance.new("SpecialMesh",bo)
  1618. thingbo.MeshType = "Sphere"
  1619. thingbo.Scale = vt(90,90,90)
  1620. local boim = Instance.new("Part")
  1621. boim.Parent = las
  1622. boim.Material = "Neon"
  1623. boim.BrickColor = BrickColor.new("Really red")
  1624. boim.CanCollide = false
  1625. boim.Shape = "Ball"
  1626. boim.Transparency = 1
  1627. boim.Size = vt(150,150,150)
  1628. boim.CFrame = shur.CFrame
  1629. boim.Anchored = true
  1630. local boim2 = Instance.new("Part")
  1631. boim2.Parent = las
  1632. boim2.Material = "Neon"
  1633. boim2.BrickColor = BrickColor.new("Really red")
  1634. boim2.CanCollide = false
  1635. boim2.Shape = "Ball"
  1636. boim2.Transparency = 0.65
  1637. boim2.Size = vt(1,1,1)
  1638. boim2.CFrame = shur.CFrame
  1639. boim2.Anchored = true
  1640. local boimmsh = Instance.new("SpecialMesh",boim2)
  1641. boimmsh.MeshType = "FileMesh"
  1642. boimmsh.Scale = vt(165,165,165)
  1643. local shock = Instance.new("Part")
  1644. shock.Parent = las
  1645. shock.Material = "Neon"
  1646. shock.BrickColor = BrickColor.new("Really red")
  1647. shock.CanCollide = false
  1648. shock.Shape = "Ball"
  1649. shock.Transparency = 0.25
  1650. shock.CFrame = shur.CFrame
  1651. shock.Anchored = true
  1652. shock.Size = vt(0.2,0.2,0.2)
  1653. local thingshock = Instance.new("SpecialMesh",shock)
  1654. thingshock.MeshType = "FileMesh"
  1655. thingshock.Scale = vt(50,25,50)
  1656. thingshock.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1657. local shock2 = Instance.new("Part")
  1658. shock2.Parent = las
  1659. shock2.Material = "Neon"
  1660. shock2.BrickColor = BrickColor.new("Really red")
  1661. shock2.CanCollide = false
  1662. shock2.Shape = "Ball"
  1663. shock2.Transparency = 0.5
  1664. shock2.CFrame = shur.CFrame
  1665. shock2.Anchored = true
  1666. shock2.Size = vt(0.2,0.2,0.2)
  1667. local thingshock2 = Instance.new("SpecialMesh",shock2)
  1668. thingshock2.MeshType = "FileMesh"
  1669. thingshock2.Scale = vt(85,20,85)
  1670. thingshock2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1671. local shock3 = Instance.new("Part")
  1672. shock3.Parent = las
  1673. shock3.Material = "Neon"
  1674. shock3.BrickColor = BrickColor.new("Really red")
  1675. shock3.CanCollide = false
  1676. shock3.Shape = "Ball"
  1677. shock3.Transparency = 0.75
  1678. shock3.CFrame = shur.CFrame
  1679. shock3.Anchored = true
  1680. shock3.Size = vt(0.2,0.2,0.2)
  1681. local thingshock3 = Instance.new("SpecialMesh",shock3)
  1682. thingshock3.MeshType = "FileMesh"
  1683. thingshock3.Scale = vt(100,15,100)
  1684. thingshock3.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1685. local scaleval = 5
  1686. game:service'RunService'.RenderStepped:connect(function()
  1687. scaleval = scaleval - 0.035
  1688. boim.CFrame = shur.CFrame
  1689. bo.Transparency = bo.Transparency + 0.0055
  1690. boimmsh.Scale = boimmsh.Scale + vt(1,1,1)
  1691. boim2.Transparency = boim2.Transparency + 0.00125
  1692. thingbo.Scale = thingbo.Scale + vt(scaleval,scaleval,scaleval)
  1693. shock.CFrame = shock.CFrame*CFrame.Angles(0,0.1,0)
  1694. shock2.CFrame = shock2.CFrame*CFrame.Angles(0,-0.1,0)
  1695. shock3.CFrame = shock3.CFrame*CFrame.Angles(0,0.1,0)
  1696. las.CFrame = shur.CFrame + vt(math.random(-1,1),0,math.random(-1,1))
  1697. thing.Scale = thing.Scale + vt(0,5,0)
  1698. end)
  1699. for i = 0, 15 do
  1700. local sa = Instance.new("Sound",char)
  1701. sa.SoundId = "rbxassetid://233091205"
  1702. sa.Volume = 0.85
  1703. sa.Pitch = 0.85
  1704. sa:Play()
  1705. local lb = Instance.new("Part")
  1706. lb.Parent = las
  1707. lb.Material = "Neon"
  1708. lb.BrickColor = BrickColor.new("Really red")
  1709. lb.CanCollide = false
  1710. lb.Shape = "Ball"
  1711. lb.CFrame = shur.CFrame
  1712. lb.Anchored = true
  1713. lb.Size = vt(0.2,0.2,0.2)
  1714. local thing = Instance.new("SpecialMesh",lb)
  1715. thing.MeshType = "FileMesh"
  1716. thing.Scale = vt(50,25,50)
  1717. thing.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1718. local lb3 = Instance.new("Part")
  1719. lb3.Parent = las
  1720. lb3.Material = "Neon"
  1721. lb3.BrickColor = BrickColor.new("Really red")
  1722. lb3.CanCollide = false
  1723. lb3.Shape = "Ball"
  1724. lb3.CFrame = shur.CFrame
  1725. lb3.Anchored = true
  1726. lb3.Size = vt(0.2,0.2,0.2)
  1727. local thing3 = Instance.new("SpecialMesh",lb3)
  1728. thing3.MeshType = "FileMesh"
  1729. thing3.Scale = vt(50,30,50)
  1730. thing3.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1731. local lb2 = Instance.new("Part")
  1732. lb2.Parent = las
  1733. lb2.Material = "Neon"
  1734. lb2.BrickColor = BrickColor.new("Really red")
  1735. lb2.CanCollide = false
  1736. lb2.Shape = "Ball"
  1737. lb2.CFrame = shur.CFrame
  1738. lb2.Anchored = true
  1739. lb2.Size = vt(0.2,0.2,0.2)
  1740. local thing2 = Instance.new("SpecialMesh",lb2)
  1741. thing2.MeshType = "FileMesh"
  1742. thing2.Scale = vt(50,40,50)
  1743. thing2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1744. local ring = Instance.new("Part")
  1745. ring.Parent = las
  1746. ring.Material = "Neon"
  1747. ring.BrickColor = BrickColor.new("Really red")
  1748. ring.CanCollide = false
  1749. ring.Shape = "Ball"
  1750. ring.CFrame = shur.CFrame
  1751. ring.CFrame = ring.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1752. ring.Anchored = true
  1753. ring.Size = vt(0.2,0.2,0.2)
  1754. local thingring = Instance.new("SpecialMesh",ring)
  1755. thingring.MeshType = "FileMesh"
  1756. thingring.Scale = vt(150,150,50)
  1757. thingring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1758. local ring2 = Instance.new("Part")
  1759. ring2.Parent = las
  1760. ring2.Material = "Neon"
  1761. ring2.BrickColor = BrickColor.new("Really red")
  1762. ring2.CanCollide = false
  1763. ring2.Shape = "Ball"
  1764. ring2.CFrame = shur.CFrame
  1765. ring2.CFrame = ring2.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1766. ring2.Anchored = true
  1767. ring2.Size = vt(0.2,0.2,0.2)
  1768. local thingring2 = Instance.new("SpecialMesh",ring2)
  1769. thingring2.MeshType = "FileMesh"
  1770. thingring2.Scale = vt(150,150,50)
  1771. thingring2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1772. local circle = Instance.new("Part")
  1773. circle.Parent = las
  1774. circle.Material = "Neon"
  1775. circle.BrickColor = BrickColor.new("Really red")
  1776. circle.CanCollide = false
  1777. circle.Shape = "Ball"
  1778. circle.Transparency = 0
  1779. circle.Size = vt(125,125,125)
  1780. circle.CFrame = shur.CFrame
  1781. circle.Anchored = true
  1782. local smooth = game:service'RunService'.RenderStepped:connect(function()
  1783. sa.Volume = sa.Volume - 0.025
  1784. thingring.Scale = thingring.Scale + vt(1,1,0)
  1785. ring.Transparency = ring.Transparency + 0.025
  1786. thingring2.Scale = thingring2.Scale + vt(1,1,0)
  1787. ring2.Transparency = ring2.Transparency + 0.025
  1788. circle.Size = circle.Size + vt(1,1,1)
  1789. circle.Transparency = circle.Transparency + 0.025
  1790. circle.CFrame = shur.CFrame
  1791. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.05,0)
  1792. thing.Scale = thing.Scale + vt(5,0,5)
  1793. lb.Transparency = lb.Transparency + 0.025
  1794. lb2.CFrame = lb2.CFrame*CFrame.Angles(0,0.05,0)
  1795. thing2.Scale = thing2.Scale + vt(3.5,0,3.5)
  1796. lb2.Transparency = lb2.Transparency + 0.025
  1797. lb3.CFrame = lb3.CFrame*CFrame.Angles(0,-0.05,0)
  1798. thing3.Scale = thing3.Scale + vt(2.5,0,2.5)
  1799. lb3.Transparency = lb3.Transparency + 0.025
  1800. end)
  1801. wait(1)
  1802. lb:Destroy()
  1803. lb2:Destroy()
  1804. lb3:Destroy()
  1805. circle:Destroy()
  1806. ring:Destroy()
  1807. ring2:Destroy()
  1808. sa:Destroy()
  1809. smooth:disconnect()
  1810. end
  1811. attack = false
  1812. hum.WalkSpeed = 16
  1813. ex:Destroy()
  1814. ex2:Destroy()
  1815. ex3:Destroy()
  1816. ex4:Destroy()
  1817. ex5:Destroy()
  1818. for i = 0, 100 do
  1819. seen.Volume = seen.Volume - 0.05
  1820. thing.Scale = thing.Scale - vt(0.01,0,0.01)
  1821. thingshock.Scale = thingshock.Scale - vt(1,0,1)
  1822. thingshock2.Scale = thingshock2.Scale - vt(1,0,1)
  1823. thingshock3.Scale = thingshock3.Scale - vt(1,0,1)
  1824. las.Transparency = las.Transparency + 0.025
  1825. shock.Transparency = shock.Transparency + 0.025
  1826. shock2.Transparency = shock2.Transparency + 0.025
  1827. shock3.Transparency = shock3.Transparency + 0.025
  1828. dec.Transparency = dec.Transparency + 0.015
  1829. dec2.Transparency = dec.Transparency
  1830. Meshshur.Scale = Meshshur.Scale + vt(value1,0,value1)
  1831. value1 = value1 - 0.015*5
  1832. wait(0)
  1833. end
  1834. shur:Destroy()
  1835. gahd:Destroy()
  1836. ff:Destroy()
  1837. las:Destroy()
  1838. end
  1839.  
  1840. attackcombo = 0
  1841.  
  1842. mouse.Button1Down:connect(function()
  1843. if hold == false then
  1844. if attack == false and attackcombo == 0 then
  1845. attackcombo = 1
  1846. attackone()
  1847. elseif attack == false and attackcombo == 1 then
  1848. attackcombo = 2
  1849. attacktwo()
  1850. elseif attack == false and attackcombo == 2 then
  1851. attackcombo = 3
  1852. attackthree()
  1853. elseif attack == false and attackcombo == 3 then
  1854. attackcombo = 0
  1855. attackfour()
  1856. end
  1857. end
  1858. if attack == true and hold == true then
  1859. hold = false
  1860. end
  1861. end)
  1862. mouse.KeyDown:connect(function(key)
  1863. if key == "z" and attack == false and hold == false then
  1864. hold = true
  1865. do1()
  1866. elseif key == "x" and attack == false then
  1867. do2()
  1868. elseif key == "c" and attack == false then
  1869. do3()
  1870. elseif key == "v" and attack == false then
  1871. do4()
  1872. elseif key == "q" and attack == false and plr.Name == "elementman124" then
  1873. doSpecial()
  1874. end
  1875. end)
  1876. char.Humanoid.Animator.Parent = nil
  1877.  
  1878. game:GetService("RunService").Stepped:connect(function()
  1879. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1880. velocity = RootPart.Velocity.y
  1881. sine = sine + change
  1882. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1883. if equipped == true or equipped == false then
  1884. if RootPart.Velocity.y > 1 and hit == nil then
  1885. Anim = "Jump"
  1886. 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)),.3)
  1887. 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)),.3)
  1888. if attack == false then
  1889. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1890. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1891. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(25)), 0.3)
  1892. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-25)), 0.3)
  1893. end
  1894. else
  1895. if RootPart.Velocity.y < -1 and hit == nil then
  1896. Anim = "Fall"
  1897. 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)),.3)
  1898. 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)),.3)
  1899. if attack == false then
  1900. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1901. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  1902. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(25)), 0.3)
  1903. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-25)), 0.3)
  1904. end
  1905. else
  1906. if Torsovelocity < 1 and hit ~= nil then
  1907. Anim = "Idle"
  1908. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-20),math.rad(0)),.3)
  1909. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1910. if attack == false then
  1911. change = 1
  1912. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  1913. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-10)),.3)
  1914. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(10 - 2.5 * math.cos(sine / 32))), 0.3)
  1915. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.3)
  1916. end
  1917. else
  1918. if Torsovelocity > 2 and hit ~= nil then
  1919. Anim = "Walk"
  1920. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  1921. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  1922. if attack == false then
  1923. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 2.5))* angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  1924. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1925. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(75 + 1.5 * math.cos(sine / 5)), math.rad(75), math.rad(10)), 0.3)
  1926. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 25 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
  1927. end
  1928. end
  1929. end
  1930. end
  1931. end
  1932. end
  1933. end)
  1934. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement