Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character
- local Mouse = player:GetMouse()
- local hum = character:FindFirstChild("Humanoid")
- local HR = character:findFirstChild("HumanoidRootPart")
- local Head = character:FindFirstChild("Head")
- local Torso = character:FindFirstChild("Torso")
- local RightArm = character["Right Arm"]
- local RightLeg = character["Right Leg"]
- local LeftArm = character["Left Arm"]
- local LeftLeg = character["Left Leg"]
- local LeftArm = character['Left Arm']
- local LeftLeg = character['Left Leg']
- RightShoulder = Torso['Right Shoulder']
- LeftShoulder = Torso['Left Shoulder']
- attacking = false
- Animate = character.Animate
- enabled = true
- BBomb = 0
- planted = false
- cooldown = 0
- cooldown2 = 0
- cooldown3 = 0
- cooldown4 = 0
- Globalcooldown = 0
- animation = Instance.new("Animation",script.Parent) -- OraOraOra
- animation.AnimationId = 'rbxassetid://730728813'
- animation2 = Instance.new("Animation",script.Parent) -- Right Swing
- animation2.AnimationId = 'rbxassetid://730734152'
- animation3 = Instance.new("Animation",script.Parent) -- Detonate
- animation3.AnimationId = 'rbxassetid://730734653'
- animation4 = Instance.new("Animation", script.Parent) -- Bubble bomb
- animation4.AnimationId = 'rbxassetid://730735120'
- animation5 = Instance.new("Animation", script.Parent) --
- animation5.AnimationId = 'rbxassetid://'
- animation6 = Instance.new("Animation", script.Parent)
- animation6.AnimationId = 'rbxassetid://'
- animation7 = Instance.new("Animation", script.Parent)
- animation7.AnimationId = 'rbxassetid://'
- local animTrack = hum:LoadAnimation(animation)
- hum.MaxHealth = 250
- wait()
- hum.Health = 250
- script.Weld.Disabled = false
- function anim(id)
- local anim = Instance.new('Animation',script.Parent)
- anim.AnimationId = 'rbxassetid://' .. id
- local lol = hum:LoadAnimation(anim)
- lol:Play()
- debris(anim,4)
- end
- function debris(thing,kek)
- game:GetService('Debris'):AddItem(thing,kek)
- end
- function sound(id,parent,volume,pitch)
- local sound = Instance.new('Sound',parent)
- sound.SoundId = 'rbxassetid://' .. id
- sound.Volume = volume
- sound.Pitch = pitch
- sound:Play()
- debris(sound,15)
- end
- function showdamage(damage,hed)
- local bg = Instance.new('BillboardGui')
- bg.Parent = hed
- bg.Size = UDim2.new(1,0,1,0)
- bg.Adornee = hed
- bg.StudsOffset = Vector3.new(math.random(-3,3), math.random(3, 5), math.random(-3, 3))
- local txt = Instance.new('TextLabel')
- txt.Parent = bg
- txt.Size = UDim2.new(3, 3, 3, 3)
- txt.BackgroundTransparency = 1
- txt.Text = tostring(damage)
- txt.TextStrokeTransparency = 0
- txt.TextXAlignment = Enum.TextXAlignment.Center
- txt.TextYAlignment = Enum.TextYAlignment.Center
- txt.FontSize = Enum.FontSize.Size32
- txt.Font = "ArialBold"
- txt.TextColor3 = BrickColor.new('Bright yellow').Color
- txt.TextStrokeColor3 = BrickColor.new('Really black').Color
- coroutine.resume(coroutine.create(function()
- wait(0.01)
- for i = 0, 10, 1 do
- wait(.1)
- txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1
- txt.TextTransparency = txt.TextTransparency + 0.1
- end
- bg:Destroy()
- end))
- end
- function damage(hit,minim,maxim,cdown,Type)
- --[[
- hit = target
- minim = lowest possible damage
- maxim = highest possible damage
- cdown = hit cooldown, how long to wait before you can damage again
- type = type of damage, like lifesteal/heal/knockdown
- example of usage :
- local connect = hitbox.Touched:connect(function(hit)
- damage(hit.Parent,35,45,2.2,'LifeSteal')
- end)
- --]]
- for i,v in pairs(hit:GetChildren()) do
- if v:IsA("Humanoid") and hit.Name ~= player.Name then
- local find = v:FindFirstChild('hit')
- if not find then
- local enemyhum = v
- enemyhum.Died:connect(function()
- if enemyhum.Parent.Name ~= 'hi' and enemyhum:FindFirstChild('lolno') == nil then
- player.leaderstats.Notoriety.Value = player.leaderstats.Notoriety.Value + 100
- local kek = Instance.new('BoolValue')
- kek.Parent = enemyhum
- kek.Name = 'lolno'
- end
- end)
- local bool = Instance.new('BoolValue')
- bool.Parent = enemyhum
- bool.Name = 'hit'
- local ko = Instance.new('ObjectValue')
- ko.Value = player
- ko.Parent = enemyhum
- debris(ko,cdown)
- debris(bool,cdown)
- local damage = math.random(minim,maxim)
- math.floor(damage)
- showdamage(damage,v.Parent:FindFirstChild('Head'))
- if Type == 'Normal' then
- enemyhum:TakeDamage(damage)
- elseif Type == 'Knockdown' then
- enemyhum:TakeDamage(damage)
- enemyhum.Sit = true
- elseif Type == 'Knockback' then
- enemyhum:TakeDamage(damage)
- local bv = Instance.new('BodyVelocity',enemyhum)
- bv.Velocity = HR.CFrame.lookVector * 90
- bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- debris(bv,0.34)
- elseif Type == 'Heal' then
- local healdam = damage * -1
- enemyhum:TakeDamage(healdam)
- elseif Type == 'Lifesteal' then
- enemyhum:TakeDamage(damage)
- hum:TakeDamage((damage * -1) * 0.65)
- end
- end
- end
- end
- end
- function removecontrol()
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- end
- function resumecontrol()
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- end
- function rushattack()
- if hum.PlatformStand == true then return end
- if attacking then return end
- if cooldown ~= 0 then return end
- if character:FindFirstChild('pose') ~= nil then return end
- if Torso.Anchored == false then
- attacking = true
- cooldown = 1
- local rush = hum:LoadAnimation(animation)
- rush:Play()
- local p1 = Instance.new("Part")
- game.Debris:AddItem(p1,4)
- p1.CanCollide = false
- p1.Anchored = false
- p1.Parent = RightArm
- p1.Size = RightArm.Size
- p1.Transparency = 1
- local w11 = Instance.new("Weld", p1)
- w11.Part0 = RightArm
- w11.Part1 = p1
- local p2 = Instance.new("Part")
- game.Debris:AddItem(p2,4)
- p2.CanCollide = false
- p2.Anchored = false
- p2.Parent = LeftArm
- p2.Size = LeftArm.Size
- p2.Transparency = 1
- local w22 = Instance.new("Weld", p2)
- w22.Part0 = LeftArm
- w22.Part1 = p2
- cmten = true
- p1.Touched:connect(function(hit)
- if not cmten then return end
- local ehum = hit.Parent:findFirstChild("Humanoid")
- if ehum and ehum ~= hum then
- cmten = false
- damage(hit.Parent,2,3,0.1,'Normal')
- sound(367499850,hit,1,1)
- wait(0.15)
- cmten = true
- end
- end)
- cmten2 = true
- p2.Touched:connect(function(hit)
- if not cmten2 then return end
- local ehum = hit.Parent:findFirstChild("Humanoid")
- if ehum and ehum ~= hum then
- cmten2 = false
- damage(hit.Parent,2,3,0.1,'Normal')
- sound(367499850,hit,1,1)
- wait(0.15)
- cmten2 = true
- end
- end)
- wait(4)
- rush:Stop()
- attacking = false
- wait(3)
- cooldown = 0
- end
- end
- function transmutation()
- if hum.PlatformStand == true then return end
- if attacking then return end
- if cooldown2 ~= 0 then return end
- if character:FindFirstChild('pose') ~= nil then return end
- if RightArm.Anchored == true then return end
- if not planted then
- attacking = true
- planted = true
- anim(730734152)
- local h = Instance.new("Part")
- h.CanCollide = false
- h.Anchored = false
- h.Size = RightArm.Size
- h.Transparency = 1
- h.Parent = character
- game.Debris:AddItem(h, 0.8)
- local w = Instance.new("Weld")
- w.Parent = h
- w.Part0 = RightArm
- w.Part1 = h
- b1ten = true
- h.Touched:connect(function(hit)
- if not b1ten then return end
- local ehum = hit.Parent:findFirstChild("Humanoid")
- if not hit:IsDescendantOf(character) and hit.Size.X < 25 and hit.Size.Y < 25 and hit.Size.Z < 25 then
- b1ten = false
- sound(367499850,RightArm,1.3,0.9)
- Mine = hit
- wait(1)
- b1ten = true
- end
- end)
- wait(1)
- attacking = false
- elseif planted then
- if Mine == nil then
- planted = false
- return
- end
- attacking = true
- cooldown2 = 1
- planted = false
- anim(730734653)
- sound(596905502,RightArm,2,1)
- wait(0.8)
- local Boomboom = Instance.new("Explosion")
- Boomboom.Parent = Torso.Parent
- Boomboom.Position = Mine.Position
- Boomboom.ExplosionType = "CratersAndDebris"
- Boomboom.BlastRadius = 15
- Boomboom.BlastPressure = 30000
- Boomboom.DestroyJointRadiusPercent = 0
- game.Debris:AddItem(Boomboom, 3)
- Boomboom.Hit:connect(function(hit)
- damage(hit.Parent,75,90,1,'Knockdown')
- end)
- sound(596903906,Boomboom,1,1)
- wait(0.4)
- Mine = nil
- planted = false
- attacking = false
- wait(6)
- cooldown2 = 0
- end
- end
- function manualbomb()
- end
- function contactbomb()
- if hum.PlatformStand == true then return end
- if attacking == true then return end
- if character:FindFirstChild('pose') ~= nil then return end
- if cooldown3 ~= 0 then return end
- attacking = true
- cooldown3 = 1
- local poze = hum:LoadAnimation(animation4)
- poze:Play()
- removecontrol()
- wait(1)
- local boob = script.Bubble:Clone()
- boob.Parent = workspace
- boob.Name = 'Stoppable'
- boob.CFrame = HR.CFrame * CFrame.new(0,0,-3)
- debris(boob,10)
- local asd = Instance.new('BodyVelocity',boob)
- asd.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- asd.Velocity = HR.CFrame.lookVector * 100
- local connect = boob.Touched:Connect(function(hit)
- local target = hit.Parent:FindFirstChild('Torso')
- if target == Torso then target = nil end
- local waitunoob = Instance.new('BoolValue',target)
- waitunoob.Name = 'fagola'
- print('hold it righ thr pardnr1111')
- debris(waitunoob,2)
- if target:FindFirstChild('fagola') ~= nil then
- boob:Destroy()
- local Boomboom = Instance.new("Explosion",workspace)
- Boomboom.Position = target.Position
- Boomboom.ExplosionType = "CratersAndDebris"
- Boomboom.BlastRadius = 15
- Boomboom.BlastPressure = 30000
- Boomboom.DestroyJointRadiusPercent = 0
- game.Debris:AddItem(Boomboom, 5)
- sound(596903906,Boomboom,1,1)
- Boomboom.Hit:connect(function(hit)
- damage(hit.Parent,75,100,1,'Knockdown')
- end)
- end
- end)
- wait(1)
- poze:Stop()
- resumecontrol()
- attacking = false
- wait(10)
- cooldown3 = 0
- end
- function key(key)
- if attacking then return end
- if key == 'q' and Torso.Anchored == false then
- rushattack()
- elseif key == 'e' and RightArm.Anchored == false then
- transmutation()
- elseif key == 'r' and Torso.Anchored == false then
- contactbomb()
- elseif key == 'g' and Torso.Anchored == false then
- manualbomb()
- end
- end
- Mouse.KeyDown:connect(key)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement