Advertisement
Dark_EccentricYT

Untitled

Apr 5th, 2018
2,966
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.12 KB | None | 0 0
  1. paly = game.Players.LocalPlayer
  2. char = paly.Character
  3. torso = char.Torso
  4. neck = char.Torso.Neck
  5. hum = char.Humanoid
  6. Player = game:GetService("Players").LocalPlayer
  7. local mouse = Player:GetMouse()
  8. Character = Player.Character
  9. tors = Character.Torso
  10. lleg = Character["Left Leg"]
  11. root = Character.HumanoidRootPart
  12. hed = Character.Head
  13. rleg = Character["Right Leg"]
  14. rarm = Character["Right Arm"]
  15. larm = Character["Left Arm"]
  16. local Effects = {}
  17. attack = false
  18. vt = Vector3.new
  19. bc = BrickColor.new
  20. br = BrickColor.random
  21. it = Instance.new
  22. cf = CFrame.new
  23. euler = CFrame.fromEulerAnglesXYZ
  24. angles = CFrame.Angles
  25. matr = math.random
  26. local basiccooldown = 1
  27. local ultcooldown = 30
  28. local secondcooldown = 5
  29. local thirdcooldown = 15
  30.  
  31. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  32. local gui = it(GuiType)
  33. gui.Parent = parent
  34. gui.Text = text
  35. gui.BackgroundTransparency = backtrans
  36. gui.BackgroundColor3 = backcol
  37. gui.SizeConstraint = "RelativeXY"
  38. gui.TextXAlignment = "Center"
  39. gui.TextYAlignment = "Center"
  40. gui.Position = pos
  41. gui.Size = size
  42. gui.Font = "SourceSans"
  43. gui.FontSize = "Size14"
  44. gui.TextWrapped = false
  45. gui.TextStrokeTransparency = 0
  46. gui.TextColor = BrickColor.new("White")
  47. return gui
  48. end
  49.  
  50. local boll = Instance.new("Part",game.Lighting)
  51. boll.Transparency = 0.5
  52. boll.Material = "Neon"
  53. boll.BrickColor = bc("Bright red")
  54. boll.Anchored = true
  55. boll.Size = vt(1,1,1)
  56. boll.Shape = "Ball"
  57. boll.CanCollide = false
  58.  
  59. local shur = Instance.new("Part",game.Lighting)
  60. shur.Transparency = 0
  61. shur.Material = "Neon"
  62. shur.BrickColor = bc("Bright red")
  63. shur.Anchored = true
  64. shur.Size = vt(5,0.2,5)
  65. shur.CanCollide = false
  66. local Meshshur = Instance.new("CylinderMesh",shur)
  67.  
  68. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  69. if hit.Parent==nil then
  70. return
  71. end
  72. h=hit.Parent:FindFirstChild("Humanoid")
  73. for _,v in pairs(hit.Parent:children()) do
  74. if v:IsA("Humanoid") then
  75. h=v
  76. end
  77. end
  78. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  79. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  80. end
  81. if hit.Parent.className=="Hat" then
  82. hit=hit.Parent.Parent:findFirstChild("Head")
  83. end
  84. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  85. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  86. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  87. return
  88. end]]
  89. -- hs(hit,1.2)
  90. c=Instance.new("ObjectValue")
  91. c.Name="creator"
  92. c.Value=game:service("Players").LocalPlayer
  93. c.Parent=h
  94. game:GetService("Debris"):AddItem(c,.5)
  95. Damage=math.random(minim,maxim)
  96. -- h:TakeDamage(Damage)
  97. blocked=false
  98. block=hit.Parent:findFirstChild("Block")
  99. if block~=nil then
  100. print(block.className)
  101. if block.className=="NumberValue" then
  102. if block.Value>0 then
  103. blocked=true
  104. if decreaseblock==nil then
  105. block.Value=block.Value-1
  106. end
  107. end
  108. end
  109. if block.className=="IntValue" then
  110. if block.Value>0 then
  111. blocked=true
  112. if decreaseblock~=nil then
  113. block.Value=block.Value-1
  114. end
  115. end
  116. end
  117. end
  118. if blocked==false then
  119. -- h:TakeDamage(Damage)
  120. h.Health=h.Health-Damage
  121. showDamage(hit.Parent,Damage,.5,TorsoColor)
  122. else
  123. h.Health=h.Health-(Damage/2)
  124. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  125. end
  126. if Type=="Knockdown" then
  127. hum=hit.Parent.Humanoid
  128. hum.PlatformStand=true
  129. coroutine.resume(coroutine.create(function(HHumanoid)
  130. swait(1)
  131. HHumanoid.PlatformStand=false
  132. end),hum)
  133. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  134. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  135. local bodvol=Instance.new("BodyVelocity")
  136. bodvol.velocity=angle*knockback
  137. bodvol.P=5000
  138. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  139. bodvol.Parent=hit
  140. rl=Instance.new("BodyAngularVelocity")
  141. rl.P=3000
  142. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  143. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  144. rl.Parent=hit
  145. game:GetService("Debris"):AddItem(bodvol,.5)
  146. game:GetService("Debris"):AddItem(rl,.5)
  147. elseif Type=="Normal" then
  148. vp=Instance.new("BodyVelocity")
  149. vp.P=500
  150. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  151. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  152. if KnockbackType==1 then
  153. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  154. elseif KnockbackType==2 then
  155. vp.velocity=Property.CFrame.lookVector*knockback
  156. end
  157. if knockback>0 then
  158. vp.Parent=hit.Parent.Torso
  159. end
  160. game:GetService("Debris"):AddItem(vp,.5)
  161. elseif Type=="Up" then
  162. local bodyVelocity=Instance.new("BodyVelocity")
  163. bodyVelocity.velocity=vt(0,10,0)
  164. bodyVelocity.P=1000
  165. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  166. bodyVelocity.Parent=hit
  167. game:GetService("Debris"):AddItem(bodyVelocity,1)
  168. rl=Instance.new("BodyAngularVelocity")
  169. rl.P=3000
  170. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  171. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  172. rl.Parent=hit
  173. game:GetService("Debris"):AddItem(rl,.5)
  174. elseif Type=="Snare" then
  175. bp=Instance.new("BodyPosition")
  176. bp.P=2000
  177. bp.D=100
  178. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  179. bp.position=hit.Parent.Torso.Position
  180. bp.Parent=hit.Parent.Torso
  181. game:GetService("Debris"):AddItem(bp,1)
  182. elseif Type=="Target" then
  183. if Targetting==false then
  184. ZTarget=hit.Parent.Torso
  185. coroutine.resume(coroutine.create(function(Part)
  186. swait(5)
  187. end),ZTarget)
  188. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  189. targetgui=Instance.new("BillboardGui")
  190. targetgui.Parent=ZTarget
  191. targetgui.Size=UDim2.new(10,100,10,100)
  192. targ=Instance.new("ImageLabel")
  193. targ.Parent=targetgui
  194. targ.BackgroundTransparency=1
  195. targ.Image="rbxassetid://4834067"
  196. targ.Size=UDim2.new(1,0,1,0)
  197. cam.CameraType="Scriptable"
  198. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  199. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  200. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  201. Targetting=true
  202. RocketTarget=ZTarget
  203. for i=1,Property do
  204. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  205. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  206. swait()
  207. end
  208. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  209. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  210. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  211. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  212. end
  213. Targetting=false
  214. RocketTarget=nil
  215. targetgui.Parent=nil
  216. cam.CameraType="Custom"
  217. end
  218. end
  219. debounce=Instance.new("BoolValue")
  220. debounce.Name="DebounceHit"
  221. debounce.Parent=hit.Parent
  222. debounce.Value=true
  223. game:GetService("Debris"):AddItem(debounce,Delay)
  224. c=Instance.new("ObjectValue")
  225. c.Name="creator"
  226. c.Value=Player
  227. c.Parent=h
  228. game:GetService("Debris"):AddItem(c,.5)
  229. CRIT=false
  230. hitDeb=true
  231. AttackPos=6
  232. end
  233. end
  234.  
  235. showDamage=function(Char,Dealt,du,Color)
  236. m=Instance.new("Model")
  237. m.Name=tostring(Dealt)
  238. h=Instance.new("Humanoid")
  239. h.Health=0
  240. h.MaxHealth=0
  241. h.Parent=m
  242. c=Instance.new("Part")
  243. c.Transparency=0
  244. c.Material = "Neon"
  245. c.BrickColor=bc("Bright red")
  246. c.Name="Head"
  247. c.TopSurface=0
  248. c.BottomSurface=0
  249. local tick = Instance.new("Sound",c)
  250. tick.SoundId = "rbxassetid://12221976"
  251. tick.Volume = 5
  252. tick.Pitch = 4
  253. tick:Play()
  254. c.formFactor="Plate"
  255. c.Size=Vector3.new(1,.4,1)
  256. ms=Instance.new("CylinderMesh")
  257. ms.Scale=Vector3.new(.8,.8,.8)
  258. if CRIT==true then
  259. ms.Scale=Vector3.new(1,1.25,1)
  260. end
  261. ms.Parent=c
  262. c.Reflectance=0
  263. Instance.new("BodyGyro").Parent=c
  264. c.Parent=m
  265. if Char:findFirstChild("Head")~=nil then
  266. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  267. elseif Char.Parent:findFirstChild("Head")~=nil then
  268. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  269. end
  270. f=Instance.new("BodyPosition")
  271. f.P=2000
  272. f.D=100
  273. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  274. f.position=c.Position+Vector3.new(0,3,0)
  275. f.Parent=c
  276. game:GetService("Debris"):AddItem(m,.5+du)
  277. c.CanCollide=false
  278. m.Parent=workspace
  279. c.CanCollide=false
  280. p:Destroy()
  281. end
  282.  
  283. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  284. for _, c in pairs(workspace:children()) do
  285. local hum = c:findFirstChild("Humanoid")
  286. if hum ~= nil then
  287. local head = c:findFirstChild("Torso")
  288. if head ~= nil then
  289. local targ = head.Position - Part.Position
  290. local mag = targ.magnitude
  291. if mag <= magni and c.Name ~= Player.Name then
  292. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  293. end
  294. end
  295. end
  296. end
  297. end
  298.  
  299. function Explode(rad,par)
  300. local expart = Instance.new("Part",script.Parent)
  301. local expart2 = Instance.new("Part",script.Parent)
  302. local partMesh = Instance.new("SpecialMesh",expart)
  303. partMesh.MeshType = "Sphere"
  304. local partMesh2 = Instance.new("SpecialMesh",expart2)
  305. partMesh2.MeshType = "Sphere"
  306. local expld = Instance.new("Explosion", script.Parent)
  307. local plode = Instance.new("Sound",expart)
  308. plode.SoundId = "rbxassetid://165970126"
  309. plode.Volume = 2.5
  310. plode.Pitch = 1
  311. plode.Looped = false
  312. plode:Play()
  313. expld.BlastRadius = rad
  314. expld.Position = par.Position
  315. partMesh.Scale = vt(rad,rad,rad)
  316. expart.Size = vt(1,1,1)*1.5
  317. expart.Transparency = 0.5
  318. expart.Anchored = true
  319. expart.Material = "Neon"
  320. expart.BrickColor = bc("Deep orange")
  321. expart.CFrame = par.CFrame
  322. partMesh2.Scale = vt(rad,rad,rad)
  323. expart2.Size = vt(1.15,1.15,1.15)*1.5
  324. expart2.Transparency = 0.5
  325. expart2.Anchored = true
  326. expart2.Material = "Neon"
  327. expart2.BrickColor = bc("Bright orange")
  328. expart2.CFrame = par.CFrame
  329. local value = 1*rad/3
  330. par:Destroy()
  331. for i = 0, 100 do
  332. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  333. expart.CFrame = expart.CFrame
  334. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  335. expart2.CFrame = expart.CFrame
  336. value = value - 0.1*rad/3
  337. if value <= 0 then
  338. expart.Transparency = expart.Transparency + 0.0125
  339. expart2.Transparency = expart.Transparency + 0.0125
  340. value = 0
  341. end
  342. wait()
  343. end
  344. plode.Parent = nil
  345. expart.Parent = nil
  346. expart2.Parent = nil
  347. expld.Parent = nil
  348. end
  349.  
  350. local basgui = it("GuiMain")
  351. basgui.Parent = Player.PlayerGui
  352. basgui.Name = "CooldownsGUI"
  353. local basframe = it("Frame")
  354. basframe.Parent = basgui
  355. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  356. basframe.BackgroundTransparency = 1
  357. basframe.BorderColor3 = Color3.new(17, 17, 17)
  358. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  359. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  360. local healthgui = gui("TextLabel", basframe, "Health: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
  361. local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
  362. local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
  363. local basic3gui = gui("TextLabel", basframe, "SecondMove: " ..thirdcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 0.25, 0))
  364. local basic4gui = gui("TextLabel", basframe, "Ultimate: " ..ultcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(1.15, 0, 1.25, 0))
  365. basicgui.ZIndex = 2
  366. healthgui.TextSize = 24
  367. healthgui.ZIndex = 2
  368. basicgui.TextSize = 24
  369. basic4gui.ZIndex = 2
  370. basic4gui.TextSize = 24
  371. basic3gui.ZIndex = 2
  372. basic3gui.TextSize = 24
  373. basic2gui.ZIndex = 2
  374. basic2gui.TextSize = 24
  375.  
  376. function Blaze()
  377. if ultcooldown >= 30 then
  378. ultcooldown = ultcooldown - 30
  379. wit = BrickColor.new("Bright orange").Color
  380. local sloc = Instance.new("Part",workspace)
  381. local msh = Instance.new("SpecialMesh",sloc)
  382. msh.MeshType = "Sphere"
  383. sloc.Size = vt(1,1,1)
  384. sloc.Transparency = 1
  385. sloc.BrickColor = BrickColor.new("Bright orange")
  386. sloc.Position = hed.Position + vt(0,45,0)
  387. sloc.CanCollide = false
  388. sloc.Shape = "Ball"
  389. sloc.Anchored = true
  390. sloc.Material = "Neon"
  391. local glowz = Instance.new("ParticleEmitter")
  392. glowz.LightEmission = 1
  393. glowz.Parent = sloc
  394. glowz.Texture = "rbxassetid://284205403"
  395. glowz.Color = ColorSequence.new(wit)
  396. glowz.Size = NumberSequence.new(22.5)
  397. glowz.Speed = NumberRange.new(0)
  398. glowz.LockedToPart = false
  399. glowz.Transparency = NumberSequence.new(0.985)
  400. glowz.RotSpeed = NumberRange.new(-2000,2000)
  401. glowz.Lifetime = NumberRange.new(1)
  402. glowz.Rate = 50
  403. glowz.VelocitySpread = 9001
  404. local s = Instance.new("Sound",sloc)
  405. s.SoundId = "rbxassetid://331888777"
  406. s.Pitch = 1
  407. s.Volume = 5
  408. s.Looped = false
  409. s:Play()
  410. local s2 = Instance.new("Sound",sloc)
  411. s2.SoundId = "rbxassetid://93724183"
  412. s2.Pitch = 1
  413. s2.Volume = 5
  414. s2.Looped = false
  415. s2:Play()
  416. local val = 1*5
  417. for i = 0 , 20 do
  418. sloc.Transparency = sloc.Transparency - 0.035
  419. msh.Scale = msh.Scale + vt(val,val,val)
  420. sloc.Position = sloc.Position + vt(0,val,0)
  421. val = val - 0.05*5
  422. wait()
  423. end
  424. for i = 0, 50 do
  425. msh.Scale = msh.Scale - vt(1,1,1)
  426. sloc.Transparency = sloc.Transparency + 0.015
  427. local spart = Instance.new("Part",workspace)
  428. spart.Size = vt(5,5,5)
  429. spart.Shape = "Ball"
  430. spart.BrickColor = BrickColor.new("Bright orange")
  431. spart.Material = "Neon"
  432. spart.Transparency = 0
  433. spart.Anchored = false
  434. spart.Rotation = hed.Rotation
  435. spart.CanCollide = false
  436. spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
  437. local glow = Instance.new("ParticleEmitter")
  438. glow.LightEmission = 1
  439. glow.Parent = spart
  440. glow.Texture = "rbxassetid://284205403"
  441. glow.Color = ColorSequence.new(wit)
  442. glow.Size = NumberSequence.new(2)
  443. glow.Speed = NumberRange.new(0)
  444. glow.LockedToPart = false
  445. glow.Transparency = NumberSequence.new(0.975)
  446. glow.RotSpeed = NumberRange.new(-2000,2000)
  447. glow.Lifetime = NumberRange.new(1)
  448. glow.Rate = 100000
  449. glow.VelocitySpread = 9001
  450. local glowe = Instance.new("ParticleEmitter")
  451. glowe.LightEmission = 1
  452. glowe.Parent = spart
  453. glowe.Texture = "rbxassetid://296874871"
  454. glowe.Color = ColorSequence.new(wit)
  455. glowe.Size = NumberSequence.new(2)
  456. glowe.Speed = NumberRange.new(0)
  457. glowe.LockedToPart = false
  458. glowe.Transparency = NumberSequence.new(0.975)
  459. glowe.RotSpeed = NumberRange.new(-300,300)
  460. glowe.Lifetime = NumberRange.new(1)
  461. glowe.Rate = 100000
  462. glowe.VelocitySpread = 0
  463. local bv = Instance.new("BodyVelocity")
  464. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  465. bv.velocity = mouse.Hit.lookVector * 125
  466. bv.Parent = spart
  467. local tick = Instance.new("Sound",sloc)
  468. tick.SoundId = "rbxassetid://154324879"
  469. tick.Volume = 6.5
  470. tick.Pitch = 1
  471. tick:Play()
  472. wait(0.00001)
  473. pewdiepie=spart.Touched:connect(function(hit)
  474. Explode(12.5,spart)
  475. end)
  476. wait(0.145)
  477. end
  478. sloc:Destroy()
  479. end
  480. if ultcooldown < 1 then
  481. for i = 0, 29 do
  482. ultcooldown = ultcooldown + 1
  483. wait(1)
  484. end
  485. end
  486. end
  487.  
  488. function Fireball()
  489. if thirdcooldown >= 15 then
  490. thirdcooldown = thirdcooldown - 15
  491. for i = 0, 2 do
  492. local s = Instance.new("Sound",hed)
  493. s.SoundId = "rbxassetid://154324879"
  494. s.Pitch = 1
  495. s.Volume = 1
  496. s.Looped = false
  497. s:Play()
  498. local spart = Instance.new("Part",workspace)
  499. spart.Size = vt(2.5,2.5,2.5)
  500. spart.Shape = "Ball"
  501. spart.BrickColor = BrickColor.new("Bright orange")
  502. spart.Material = "Neon"
  503. spart.Transparency = 0.25
  504. spart.Anchored = false
  505. spart.Rotation = hed.Rotation
  506. spart.CanCollide = false
  507. spart.Position = hed.Position
  508. wit = BrickColor.new("Bright orange").Color
  509. local glow = Instance.new("ParticleEmitter")
  510. glow.LightEmission = 1
  511. glow.Parent = spart
  512. glow.Texture = "rbxassetid://284205403"
  513. glow.Color = ColorSequence.new(wit)
  514. glow.Size = NumberSequence.new(1)
  515. glow.Speed = NumberRange.new(0)
  516. glow.LockedToPart = false
  517. glow.Transparency = NumberSequence.new(0.975)
  518. glow.RotSpeed = NumberRange.new(-2000,2000)
  519. glow.Lifetime = NumberRange.new(1)
  520. glow.Rate = 100000
  521. glow.VelocitySpread = 9001
  522. local glowe = Instance.new("ParticleEmitter")
  523. glowe.LightEmission = 1
  524. glowe.Parent = spart
  525. glowe.Texture = "rbxassetid://296874871"
  526. glowe.Color = ColorSequence.new(wit)
  527. glowe.Size = NumberSequence.new(1)
  528. glowe.Speed = NumberRange.new(0)
  529. glowe.LockedToPart = false
  530. glowe.Transparency = NumberSequence.new(0.975)
  531. glowe.RotSpeed = NumberRange.new(-300,300)
  532. glowe.Lifetime = NumberRange.new(1)
  533. glowe.Rate = 100000
  534. glowe.VelocitySpread = 0
  535. local bv = Instance.new("BodyVelocity")
  536. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  537. bv.velocity = mouse.Hit.lookVector * 175
  538. bv.Parent = spart
  539. wait(0.00001)
  540. pewdiepie=spart.Touched:connect(function(hit)
  541. Explode(6.5,spart)
  542. end)
  543. wait(0.145)
  544. end
  545. end
  546. if thirdcooldown < 1 then
  547. for i = 0, 14 do
  548. thirdcooldown = thirdcooldown + 1
  549. wait(1)
  550. end
  551. end
  552. end
  553.  
  554. function BigProjectile()
  555. wit = BrickColor.new("Bright orange").Color
  556. if secondcooldown >= 5 then
  557. secondcooldown = secondcooldown - 5
  558. local spart = Instance.new("Part",workspace)
  559. spart.Size = vt(1,1,1)
  560. spart.BrickColor = BrickColor.new("Bright orange")
  561. spart.Material = "Neon"
  562. spart.Shape = "Ball"
  563. spart.Transparency = 1
  564. spart.Anchored = true
  565. spart.CanCollide = false
  566. spart.Position = hed.Position + vt(0,0,0)
  567. local glowz = Instance.new("ParticleEmitter")
  568. glowz.LightEmission = 1
  569. glowz.Parent = spart
  570. glowz.Texture = "rbxassetid://284205403"
  571. glowz.Color = ColorSequence.new(wit)
  572. glowz.Size = NumberSequence.new(7.5)
  573. glowz.Speed = NumberRange.new(0)
  574. glowz.LockedToPart = false
  575. glowz.Transparency = NumberSequence.new(0.965)
  576. glowz.RotSpeed = NumberRange.new(-2000,2000)
  577. glowz.Lifetime = NumberRange.new(1)
  578. glowz.Rate = 100
  579. glowz.VelocitySpread = 9001
  580. for i = 0, 10 do
  581. spart.Size = spart.Size + vt(1,1,1)
  582. spart.Transparency = spart.Transparency - 0.05
  583. wait(0)
  584. end
  585. spart.Anchored = false
  586. local bv = Instance.new("BodyVelocity")
  587. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  588. bv.velocity = mouse.Hit.lookVector *75
  589. bv.Parent = spart
  590. wait(0.1)
  591. pewdiepie=spart.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(20,40),"Normal",RootPart,.2,1) end)
  592. wait(3)
  593. spart.Anchored = true
  594. for i = 0, 10 do
  595. spart.Size = spart.Size - vt(1,1,1)
  596. spart.Transparency = spart.Transparency + 0.05
  597. wait(0)
  598. end
  599. spart:Destroy()
  600. if secondcooldown < 1 then
  601. for i = 0, 4 do
  602. secondcooldown = secondcooldown + 1
  603. wait(1)
  604. end
  605. end
  606. end
  607. end
  608.  
  609. mouse.Button1Down:connect(function()
  610. wit = BrickColor.new("Bright orange").Color
  611. if basiccooldown >= 1 then
  612. basiccooldown = basiccooldown - 1
  613. local spart = Instance.new("Part",workspace)
  614. spart.Size = vt(1,1,1)
  615. spart.BrickColor = BrickColor.new("Bright orange")
  616. spart.Material = "Neon"
  617. spart.Transparency = 1
  618. spart.Anchored = true
  619. spart.CanCollide = false
  620. spart.Position = hed.Position + vt(0,0,0)
  621. local glowz = Instance.new("ParticleEmitter")
  622. glowz.LightEmission = 1
  623. glowz.Parent = spart
  624. glowz.Texture = "rbxassetid://284205403"
  625. glowz.Color = ColorSequence.new(wit)
  626. glowz.Size = NumberSequence.new(5.5)
  627. glowz.Speed = NumberRange.new(0)
  628. glowz.LockedToPart = false
  629. glowz.Transparency = NumberSequence.new(0.965)
  630. glowz.RotSpeed = NumberRange.new(-2000,2000)
  631. glowz.Lifetime = NumberRange.new(1)
  632. glowz.Rate = 100
  633. glowz.VelocitySpread = 9001
  634. for i = 0, 10 do
  635. spart.Size = spart.Size + vt(0.5,0.5,0.5)
  636. spart.Rotation = vt(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  637. spart.Transparency = spart.Transparency - 0.05
  638. wait(0)
  639. end
  640. spart.Anchored = false
  641. local bv = Instance.new("BodyVelocity")
  642. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  643. bv.velocity = mouse.Hit.lookVector *25
  644. bv.Parent = spart
  645. wait(0.1)
  646. pewdiepie=spart.Touched:connect(function(hit) Damagefunc(hit,1,2,math.random(20,40),"Normal",RootPart,.2,1) end)
  647. wait(1)
  648. basiccooldown = basiccooldown + 1
  649. wait(2)
  650. spart.Anchored = true
  651. for i = 0, 10 do
  652. spart.Size = spart.Size - vt(0.5,0.5,0.5)
  653. spart.Rotation = spart.Rotation + vt(5,5,5)
  654. spart.Transparency = spart.Transparency + 0.05
  655. wait(0)
  656. end
  657. spart:Destroy()
  658. end
  659. end)
  660. mouse.KeyDown:connect(function(k)
  661.  
  662. k = k:lower()
  663. if k == "z" then
  664. BigProjectile()
  665. end
  666. if k == "x" then
  667. Fireball()
  668. end
  669. if k == "c" then
  670. Blaze()
  671. end
  672. end)
  673.  
  674. while wait() do
  675. healthgui.Text = "Health: " ..hum.Health.. "|" ..hum.MaxHealth
  676. basicgui.Text = "Flame Projectile \n[ " ..basiccooldown.. " ]"
  677. basic2gui.Text = "(Z) Flame Bullet \n[ " ..secondcooldown.. " ]"
  678. basic3gui.Text = "(X) Fireballs Strike \n[ " ..thirdcooldown.. " ]"
  679. basic4gui.Text = "(C) Blaze Storm \n[ " ..ultcooldown.. " ]"
  680. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement