Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bomb = Instance.new("Part", workspace)
- bomb.CFrame = CFrame.new(Vector3.new(0,0,0))
- bomb.BrickColor = BrickColor.new("New Yeller")
- bomb.Anchored = true
- bomb.CanCollide = false
- bomb.Size = Vector3.new()
- bomb.Material = Enum.Material.Neon
- local increase = 0.01
- local player = Instance.new("Hint", workspace)
- player.Text = game:GetService("Players").LocalPlayer.Name.. " blew up the entire place."
- local human = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Humanoid")
- if human then
- local camera = game.Workspace.CurrentCamera
- while true do
- for i,v in pairs(game.Workspace:GetChildren()) do
- local humanoid = v:FindFirstChild("Humanoid")
- if humanoid and humanoid ~= human then
- local target = nil
- for i,b in pairs(v:GetChildren()) do
- if b:IsA("Part") or b:IsA("UnionOperation") then
- target = b
- end
- end
- if target then
- if (game:GetService("Players").LocalPlayer.Character.Torso.Position - target.Position).magnitude < bomb.Size.Y then
- target:Destroy()
- end
- end
- end
- end
- bomb.Size = Vector3.new(increase,increase,increase)
- bomb.CFrame = bomb.CFrame * CFrame.Angles(math.rad(increase),math.rad(increase),math.rad(increase))
- increase = increase + 1
- camera.CameraType = "Scriptable"
- camera.CFrame = CFrame.new(Vector3.new(increase * 2,increase * 2,15), bomb.Position)
- wait()
- end
- else
- bomb:Destroy()
- end
Add Comment
Please, Sign In to add comment