Advertisement
Void_scripter0

scythe

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