Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --YOU MUST BE R15 FOR THIS GEAR TO WORK!!
- --Otherwise, Replace all lines that say LowerTorso with just Torso instead. The script will not work for you if you do not do this.
- --Replace firemomo45 with your name
- local player = game.Workspace.firemomo45
- local Tool = Instance.new("Tool",player)
- Tool.Name = "SuperSlamNukeAttack"
- Tool.Parent = player
- Tool.TextureId = "rbxassetid://77829200"
- local Ball = Instance.new("Part",Tool)
- Ball.Name = "Handle"
- Ball.BrickColor = BrickColor.White()
- Ball.Material = 272
- Ball.Reflectance = 0.1
- Ball.Transparency = 0.5
- Ball.Size = Vector3.new(2,2,2)
- Ball.Shape = 0
- local Boing = Instance.new("Sound",Ball)
- Boing.Name = "Boing"
- Boing.SoundId = "rbxassetid://165969964"
- Boing.Volume = 1
- local Charge = Instance.new("Sound",Ball)
- Charge.Name = "Charge"
- Charge.Volume = 1
- local Part1 = Instance.new("ParticleEmitter",Ball)
- Part1.Name = "P1"
- local color1 = Color3.new(248,248,248)
- local color2 = Color3.new(85,255,255)
- Part1.Color = ColorSequence.new(color1,color2)
- Part1.LightEmission = 1
- Part1.LightInfluence = 1
- Part1.Size = NumberSequence.new(40)
- local z1 = 0
- Part1.Transparency = NumberSequence.new(z1)
- Part1.Enabled = false
- Part1.Lifetime = NumberRange.new(3)
- Part1.Rate = 60
- Part1.RotSpeed = NumberRange.new(30)
- Part1.Speed = NumberRange.new(20)
- Part1.SpreadAngle = Vector2.new(360,360)
- local Part2 = Instance.new("ParticleEmitter",Ball)
- Part2.Name = "P2"
- local color1 = Color3.new(255,255,255)
- Part2.Color = ColorSequence.new(color1,color1)
- Part2.LightEmission = 0
- Part2.LightInfluence = 1
- Part2.Size = NumberSequence.new(40)
- local n1 = 0.5
- Part2.Transparency = NumberSequence.new(n1)
- Part2.Enabled = false
- Part2.Lifetime = NumberRange.new(10)
- Part2.ZOffset = -1
- Part2.Rate = 50
- Part2.RotSpeed = NumberRange.new(0)
- Part2.Speed = NumberRange.new(50)
- Part2.SpreadAngle = Vector2.new(100,100)
- Part2.Texture = "rbxassetid://249338959"
- local Part3 = Instance.new("ParticleEmitter",Ball)
- Part3.Name = "P3"
- local color1 = Color3.new(85,255,255)
- Part3.Color = ColorSequence.new(color1,color1)
- Part3.LightEmission = 1
- Part3.LightInfluence = 2
- Part3.Size = NumberSequence.new(2)
- local m1 = 0
- local n2 = 1
- Part3.Transparency = NumberSequence.new(m1,n2)
- Part3.Enabled = false
- Part3.Lifetime = NumberRange.new(5)
- Part3.ZOffset = -1
- Part3.Rate = 10
- Part3.RotSpeed = NumberRange.new(60)
- Part3.Speed = NumberRange.new(0)
- Part3.SpreadAngle = Vector2.new(0,0)
- local Part4 = Instance.new("ParticleEmitter",Ball)
- Part4.Name = "P4"
- local color1 = Color3.new(141,96,44)
- Part4.Color = ColorSequence.new(color1,color1)
- Part4.LightEmission = 0
- Part4.LightInfluence = 1
- Part4.Size = NumberSequence.new(4)
- local f1 = 0
- local f2 = 1
- Part4.Transparency = NumberSequence.new(f1,f2)
- Part4.Enabled = false
- Part4.Lifetime = NumberRange.new(5)
- Part4.ZOffset = -1
- Part4.Rate = 50
- local k1 = 0
- local k2 = 360
- local k3 = 100
- Part4.RotSpeed = NumberRange.new(k1,k3)
- Part4.Rotation = NumberRange.new(k1,k2)
- Part4.Speed = NumberRange.new(100)
- Part4.Acceleration = Vector3.new(0,-40,0)
- Part4.SpreadAngle = Vector2.new(100,100)
- Part4.Texture = "rbxassetid://281634786"
- local Light = Instance.new("PointLight",Ball)
- Light.Brightness = 23423
- Light.Range = 10
- Light.Enabled = false
- --Part 2 of this script
- function fire(direction)
- local Human = Tool.Parent:FindFirstChildOfClass("Humanoid")
- Human.JumpPower = 200
- Human.Jump = true
- wait(1)
- Tool.Parent.Torso.Anchored = true
- local animation = Instance.new("Animation")
- animation.AnimationId = "http://www.roblox.com/Asset?ID=927440027"
- local animTrack = Human:LoadAnimation(animation)
- animTrack:Play()
- Ball.Charge:Play()
- Ball.Transparency = .5
- Ball.P3.Enabled = true
- Ball.PointLight.Enabled = true
- wait(2)
- Ball.Transparency = 1
- Ball.P3.Enabled = false
- Ball.PointLight.Enabled = false
- local vCharacter = Tool.Parent
- local missile = Instance.new("Part")
- local spawnPos = vCharacter.PrimaryPart.Position
- spawnPos = spawnPos + (direction * 5)
- missile.Position = spawnPos
- missile.Size = Vector3.new(2,2,2)
- missile.Velocity = Vector3.new(0,-100,0)
- missile.BrickColor = BrickColor.White()
- missile.Shape = 0
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = "Cannon Shot"
- missile.Elasticity = 1
- missile.Reflectance = .1
- missile.Friction = 0
- missile.Transparency = 0.5
- Tool.Handle.Boing:clone().Parent = missile
- Tool.Handle.P1:clone().Parent = missile
- Tool.Handle.P2:clone().Parent = missile
- Tool.Handle.P3:clone().Parent = missile
- Tool.Handle.P4:clone().Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- missile.Parent = game.Workspace
- wait(1)
- Tool.Parent.Torso.Anchored = false
- Human.JumpPower = 50
- --Put what you need here
- connection = missile.Touched:connect(function(hit)
- local damage = 2500
- missile.P3.Enabled = true
- local r = game:service("RunService")
- local debris = game:GetService("Debris")
- local alreadytouched = false
- if alreadytouched == false then
- alreadytouched = true
- if hit.Parent == nil then return end
- Ball.Boing:play()
- missile.Anchored = true
- missile.Orientation = Vector3.new(-0.05, -90, -0.02)
- local explosion = Instance.new("Explosion")
- explosion.DestroyJointRadiusPercent = 0
- explosion.BlastRadius = 50
- explosion.BlastPressure = 10000
- explosion.Position = missile.Position
- explosion.Parent = game.Workspace
- explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
- local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid ~=nil then
- tagHumanoid(humanoid)
- humanoid:TakeDamage(damage)
- if connection then connection:disconnect() end
- else
- damage = damage / 2
- if damage < 2 then
- if connection then connection:disconnect() end
- end
- end
- missile.Transparency = 1
- missile.P1.Enabled = true
- missile.P2.Enabled = true
- missile.P3.Enabled = false
- missile.P4.Enabled = true
- wait(3)
- missile.P1.Enabled = false
- missile.P2.Enabled = false
- missile.P4.Enabled = false
- wait(10)
- missile.Parent = nil
- end
- function onPlayerBlownUp(part, distance, creator)
- local humanoid = part.Parent:FindFirstChildOfClass("Humanoid")
- if humanoid ~= nil then
- humanoid:TakeDamage(1500)
- end
- tagHumanoid(humanoid, creator)
- end
- function tagHumanoid(humanoid)
- local tag = missile:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag:clone()
- new_tag.Parent = humanoid
- debris:AddItem(new_tag, 2)
- end
- end
- end)
- ------------------------
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- fire(lookAt)
- wait(10)
- Tool.Enabled = true
- end
- Tool.Activated:connect(onActivated)
- Tool.Equipped:connect(function()
- Tool.Handle.Transparency = 1
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement