Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Hello dear viewer of this script!
- --I am Nutgear, the creator of this script, i do not recommend copying this.
- --But you must copy and paste the raw code to a coding/text application (Notepad++ or basically Notepad).
- --Now, you can replace the BombPosition value (default is workspace.xXRedPawnerXx.Head.Position) to whatever you want.
- --example 1: Vector3.new(200,0,150)
- --example 2: workspace.NOOBYOUHATE.Torso.Position
- --We are not done yet! You can change the size value (default is 100) to whatever number you want.
- --For example: 1024
- --If you are finished, if you are in a script builder, copy and paste the edited code to the command box or chat the code like this:
- --c/(Roblox-Lua code)
- --If you are in a explode that executes a code, i recommend to copy and paste the edited code to the script box and press the execute ---button.
- BombPosition = game.Players.LocalPlayer.Character.Head.Position --Vector3.new(0,0,0)
- NukeColor = BrickColor.Yellow()
- Size = 50 --Max radius is 682
- debounce = true
- function bomb()
- if debounce then
- debounce = false
- local s = Instance.new("Part",workspace)
- s.CanCollide = false
- script.Name = "NuclearBomb"
- local s1 = Instance.new("Sound",s)
- s1.Volume = 5
- s1.SoundId = "rbxassetid://12221984"
- s1:Play()
- script.Parent = s
- s.Name = "Fireball"
- script.Parent = s
- s.Position = BombPosition
- s.Shape = "Ball"
- s.Locked = true
- s.BrickColor = NukeColor
- s.TopSurface = "Smooth"
- s.BottomSurface = "Smooth"
- s.Transparency = 0.3
- s.Touched:connect(function(hit)
- if not hit.Anchored then
- hit.BrickColor = BrickColor.new("Black")
- hit.Velocity = hit.Velocity + Vector3.new(math.random(-15,15),12.285,math.random(-15,15))
- end
- if not hit.Locked then
- hit.Anchored = false
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- h.Sit = true
- h:TakeDamage(1.753)
- else
- hit:BreakJoints()
- end
- end)
- local pos = s.CFrame
- for i = 2,Size do
- s.Size = Vector3.new(i*3,i*0,i*3)
- s.CFrame = pos
- s.Velocity = Vector3.new(0,0,0)
- wait()
- end
- s:Remove()
- end
- end
- bomb()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement