Advertisement
Upscalefanatic3

Red Scythe with Powers

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