Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paly = game.Players.LocalPlayer
- char = paly.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- local mouse = Player:GetMouse()
- Character = Player.Character
- tors = Character.Torso
- lleg = Character["Left Leg"]
- root = Character.HumanoidRootPart
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- local Effects = {}
- attack = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- local basiccooldown = 1
- local ultcooldown = 30
- local secondcooldown = 5
- local thirdcooldown = 15
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- local boll = Instance.new("Part",game.Lighting)
- boll.Transparency = 0.5
- boll.Material = "Neon"
- boll.BrickColor = bc("Bright red")
- boll.Anchored = true
- boll.Size = vt(1,1,1)
- boll.Shape = "Ball"
- boll.CanCollide = false
- local shur = Instance.new("Part",game.Lighting)
- shur.Transparency = 0
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.Size = vt(5,0.2,5)
- shur.CanCollide = false
- local Meshshur = Instance.new("CylinderMesh",shur)
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,TorsoColor)
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- swait(5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.Material = "Neon"
- c.BrickColor=bc("Bright red")
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- local tick = Instance.new("Sound",c)
- tick.SoundId = "rbxassetid://12221976"
- tick.Volume = 5
- tick.Pitch = 4
- tick:Play()
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- p:Destroy()
- end
- function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
- end
- end
- end
- end
- end
- function Explode(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- local plode = Instance.new("Sound",expart)
- plode.SoundId = "rbxassetid://165970126"
- plode.Volume = 2.5
- plode.Pitch = 1
- plode.Looped = false
- plode:Play()
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0.5
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Deep orange")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = bc("Bright orange")
- expart2.CFrame = par.CFrame
- local value = 1*rad/3
- par:Destroy()
- for i = 0, 100 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.1*rad/3
- if value <= 0 then
- expart.Transparency = expart.Transparency + 0.0125
- expart2.Transparency = expart.Transparency + 0.0125
- value = 0
- end
- wait()
- end
- plode.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- local basgui = it("GuiMain")
- basgui.Parent = Player.PlayerGui
- basgui.Name = "CooldownsGUI"
- local basframe = it("Frame")
- basframe.Parent = basgui
- basframe.BackgroundColor3 = Color3.new(255, 255, 255)
- basframe.BackgroundTransparency = 1
- basframe.BorderColor3 = Color3.new(17, 17, 17)
- basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
- basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
- 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))
- local basicgui = gui("TextLabel", basframe, "Basic: " ..basiccooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 0.25, 0))
- local basic2gui = gui("TextLabel", basframe, "FirstMove: " ..secondcooldown, 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1.25, 0))
- 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))
- 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))
- basicgui.ZIndex = 2
- healthgui.TextSize = 24
- healthgui.ZIndex = 2
- basicgui.TextSize = 24
- basic4gui.ZIndex = 2
- basic4gui.TextSize = 24
- basic3gui.ZIndex = 2
- basic3gui.TextSize = 24
- basic2gui.ZIndex = 2
- basic2gui.TextSize = 24
- function Blaze()
- if ultcooldown >= 30 then
- ultcooldown = ultcooldown - 30
- wit = BrickColor.new("Bright orange").Color
- local sloc = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",sloc)
- msh.MeshType = "Sphere"
- sloc.Size = vt(1,1,1)
- sloc.Transparency = 1
- sloc.BrickColor = BrickColor.new("Bright orange")
- sloc.Position = hed.Position + vt(0,45,0)
- sloc.CanCollide = false
- sloc.Shape = "Ball"
- sloc.Anchored = true
- sloc.Material = "Neon"
- local glowz = Instance.new("ParticleEmitter")
- glowz.LightEmission = 1
- glowz.Parent = sloc
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(22.5)
- glowz.Speed = NumberRange.new(0)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.985)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50
- glowz.VelocitySpread = 9001
- local s = Instance.new("Sound",sloc)
- s.SoundId = "rbxassetid://331888777"
- s.Pitch = 1
- s.Volume = 5
- s.Looped = false
- s:Play()
- local s2 = Instance.new("Sound",sloc)
- s2.SoundId = "rbxassetid://93724183"
- s2.Pitch = 1
- s2.Volume = 5
- s2.Looped = false
- s2:Play()
- local val = 1*5
- for i = 0 , 20 do
- sloc.Transparency = sloc.Transparency - 0.035
- msh.Scale = msh.Scale + vt(val,val,val)
- sloc.Position = sloc.Position + vt(0,val,0)
- val = val - 0.05*5
- wait()
- end
- for i = 0, 50 do
- msh.Scale = msh.Scale - vt(1,1,1)
- sloc.Transparency = sloc.Transparency + 0.015
- local spart = Instance.new("Part",workspace)
- spart.Size = vt(5,5,5)
- spart.Shape = "Ball"
- spart.BrickColor = BrickColor.new("Bright orange")
- spart.Material = "Neon"
- spart.Transparency = 0
- spart.Anchored = false
- spart.Rotation = hed.Rotation
- spart.CanCollide = false
- spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
- local glow = Instance.new("ParticleEmitter")
- glow.LightEmission = 1
- glow.Parent = spart
- glow.Texture = "rbxassetid://284205403"
- glow.Color = ColorSequence.new(wit)
- glow.Size = NumberSequence.new(2)
- glow.Speed = NumberRange.new(0)
- glow.LockedToPart = false
- glow.Transparency = NumberSequence.new(0.975)
- glow.RotSpeed = NumberRange.new(-2000,2000)
- glow.Lifetime = NumberRange.new(1)
- glow.Rate = 100000
- glow.VelocitySpread = 9001
- local glowe = Instance.new("ParticleEmitter")
- glowe.LightEmission = 1
- glowe.Parent = spart
- glowe.Texture = "rbxassetid://296874871"
- glowe.Color = ColorSequence.new(wit)
- glowe.Size = NumberSequence.new(2)
- glowe.Speed = NumberRange.new(0)
- glowe.LockedToPart = false
- glowe.Transparency = NumberSequence.new(0.975)
- glowe.RotSpeed = NumberRange.new(-300,300)
- glowe.Lifetime = NumberRange.new(1)
- glowe.Rate = 100000
- glowe.VelocitySpread = 0
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 125
- bv.Parent = spart
- local tick = Instance.new("Sound",sloc)
- tick.SoundId = "rbxassetid://154324879"
- tick.Volume = 6.5
- tick.Pitch = 1
- tick:Play()
- wait(0.00001)
- pewdiepie=spart.Touched:connect(function(hit)
- Explode(12.5,spart)
- end)
- wait(0.145)
- end
- sloc:Destroy()
- end
- if ultcooldown < 1 then
- for i = 0, 29 do
- ultcooldown = ultcooldown + 1
- wait(1)
- end
- end
- end
- function Fireball()
- if thirdcooldown >= 15 then
- thirdcooldown = thirdcooldown - 15
- for i = 0, 2 do
- local s = Instance.new("Sound",hed)
- s.SoundId = "rbxassetid://154324879"
- s.Pitch = 1
- s.Volume = 1
- s.Looped = false
- s:Play()
- local spart = Instance.new("Part",workspace)
- spart.Size = vt(2.5,2.5,2.5)
- spart.Shape = "Ball"
- spart.BrickColor = BrickColor.new("Bright orange")
- spart.Material = "Neon"
- spart.Transparency = 0.25
- spart.Anchored = false
- spart.Rotation = hed.Rotation
- spart.CanCollide = false
- spart.Position = hed.Position
- wit = BrickColor.new("Bright orange").Color
- local glow = Instance.new("ParticleEmitter")
- glow.LightEmission = 1
- glow.Parent = spart
- glow.Texture = "rbxassetid://284205403"
- glow.Color = ColorSequence.new(wit)
- glow.Size = NumberSequence.new(1)
- glow.Speed = NumberRange.new(0)
- glow.LockedToPart = false
- glow.Transparency = NumberSequence.new(0.975)
- glow.RotSpeed = NumberRange.new(-2000,2000)
- glow.Lifetime = NumberRange.new(1)
- glow.Rate = 100000
- glow.VelocitySpread = 9001
- local glowe = Instance.new("ParticleEmitter")
- glowe.LightEmission = 1
- glowe.Parent = spart
- glowe.Texture = "rbxassetid://296874871"
- glowe.Color = ColorSequence.new(wit)
- glowe.Size = NumberSequence.new(1)
- glowe.Speed = NumberRange.new(0)
- glowe.LockedToPart = false
- glowe.Transparency = NumberSequence.new(0.975)
- glowe.RotSpeed = NumberRange.new(-300,300)
- glowe.Lifetime = NumberRange.new(1)
- glowe.Rate = 100000
- glowe.VelocitySpread = 0
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 175
- bv.Parent = spart
- wait(0.00001)
- pewdiepie=spart.Touched:connect(function(hit)
- Explode(6.5,spart)
- end)
- wait(0.145)
- end
- end
- if thirdcooldown < 1 then
- for i = 0, 14 do
- thirdcooldown = thirdcooldown + 1
- wait(1)
- end
- end
- end
- function BigProjectile()
- wit = BrickColor.new("Bright orange").Color
- if secondcooldown >= 5 then
- secondcooldown = secondcooldown - 5
- local spart = Instance.new("Part",workspace)
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Bright orange")
- spart.Material = "Neon"
- spart.Shape = "Ball"
- spart.Transparency = 1
- spart.Anchored = true
- spart.CanCollide = false
- spart.Position = hed.Position + vt(0,0,0)
- local glowz = Instance.new("ParticleEmitter")
- glowz.LightEmission = 1
- glowz.Parent = spart
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(7.5)
- glowz.Speed = NumberRange.new(0)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.965)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 100
- glowz.VelocitySpread = 9001
- for i = 0, 10 do
- spart.Size = spart.Size + vt(1,1,1)
- spart.Transparency = spart.Transparency - 0.05
- wait(0)
- end
- spart.Anchored = false
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *75
- bv.Parent = spart
- wait(0.1)
- pewdiepie=spart.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(20,40),"Normal",RootPart,.2,1) end)
- wait(3)
- spart.Anchored = true
- for i = 0, 10 do
- spart.Size = spart.Size - vt(1,1,1)
- spart.Transparency = spart.Transparency + 0.05
- wait(0)
- end
- spart:Destroy()
- if secondcooldown < 1 then
- for i = 0, 4 do
- secondcooldown = secondcooldown + 1
- wait(1)
- end
- end
- end
- end
- mouse.Button1Down:connect(function()
- wit = BrickColor.new("Bright orange").Color
- if basiccooldown >= 1 then
- basiccooldown = basiccooldown - 1
- local spart = Instance.new("Part",workspace)
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Bright orange")
- spart.Material = "Neon"
- spart.Transparency = 1
- spart.Anchored = true
- spart.CanCollide = false
- spart.Position = hed.Position + vt(0,0,0)
- local glowz = Instance.new("ParticleEmitter")
- glowz.LightEmission = 1
- glowz.Parent = spart
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(5.5)
- glowz.Speed = NumberRange.new(0)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.965)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 100
- glowz.VelocitySpread = 9001
- for i = 0, 10 do
- spart.Size = spart.Size + vt(0.5,0.5,0.5)
- spart.Rotation = vt(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- spart.Transparency = spart.Transparency - 0.05
- wait(0)
- end
- spart.Anchored = false
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector *25
- bv.Parent = spart
- wait(0.1)
- pewdiepie=spart.Touched:connect(function(hit) Damagefunc(hit,1,2,math.random(20,40),"Normal",RootPart,.2,1) end)
- wait(1)
- basiccooldown = basiccooldown + 1
- wait(2)
- spart.Anchored = true
- for i = 0, 10 do
- spart.Size = spart.Size - vt(0.5,0.5,0.5)
- spart.Rotation = spart.Rotation + vt(5,5,5)
- spart.Transparency = spart.Transparency + 0.05
- wait(0)
- end
- spart:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "z" then
- BigProjectile()
- end
- if k == "x" then
- Fireball()
- end
- if k == "c" then
- Blaze()
- end
- end)
- while wait() do
- healthgui.Text = "Health: " ..hum.Health.. "|" ..hum.MaxHealth
- basicgui.Text = "Flame Projectile \n[ " ..basiccooldown.. " ]"
- basic2gui.Text = "(Z) Flame Bullet \n[ " ..secondcooldown.. " ]"
- basic3gui.Text = "(X) Fireballs Strike \n[ " ..thirdcooldown.. " ]"
- basic4gui.Text = "(C) Blaze Storm \n[ " ..ultcooldown.. " ]"
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement