Dark_EccentricYT

Untitled

Aug 13th, 2017
5,527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.99 KB | None | 0 0
  1. paly = game.Players.LocalPlayer
  2. p = game.Players.LocalPlayer
  3. char = paly.Character
  4. local symbolimg = "rbxassetid://301362847"
  5. Player = game:GetService("Players").LocalPlayer
  6. Character = Player.Character
  7. local mouse = paly:GetMouse()
  8. local charge = false
  9. local energy = 1000
  10. vt = Vector3.new
  11. torso = char.Torso
  12. neck = char.Torso.Neck
  13. hum = char.Humanoid
  14. Player = game:GetService("Players").LocalPlayer
  15. local mouse = Player:GetMouse()
  16. Character = Player.Character
  17. tors = Character.Torso
  18. lleg = Character["Left Leg"]
  19. root = Character.HumanoidRootPart
  20. hed = Character.Head
  21. rleg = Character["Right Leg"]
  22. rarm = Character["Right Arm"]
  23. larm = Character["Left Arm"]
  24. local Effects = {}
  25. attack = false
  26. local attacking = false
  27. vt = Vector3.new
  28. bc = BrickColor.new
  29. br = BrickColor.random
  30. it = Instance.new
  31. cf = CFrame.new
  32. euler = CFrame.fromEulerAnglesXYZ
  33. angles = CFrame.Angles
  34. matr = math.random
  35. local maincolor = Color3.new(255/255,85/255,0/255)
  36.  
  37. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  38. if hit.Parent==nil then
  39. return
  40. end
  41. h=hit.Parent:FindFirstChild("Humanoid")
  42. for _,v in pairs(hit.Parent:children()) do
  43. if v:IsA("Humanoid") then
  44. h=v
  45. end
  46. end
  47. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  48. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  49. end
  50. if hit.Parent.className=="Hat" then
  51. hit=hit.Parent.Parent:findFirstChild("Head")
  52. end
  53. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  54. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  55. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  56. return
  57. end]]
  58. -- hs(hit,1.2)
  59. c=Instance.new("ObjectValue")
  60. c.Name="creator"
  61. c.Value=game:service("Players").LocalPlayer
  62. c.Parent=h
  63. game:GetService("Debris"):AddItem(c,.5)
  64. Damage=math.random(minim,maxim)
  65. -- h:TakeDamage(Damage)
  66. blocked=false
  67. block=hit.Parent:findFirstChild("Block")
  68. if block~=nil then
  69. print(block.className)
  70. if block.className=="NumberValue" then
  71. if block.Value>0 then
  72. blocked=true
  73. if decreaseblock==nil then
  74. block.Value=block.Value-1
  75. end
  76. end
  77. end
  78. if block.className=="IntValue" then
  79. if block.Value>0 then
  80. blocked=true
  81. if decreaseblock~=nil then
  82. block.Value=block.Value-1
  83. end
  84. end
  85. end
  86. end
  87. if blocked==false then
  88. -- h:TakeDamage(Damage)
  89. h.Health=h.Health-Damage
  90. showDamage(hit.Parent,Damage,.5,TorsoColor)
  91. else
  92. h.Health=h.Health-(Damage/2)
  93. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  94. end
  95. if Type=="Knockdown" then
  96. hum=hit.Parent.Humanoid
  97. hum.PlatformStand=true
  98. coroutine.resume(coroutine.create(function(HHumanoid)
  99. swait(1)
  100. HHumanoid.PlatformStand=false
  101. end),hum)
  102. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  103. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  104. local bodvol=Instance.new("BodyVelocity")
  105. bodvol.velocity=angle*knockback
  106. bodvol.P=5000
  107. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  108. bodvol.Parent=hit
  109. rl=Instance.new("BodyAngularVelocity")
  110. rl.P=3000
  111. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  112. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  113. rl.Parent=hit
  114. game:GetService("Debris"):AddItem(bodvol,.5)
  115. game:GetService("Debris"):AddItem(rl,.5)
  116. elseif Type=="Normal" then
  117. vp=Instance.new("BodyVelocity")
  118. vp.P=500
  119. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  120. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  121. if KnockbackType==1 then
  122. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  123. elseif KnockbackType==2 then
  124. vp.velocity=Property.CFrame.lookVector*knockback
  125. end
  126. if knockback>0 then
  127. vp.Parent=hit.Parent.Torso
  128. end
  129. game:GetService("Debris"):AddItem(vp,.5)
  130. elseif Type=="Up" then
  131. local bodyVelocity=Instance.new("BodyVelocity")
  132. bodyVelocity.velocity=vt(0,10,0)
  133. bodyVelocity.P=1000
  134. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  135. bodyVelocity.Parent=hit
  136. game:GetService("Debris"):AddItem(bodyVelocity,1)
  137. rl=Instance.new("BodyAngularVelocity")
  138. rl.P=3000
  139. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  140. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  141. rl.Parent=hit
  142. game:GetService("Debris"):AddItem(rl,.5)
  143. elseif Type=="Snare" then
  144. bp=Instance.new("BodyPosition")
  145. bp.P=2000
  146. bp.D=100
  147. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  148. bp.position=hit.Parent.Torso.Position
  149. bp.Parent=hit.Parent.Torso
  150. game:GetService("Debris"):AddItem(bp,1)
  151. elseif Type=="Target" then
  152. if Targetting==false then
  153. ZTarget=hit.Parent.Torso
  154. coroutine.resume(coroutine.create(function(Part)
  155. swait(5)
  156. end),ZTarget)
  157. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  158. targetgui=Instance.new("BillboardGui")
  159. targetgui.Parent=ZTarget
  160. targetgui.Size=UDim2.new(10,100,10,100)
  161. targ=Instance.new("ImageLabel")
  162. targ.Parent=targetgui
  163. targ.BackgroundTransparency=1
  164. targ.Image="rbxassetid://4834067"
  165. targ.Size=UDim2.new(1,0,1,0)
  166. cam.CameraType="Scriptable"
  167. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  168. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  169. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  170. Targetting=true
  171. RocketTarget=ZTarget
  172. for i=1,Property do
  173. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  174. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  175. swait()
  176. end
  177. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  178. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  179. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  180. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  181. end
  182. Targetting=false
  183. RocketTarget=nil
  184. targetgui.Parent=nil
  185. cam.CameraType="Custom"
  186. end
  187. end
  188. debounce=Instance.new("BoolValue")
  189. debounce.Name="DebounceHit"
  190. debounce.Parent=hit.Parent
  191. debounce.Value=true
  192. game:GetService("Debris"):AddItem(debounce,Delay)
  193. c=Instance.new("ObjectValue")
  194. c.Name="creator"
  195. c.Value=Player
  196. c.Parent=h
  197. game:GetService("Debris"):AddItem(c,.5)
  198. CRIT=false
  199. hitDeb=true
  200. AttackPos=6
  201. end
  202. end
  203.  
  204. showDamage=function(Char,Dealt,du,Color)
  205. m=Instance.new("Model")
  206. m.Name=""
  207. h=Instance.new("Humanoid")
  208. h.Health=0
  209. h.MaxHealth=0
  210. h.Parent=m
  211. c=Instance.new("Part")
  212. c.Transparency=0
  213. c.Material = "Neon"
  214. c.BrickColor=bc("Bright red")
  215. c.Name="Head"
  216. c.TopSurface=0
  217. c.BottomSurface=0
  218. CV="Hot pink"
  219.  
  220. local txt = Instance.new("BillboardGui", c)
  221. txt.Adornee = c
  222. txt.Name = "_status"
  223. txt.Size = UDim2.new(2, 0, 1.2, 0)
  224. txt.StudsOffset = Vector3.new(-9, 8, 0)
  225. local text = Instance.new("TextLabel", txt)
  226. text.Size = UDim2.new(10, 0, 7, 0)
  227. text.FontSize = "Size24"
  228. text.TextScaled = true
  229. text.TextTransparency = 0
  230. text.BackgroundTransparency = 1
  231. text.TextTransparency = 0
  232. text.TextStrokeTransparency = 0
  233. text.Font = "Cartoon"
  234. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  235.  
  236. v=Instance.new("Part")
  237. v.Name = "ColorBrick"
  238. v.Parent=c
  239. v.FormFactor="Symmetric"
  240. v.Anchored=true
  241. v.CanCollide=false
  242. v.BottomSurface="Smooth"
  243. v.TopSurface="Smooth"
  244. v.Size=Vector3.new(10,5,3)
  245. v.Transparency=1
  246. v.CFrame=c.CFrame
  247. v.BrickColor=BrickColor.new(CV)
  248. v.Transparency=1
  249. text.TextColor3 = BrickColor.new("Bright red").Color
  250. v.Shape="Block"
  251. text.Text = tostring(Dealt).. "!"
  252. local tick = Instance.new("Sound",c)
  253. tick.SoundId = "rbxassetid://553325070"
  254. tick.Volume = 1.25
  255. tick.Pitch = 0.75
  256. tick:Play()
  257. c.formFactor="Plate"
  258. c.Transparency = 0.99
  259. c.Size=Vector3.new(1,.4,1)
  260. ms=Instance.new("CylinderMesh")
  261. ms.Scale=Vector3.new(.8,.8,.8)
  262. if CRIT==true then
  263. ms.Scale=Vector3.new(1,1.25,1)
  264. end
  265. ms.Parent=c
  266. c.Reflectance=0
  267. Instance.new("BodyGyro").Parent=c
  268. c.Parent=m
  269. if Char:findFirstChild("Head")~=nil then
  270. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  271. elseif Char.Parent:findFirstChild("Head")~=nil then
  272. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  273. end
  274. f=Instance.new("BodyPosition")
  275. f.P=2000
  276. f.D=100
  277. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  278. f.position=c.Position+Vector3.new(0,3,0)
  279. f.Parent=c
  280. game:GetService("Debris"):AddItem(m,.5+du)
  281. c.CanCollide=false
  282. m.Parent=workspace
  283. c.CanCollide=false
  284. end
  285.  
  286. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  287. local gui = it(GuiType)
  288. gui.Parent = parent
  289. gui.Text = text
  290. gui.BackgroundTransparency = backtrans
  291. gui.BackgroundColor3 = backcol
  292. gui.SizeConstraint = "RelativeXY"
  293. gui.TextXAlignment = "Center"
  294. gui.TextYAlignment = "Center"
  295. gui.Position = pos
  296. gui.Size = size
  297. gui.Font = "SourceSans"
  298. gui.FontSize = "Size14"
  299. gui.TextWrapped = false
  300. gui.TextStrokeTransparency = 0
  301. gui.TextColor = BrickColor.new("White")
  302. return gui
  303. end
  304.  
  305. local basgui = it("GuiMain")
  306. basgui.Parent = Player.PlayerGui
  307. basgui.Name = "CooldownsGUI"
  308. local basframe = it("Frame")
  309. basframe.Parent = basgui
  310. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  311. basframe.BackgroundTransparency = 1
  312. basframe.BorderColor3 = Color3.new(17, 17, 17)
  313. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  314. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  315. local healthgui = gui("TextLabel", basframe, "Energy: ", 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  316. healthgui.TextSize = 24
  317. healthgui.ZIndex = 2
  318.  
  319. local tick = Instance.new("Sound",tors)
  320. tick.SoundId = "rbxassetid://313108061"
  321. tick.Volume = 2.5
  322. tick.Looped = true
  323. tick.Pitch = 0.85
  324.  
  325. local tick2 = Instance.new("Sound",tors)
  326. tick2.SoundId = "rbxassetid://272207079"
  327. tick2.Volume = 2.5
  328. tick2.Looped = true
  329. tick2.Pitch = 0.85
  330.  
  331. local orb = Instance.new("Part")
  332. orb.Parent = char
  333. orb.Size = Vector3.new(0.2, 0.2, 0.2)
  334. orb.Archivable = true
  335. orb.Transparency = 1
  336. orb.Material = "Neon"
  337. orb.CanCollide = false
  338. local weld1 = Instance.new("Weld")
  339. weld1.Parent = tors
  340. weld1.Part0 = tors
  341. weld1.Part1 = orb
  342. weld1.C1 = CFrame.new(0, 0.01, 0)
  343. local pt1 = NumberSequenceKeypoint.new(0,5,0)
  344. local pt1a = NumberSequenceKeypoint.new(0,1,0)
  345. local pt2a = NumberSequenceKeypoint.new(1,1,1)
  346. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  347. local effecto = Instance.new("ParticleEmitter",orb)
  348. effecto.LightEmission = 1
  349. effecto.Texture = "rbxassetid://296874871"
  350. effecto.Color = ColorSequence.new(maincolor)
  351. effecto.Rate = 0
  352. effecto.Acceleration = Vector3.new(0,25,0)
  353. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  354. effecto.Lifetime = NumberRange.new(0.75)
  355. effecto.Size = NumberSequence.new({pt1,pt2})
  356. effecto.Speed = NumberRange.new(12.5)
  357. effecto.VelocitySpread = 100000000
  358. effecto.RotSpeed = NumberRange.new(-300,300)
  359.  
  360. function Fireball()
  361. local touched = false
  362. local delay = false
  363. local spart = Instance.new("Part",char)
  364. local tick = Instance.new("Sound",spart)
  365. tick.SoundId = "rbxassetid://304448425"
  366. tick.Volume = 1.5
  367. tick.Pitch = 1.5
  368. tick:Play()
  369. spart.Size = vt(1,1,1)
  370. spart.BrickColor = BrickColor.new("Deep orange")
  371. spart.Transparency = 1
  372. spart.CanCollide = false
  373. spart.Material = "Neon"
  374. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  375. local msh = Instance.new("SpecialMesh",spart)
  376. msh.MeshType = "Sphere"
  377. msh.Scale = vt(3,3,3)
  378. local pt1e = NumberSequenceKeypoint.new(0,5,0)
  379. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  380. local effecto = Instance.new("ParticleEmitter",spart)
  381. effecto.Texture = "rbxassetid://296874871"
  382. effecto.LightEmission = 1
  383. effecto.Color = ColorSequence.new(maincolor)
  384. effecto.Rate = 10000
  385. effecto.Lifetime = NumberRange.new(0.5)
  386. effecto.Size = NumberSequence.new({pt1e,pt2e})
  387. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  388. effecto.Speed = NumberRange.new(0,0)
  389. effecto.RotSpeed = NumberRange.new(-500,500)
  390. local bv = Instance.new("BodyVelocity")
  391. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  392. bv.velocity = mouse.Hit.lookVector * 100
  393. bv.Parent = spart
  394. wait(0.05)
  395. spart.Touched:connect(function(hit)
  396. if touched == false then
  397. touched = true
  398. if hit.Name == "Water" then
  399. local pt1er = NumberSequenceKeypoint.new(0,5,0)
  400. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  401. local smokecolor = Color3.new(0.5,0.5,0.5)
  402. local tick = Instance.new("Sound",spart)
  403. tick.SoundId = "rbxassetid://629468689"
  404. tick.Volume = 1.5
  405. tick.Pitch = 1
  406. tick:Play()
  407. effecto.Rate = 0
  408. local effectoz = Instance.new("ParticleEmitter",spart)
  409. effectoz.Texture = "rbxassetid://296874871"
  410. effectoz.LightEmission = 0.75
  411. effectoz.Color = ColorSequence.new(smokecolor)
  412. effectoz.Lifetime = NumberRange.new(3)
  413. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  414. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  415. effectoz.Rotation = NumberRange.new(-300,300)
  416. effectoz.RotSpeed = NumberRange.new(-500,500)
  417. effectoz.Speed = NumberRange.new(10)
  418. effectoz.VelocitySpread = 25
  419. effectoz.Rate = 1000000000000
  420. spart.Anchored = true
  421. wait(1)
  422. effectoz.Rate = 0
  423. wait(2.5)
  424. spart:Destroy()
  425. end
  426. if hit.Name ~= "Water" then
  427. local saveposition = spart.CFrame
  428. spart.Anchored = true
  429. local tick = Instance.new("Sound",spart)
  430. tick.SoundId = "rbxassetid://304529688"
  431. tick.Volume = 1.5
  432. tick.Pitch = 1.25
  433. tick:Play()
  434. effecto:Destroy()
  435. local pt1er = NumberSequenceKeypoint.new(0,10,0)
  436. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  437. local effectoz = Instance.new("ParticleEmitter",spart)
  438. effectoz.Texture = "rbxassetid://296874871"
  439. effectoz.LightEmission = 1
  440. effectoz.Color = ColorSequence.new(maincolor)
  441. effectoz.Lifetime = NumberRange.new(0.5)
  442. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  443. effectoz.Speed = NumberRange.new(0,0)
  444. effectoz.Rotation = NumberRange.new(-300,300)
  445. effectoz.RotSpeed = NumberRange.new(-500,500)
  446. effectoz.Speed = NumberRange.new(75)
  447. effectoz.VelocitySpread = 10000000
  448. effectoz.Rate = 1000000000000
  449. spart.Size = vt(1,1,1)
  450. spart.Transparency = 1
  451. spart.CFrame = saveposition
  452. Damagefunc(hit,10,15,-20,"Normal",root,.2,1)
  453. wait(0.5)
  454. effectoz.Rate = 0
  455. for i = 0, 10 do
  456. spart.Size = spart.Size + vt(0.5,0.5,0.5)
  457. spart.CFrame = saveposition
  458. wait()
  459. end
  460. spart:Destroy()
  461. end
  462. end
  463. end)
  464. end
  465.  
  466. function Firestorm()
  467. local shur = Instance.new("Part",char)
  468. local gahd = Instance.new("Sound",char)
  469. char.Humanoid.WalkSpeed = 0
  470. gahd.SoundId = "rbxassetid://313945165"
  471. gahd.Volume = 4.5
  472. gahd.Pitch = 0.595
  473. gahd:Play()
  474. shur.Transparency = 1
  475. shur.Material = "Neon"
  476. shur.BrickColor = bc("Bright red")
  477. shur.Anchored = true
  478. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  479. shur.Size = vt(1,0.2,1)
  480. shur.CanCollide = false
  481. local dec = Instance.new("Decal",shur)
  482. dec.Texture = symbolimg
  483. dec.Face = "Top"
  484. local dec2 = dec:Clone()
  485. dec2.Parent = shur
  486. dec2.Face = "Bottom"
  487. local Meshshur = Instance.new("CylinderMesh",shur)
  488. Meshshur.Scale = vt(0,1,0)
  489. for i = 0, 25 do
  490. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  491. Meshshur.Scale = Meshshur.Scale + vt(2.5,0,2.5)
  492. wait(0)
  493. end
  494. for i = 0, 10 do
  495. larm.Transparency = larm.Transparency + 0.1
  496. rarm.Transparency = rarm.Transparency + 0.1
  497. lleg.Transparency = lleg.Transparency + 0.1
  498. rleg.Transparency = rleg.Transparency + 0.1
  499. tors.Transparency = tors.Transparency + 0.1
  500. hed.Transparency = hed.Transparency + 0.1
  501. wait()
  502. end
  503. local pt1mass = NumberSequenceKeypoint.new(0,15,0)
  504. local effecton = Instance.new("ParticleEmitter",root)
  505. effecton.LightEmission = 1
  506. effecton.Texture = "rbxassetid://296874871"
  507. effecton.Color = ColorSequence.new(maincolor)
  508. effecton.Rate = 1000
  509. effecton.Lifetime = NumberRange.new(0.75)
  510. effecton.Size = NumberSequence.new({pt1mass,pt2})
  511. effecton.Speed = NumberRange.new(5)
  512. effecton.VelocitySpread = 100000000
  513. effecton.RotSpeed = NumberRange.new(-300,300)
  514. local ash = Instance.new("Sound",root)
  515. ash.SoundId = "rbxassetid://181004943"
  516. ash.Volume = 4
  517. ash.Pitch = 0.25
  518. ash:Play()
  519. local sbs = Instance.new("BodyPosition", root)
  520. sbs.P = 3000
  521. sbs.D = 1000
  522. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  523. sbs.position = root.CFrame.p + Vector3.new(0, 175, 0)
  524. wait(2.5)
  525. for i = 0, 25 do
  526. local touched = false
  527. local delay = false
  528. local spart = Instance.new("Part",char)
  529. local tick = Instance.new("Sound",spart)
  530. tick.SoundId = "rbxassetid://304448425"
  531. tick.Volume = 1.5
  532. tick.Pitch = 0.85
  533. tick:Play()
  534. spart.Size = vt(2,2,2)
  535. spart.BrickColor = BrickColor.new("Deep orange")
  536. spart.Transparency = 1
  537. spart.CanCollide = false
  538. spart.Material = "Neon"
  539. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  540. local pt1e = NumberSequenceKeypoint.new(0,15,0)
  541. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  542. local effecto = Instance.new("ParticleEmitter",spart)
  543. effecto.Texture = "rbxassetid://296874871"
  544. effecto.LightEmission = 1
  545. effecto.Color = ColorSequence.new(maincolor)
  546. effecto.Rate = 10000
  547. effecto.Lifetime = NumberRange.new(0.5)
  548. effecto.Size = NumberSequence.new({pt1e,pt2e})
  549. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  550. effecto.Speed = NumberRange.new(0,0)
  551. effecto.RotSpeed = NumberRange.new(-500,500)
  552. local bv = Instance.new("BodyVelocity")
  553. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  554. bv.velocity = mouse.Hit.lookVector * 150
  555. bv.Parent = spart
  556. wait(0.05)
  557. spart.Touched:connect(function(hit)
  558. if touched == false then
  559. touched = true
  560. if hit.Name == "Water" then
  561. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  562. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  563. local smokecolor = Color3.new(0.5,0.5,0.5)
  564. local tick = Instance.new("Sound",spart)
  565. tick.SoundId = "rbxassetid://629468689"
  566. tick.Volume = 1.5
  567. tick.Pitch = 1
  568. tick:Play()
  569. effecto.Rate = 0
  570. local effectoz = Instance.new("ParticleEmitter",spart)
  571. effectoz.Texture = "rbxassetid://296874871"
  572. effectoz.LightEmission = 0.75
  573. effectoz.Color = ColorSequence.new(smokecolor)
  574. effectoz.Lifetime = NumberRange.new(3)
  575. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  576. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  577. effectoz.Rotation = NumberRange.new(-300,300)
  578. effectoz.RotSpeed = NumberRange.new(-500,500)
  579. effectoz.Speed = NumberRange.new(10)
  580. effectoz.VelocitySpread = 75
  581. effectoz.Rate = 1000000000000
  582. spart.Anchored = true
  583. wait(3)
  584. effectoz.Rate = 0
  585. wait(2.5)
  586. spart:Destroy()
  587. end
  588. if hit.Name ~= "Water" then
  589. local saveposition = spart.CFrame
  590. spart.Anchored = true
  591. local tick = Instance.new("Sound",spart)
  592. tick.SoundId = "rbxassetid://304529688"
  593. tick.Volume = 1.5
  594. tick.Pitch = 0.85
  595. tick:Play()
  596. local tickn = Instance.new("Sound",spart)
  597. tickn.SoundId = "rbxassetid://138186576"
  598. tickn.Volume = 1.5
  599. tickn.Pitch = 1
  600. tickn:Play()
  601. local tick2e = Instance.new("Sound",spart)
  602. tick2e.SoundId = "rbxassetid://272207079"
  603. tick2e.Volume = 2.5
  604. tick2e.Looped = true
  605. tick2e.Pitch = 0.85
  606. tick2e:Play()
  607. effecto:Destroy()
  608. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  609. local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
  610. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  611. local effectoz = Instance.new("ParticleEmitter",spart)
  612. effectoz.Texture = "rbxassetid://296874871"
  613. effectoz.LightEmission = 1
  614. effectoz.Color = ColorSequence.new(maincolor)
  615. effectoz.Lifetime = NumberRange.new(2.5)
  616. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  617. effectoz.Speed = NumberRange.new(0,0)
  618. effectoz.Rotation = NumberRange.new(-300,300)
  619. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  620. effectoz.RotSpeed = NumberRange.new(-500,500)
  621. effectoz.Speed = NumberRange.new(10)
  622. effectoz.VelocitySpread = 10000000
  623. effectoz.Rate = 1000000000000
  624. local effectoz2 = Instance.new("ParticleEmitter",spart)
  625. effectoz2.Texture = "rbxassetid://296874871"
  626. effectoz2.LightEmission = 1
  627. effectoz2.Color = ColorSequence.new(maincolor)
  628. effectoz2.Lifetime = NumberRange.new(0.5)
  629. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  630. effectoz2.Speed = NumberRange.new(0,0)
  631. effectoz2.Rotation = NumberRange.new(-300,300)
  632. effectoz2.RotSpeed = NumberRange.new(-500,500)
  633. effectoz2.Speed = NumberRange.new(250)
  634. effectoz2.VelocitySpread = 10000000
  635. effectoz2.Rate = 1000000000000
  636. spart.Size = vt(25,25,25)
  637. spart.Transparency = 1
  638. spart.CFrame = saveposition
  639. wait(0.5)
  640. Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
  641. effectoz2.Rate = 0
  642. wait(5)
  643. effectoz.Rate = 0
  644. tick2e:Stop()
  645. wait(2.5)
  646. spart:Destroy()
  647. end
  648. end
  649. end)
  650. wait(0.215)
  651. end
  652. wait(1)
  653. effecton.Rate = 0
  654. for i = 0, 10 do
  655. larm.Transparency = larm.Transparency - 0.1
  656. rarm.Transparency = rarm.Transparency - 0.1
  657. lleg.Transparency = lleg.Transparency - 0.1
  658. rleg.Transparency = rleg.Transparency - 0.1
  659. tors.Transparency = tors.Transparency - 0.1
  660. hed.Transparency = hed.Transparency - 0.1
  661. wait()
  662. end
  663. sbs:Destroy()
  664. char.Humanoid.WalkSpeed = 16
  665. for i = 0, 25 do
  666. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  667. Meshshur.Scale = Meshshur.Scale - vt(2.5,0,2.5)
  668. wait(0)
  669. end
  670. effecton:Destroy()
  671. shur:Destroy()
  672. end
  673.  
  674.  
  675. function SplashFire()
  676. local shur = Instance.new("Part",char)
  677. local gahd = Instance.new("Sound",char)
  678. char.Humanoid.WalkSpeed = 0
  679. gahd.SoundId = "rbxassetid://313945165"
  680. gahd.Volume = 2.5
  681. gahd.Pitch = 0.625
  682. gahd:Play()
  683. shur.Transparency = 1
  684. shur.Material = "Neon"
  685. shur.BrickColor = bc("Bright red")
  686. shur.Anchored = true
  687. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  688. shur.Size = vt(1,0.2,1)
  689. shur.CanCollide = false
  690. local dec = Instance.new("Decal",shur)
  691. dec.Texture = symbolimg
  692. dec.Face = "Top"
  693. local dec2 = dec:Clone()
  694. dec2.Parent = shur
  695. dec2.Face = "Bottom"
  696. local Meshshur = Instance.new("CylinderMesh",shur)
  697. Meshshur.Scale = vt(0,1,0)
  698. for i = 0, 25 do
  699. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  700. Meshshur.Scale = Meshshur.Scale + vt(1,0,1)
  701. wait(0)
  702. end
  703. for i = 0, 10 do
  704. larm.Transparency = larm.Transparency + 0.1
  705. rarm.Transparency = rarm.Transparency + 0.1
  706. lleg.Transparency = lleg.Transparency + 0.1
  707. rleg.Transparency = rleg.Transparency + 0.1
  708. tors.Transparency = tors.Transparency + 0.1
  709. hed.Transparency = hed.Transparency + 0.1
  710. wait()
  711. end
  712. local pt1mass = NumberSequenceKeypoint.new(0,15,0)
  713. local effecton = Instance.new("ParticleEmitter",root)
  714. effecton.LightEmission = 1
  715. effecton.Texture = "rbxassetid://296874871"
  716. effecton.Color = ColorSequence.new(maincolor)
  717. effecton.Rate = 1000
  718. effecton.Lifetime = NumberRange.new(0.75)
  719. effecton.Size = NumberSequence.new({pt1mass,pt2})
  720. effecton.Speed = NumberRange.new(5)
  721. effecton.VelocitySpread = 100000000
  722. effecton.RotSpeed = NumberRange.new(-300,300)
  723. local ash = Instance.new("Sound",root)
  724. ash.SoundId = "rbxassetid://181004943"
  725. ash.Volume = 4
  726. ash.Pitch = 0.5
  727. ash:Play()
  728. local sbs = Instance.new("BodyPosition", root)
  729. sbs.P = 3000
  730. sbs.D = 1000
  731. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  732. sbs.position = root.CFrame.p + Vector3.new(0, 200, 0)
  733. wait(1)
  734. sbs.position = root.CFrame.p - Vector3.new(0, 500, 0)
  735. wait(0.1)
  736. sbs:Destroy()
  737. wait(0.15)
  738. effecton.Rate = 0
  739. local spart = Instance.new("Part",char)
  740. spart.Size = vt(2,2,2)
  741. spart.BrickColor = BrickColor.new("Deep orange")
  742. spart.Transparency = 1
  743. spart.CanCollide = false
  744. spart.Material = "Neon"
  745. spart.Anchored = true
  746. spart.CFrame = root.CFrame + Vector3.new(0,0.1,0)
  747. local tick = Instance.new("Sound",spart)
  748. tick.SoundId = "rbxassetid://304529688"
  749. tick.Volume = 1.5
  750. tick.Pitch = 0.85
  751. tick:Play()
  752. local tickn = Instance.new("Sound",spart)
  753. tickn.SoundId = "rbxassetid://138186576"
  754. tickn.Volume = 1.5
  755. tickn.Pitch = 1
  756. tickn:Play()
  757. local tick2e = Instance.new("Sound",spart)
  758. tick2e.SoundId = "rbxassetid://272207079"
  759. tick2e.Volume = 2.5
  760. tick2e.Looped = true
  761. tick2e.Pitch = 0.85
  762. tick2e:Play()
  763. local pt1er = NumberSequenceKeypoint.new(0,10,0)
  764. local pt1er2 = NumberSequenceKeypoint.new(0,20,0)
  765. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  766. local effectoz = Instance.new("ParticleEmitter",spart)
  767. effectoz.Texture = "rbxassetid://296874871"
  768. effectoz.LightEmission = 1
  769. effectoz.Color = ColorSequence.new(maincolor)
  770. effectoz.Lifetime = NumberRange.new(2.5)
  771. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  772. effectoz.Speed = NumberRange.new(0,0)
  773. effectoz.Rotation = NumberRange.new(-300,300)
  774. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  775. effectoz.RotSpeed = NumberRange.new(-500,500)
  776. effectoz.Speed = NumberRange.new(5)
  777. effectoz.VelocitySpread = 10000000
  778. effectoz.Rate = 1000000000000
  779. local effectoz2 = Instance.new("ParticleEmitter",spart)
  780. effectoz2.Texture = "rbxassetid://296874871"
  781. effectoz2.LightEmission = 1
  782. effectoz2.Color = ColorSequence.new(maincolor)
  783. effectoz2.Lifetime = NumberRange.new(0.5)
  784. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  785. effectoz2.Speed = NumberRange.new(0,0)
  786. effectoz2.Rotation = NumberRange.new(-300,300)
  787. effectoz2.RotSpeed = NumberRange.new(-500,500)
  788. effectoz2.Speed = NumberRange.new(100)
  789. effectoz2.VelocitySpread = 10000000
  790. effectoz2.Rate = 1000000000000
  791. spart.Size = vt(35,5,35)
  792. spart.Transparency = 1
  793. spart.CFrame = root.CFrame
  794. wait(0.5)
  795. spart.Touched:connect(function(hit)
  796. Damagefunc(hit,25,30,-20,"Normal",root,.2,1)
  797. end)
  798. ash:Destroy()
  799. effectoz2.Rate = 0
  800. wait(5)
  801. effecton:Destroy()
  802. effectoz.Rate = 0
  803. tick2e:Stop()
  804. wait(2.5)
  805. spart:Destroy()
  806. wait(1)
  807. for i = 0, 10 do
  808. larm.Transparency = larm.Transparency - 0.1
  809. rarm.Transparency = rarm.Transparency - 0.1
  810. lleg.Transparency = lleg.Transparency - 0.1
  811. rleg.Transparency = rleg.Transparency - 0.1
  812. tors.Transparency = tors.Transparency - 0.1
  813. hed.Transparency = hed.Transparency - 0.1
  814. wait()
  815. end
  816. sbs:Destroy()
  817. char.Humanoid.WalkSpeed = 16
  818. for i = 0, 25 do
  819. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  820. Meshshur.Scale = Meshshur.Scale - vt(1,0,1)
  821. wait(0)
  822. end
  823. shur:Destroy()
  824. end
  825.  
  826. function MassiveFireBall()
  827. local shur = Instance.new("Part",char)
  828. local gahd = Instance.new("Sound",char)
  829. char.Humanoid.WalkSpeed = 0
  830. gahd.SoundId = "rbxassetid://313945165"
  831. gahd.Volume = 2.5
  832. gahd.Pitch = 0.6
  833. gahd:Play()
  834. shur.Transparency = 1
  835. shur.Material = "Neon"
  836. shur.BrickColor = bc("Bright red")
  837. shur.Anchored = true
  838. shur.CFrame = tors.CFrame + vt(0,-2.5,0)
  839. shur.Size = vt(1,0.2,1)
  840. shur.CanCollide = false
  841. local dec = Instance.new("Decal",shur)
  842. dec.Texture = symbolimg
  843. dec.Face = "Top"
  844. local dec2 = dec:Clone()
  845. dec2.Parent = shur
  846. dec2.Face = "Bottom"
  847. local Meshshur = Instance.new("CylinderMesh",shur)
  848. Meshshur.Scale = vt(0,1,0)
  849. for i = 0, 25 do
  850. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  851. Meshshur.Scale = Meshshur.Scale + vt(1.25,0,1.25)
  852. wait(0)
  853. end
  854. local touched = false
  855. local delay = false
  856. local spart = Instance.new("Part",char)
  857. local tick = Instance.new("Sound",spart)
  858. tick.SoundId = "rbxassetid://304448425"
  859. tick.Volume = 1.5
  860. tick.Pitch = 0.85
  861. tick:Play()
  862. spart.Size = vt(2,2,2)
  863. spart.BrickColor = BrickColor.new("Deep orange")
  864. spart.Transparency = 1
  865. spart.CanCollide = false
  866. spart.Material = "Neon"
  867. spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
  868. local pt1e = NumberSequenceKeypoint.new(0,15,0)
  869. local pt2e = NumberSequenceKeypoint.new(1,0,0)
  870. local effecto = Instance.new("ParticleEmitter",spart)
  871. effecto.Texture = "rbxassetid://296874871"
  872. effecto.LightEmission = 1
  873. effecto.Color = ColorSequence.new(maincolor)
  874. effecto.Rate = 10000
  875. effecto.Lifetime = NumberRange.new(0.5)
  876. effecto.Size = NumberSequence.new({pt1e,pt2e})
  877. effecto.Transparency = NumberSequence.new({pt1a,pt2a})
  878. effecto.Speed = NumberRange.new(0,0)
  879. effecto.RotSpeed = NumberRange.new(-500,500)
  880. local bv = Instance.new("BodyVelocity")
  881. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  882. bv.velocity = mouse.Hit.lookVector * 150
  883. bv.Parent = spart
  884. wait(0.05)
  885. spart.Touched:connect(function(hit)
  886. if touched == false then
  887. touched = true
  888. if hit.Name == "Water" then
  889. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  890. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  891. local smokecolor = Color3.new(0.5,0.5,0.5)
  892. local tick = Instance.new("Sound",spart)
  893. tick.SoundId = "rbxassetid://629468689"
  894. tick.Volume = 1.5
  895. tick.Pitch = 1
  896. tick:Play()
  897. effecto.Rate = 0
  898. local effectoz = Instance.new("ParticleEmitter",spart)
  899. effectoz.Texture = "rbxassetid://296874871"
  900. effectoz.LightEmission = 0.75
  901. effectoz.Color = ColorSequence.new(smokecolor)
  902. effectoz.Lifetime = NumberRange.new(3)
  903. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  904. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  905. effectoz.Rotation = NumberRange.new(-300,300)
  906. effectoz.RotSpeed = NumberRange.new(-500,500)
  907. effectoz.Speed = NumberRange.new(10)
  908. effectoz.VelocitySpread = 75
  909. effectoz.Rate = 1000000000000
  910. spart.Anchored = true
  911. wait(3)
  912. effectoz.Rate = 0
  913. wait(2.5)
  914. spart:Destroy()
  915. end
  916. if hit.Name ~= "Water" then
  917. local saveposition = spart.CFrame
  918. spart.Anchored = true
  919. local tick = Instance.new("Sound",spart)
  920. tick.SoundId = "rbxassetid://304529688"
  921. tick.Volume = 1.5
  922. tick.Pitch = 0.85
  923. tick:Play()
  924. local tickn = Instance.new("Sound",spart)
  925. tickn.SoundId = "rbxassetid://138186576"
  926. tickn.Volume = 1.5
  927. tickn.Pitch = 1
  928. tickn:Play()
  929. local tick2e = Instance.new("Sound",spart)
  930. tick2e.SoundId = "rbxassetid://272207079"
  931. tick2e.Volume = 2.5
  932. tick2e.Looped = true
  933. tick2e.Pitch = 0.85
  934. tick2e:Play()
  935. effecto:Destroy()
  936. local pt1er = NumberSequenceKeypoint.new(0,15,0)
  937. local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
  938. local pt2er = NumberSequenceKeypoint.new(1,0,0)
  939. local effectoz = Instance.new("ParticleEmitter",spart)
  940. effectoz.Texture = "rbxassetid://296874871"
  941. effectoz.LightEmission = 1
  942. effectoz.Color = ColorSequence.new(maincolor)
  943. effectoz.Lifetime = NumberRange.new(2.5)
  944. effectoz.Size = NumberSequence.new({pt1er,pt2er})
  945. effectoz.Speed = NumberRange.new(0,0)
  946. effectoz.Rotation = NumberRange.new(-300,300)
  947. effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
  948. effectoz.RotSpeed = NumberRange.new(-500,500)
  949. effectoz.Speed = NumberRange.new(10)
  950. effectoz.VelocitySpread = 10000000
  951. effectoz.Rate = 1000000000000
  952. local effectoz2 = Instance.new("ParticleEmitter",spart)
  953. effectoz2.Texture = "rbxassetid://296874871"
  954. effectoz2.LightEmission = 1
  955. effectoz2.Color = ColorSequence.new(maincolor)
  956. effectoz2.Lifetime = NumberRange.new(0.5)
  957. effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
  958. effectoz2.Speed = NumberRange.new(0,0)
  959. effectoz2.Rotation = NumberRange.new(-300,300)
  960. effectoz2.RotSpeed = NumberRange.new(-500,500)
  961. effectoz2.Speed = NumberRange.new(250)
  962. effectoz2.VelocitySpread = 10000000
  963. effectoz2.Rate = 1000000000000
  964. spart.Size = vt(25,25,25)
  965. spart.Transparency = 1
  966. spart.CFrame = saveposition
  967. wait(0.5)
  968. Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
  969. effectoz2.Rate = 0
  970. wait(5)
  971. effectoz.Rate = 0
  972. tick2e:Stop()
  973. wait(2.5)
  974. spart:Destroy()
  975. end
  976. end
  977. end)
  978. char.Humanoid.WalkSpeed = 16
  979. wait(1)
  980. for i = 0, 25 do
  981. shur.CFrame = tors.CFrame + vt(0,-2.95,0)
  982. Meshshur.Scale = Meshshur.Scale - vt(1.25,0,1.25)
  983. wait(0)
  984. end
  985. shur:Destroy()
  986. end
  987.  
  988.  
  989. mouse.KeyDown:connect(function(k)
  990.  
  991. k = k:lower()
  992. if k == "q" and attacking == false then
  993. if energy >= 10 then
  994. energy = energy - 10
  995. attacking = true
  996. Fireball()
  997. attacking = false
  998. end
  999. end
  1000. if k == "r" and attacking == false then
  1001. if energy >= 50 then
  1002. energy = energy - 50
  1003. attacking = true
  1004. MassiveFireBall()
  1005. attacking = false
  1006. end
  1007. end
  1008. if k == "f" and attacking == false then
  1009. if energy >= 100 then
  1010. energy = energy - 100
  1011. attacking = true
  1012. Firestorm()
  1013. attacking = false
  1014. end
  1015. end
  1016. if k == "e" and attacking == false then
  1017. if energy >= 25 then
  1018. energy = energy - 25
  1019. attacking = true
  1020. SplashFire()
  1021. attacking = false
  1022. end
  1023. end
  1024. if k == "0" and attacking == false then
  1025. if charge == false then
  1026. tick:Resume()
  1027. tick2:Resume()
  1028. charge = true
  1029. attacking = true
  1030. if charge == true then
  1031. effecto.Rate = 10000
  1032. end
  1033. end
  1034. end
  1035. end)
  1036. mouse.KeyUp:connect(function(k)
  1037.  
  1038. k = k:lower()
  1039. if k == "0" then
  1040. charge = false
  1041. tick:Pause()
  1042. tick2:Pause()
  1043. attacking = false
  1044. effecto.Rate = 0
  1045. end
  1046. end)
  1047.  
  1048. while wait() do
  1049. healthgui.Text = "Energy: " ..math.floor(energy).. "/1000"
  1050. if charge == true then
  1051. while true do
  1052. healthgui.Text = "Energy: " ..math.floor(energy).. "/1000"
  1053. energy = energy + 0.75
  1054. wait()
  1055. if energy > 1000 then
  1056. energy = 1000
  1057. end
  1058. if charge == false then
  1059. break
  1060. end
  1061. end
  1062. end
  1063.  
  1064. if energy > 1000 then
  1065. energy = 1000
  1066. end
  1067. end
Add Comment
Please, Sign In to add comment