Advertisement
Finnegan5

blue

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