Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("Script by: supermarinete");InternalData = {}
- do
- model = Instance.new("Model")
- model.Parent = game.Workspace
- model.Name = "Button"
- part = Instance.new("Part")
- part.Parent = model
- part.Position = Vector3.new(28.965, 2.588, 10.93)
- part.Size = Vector3.new(17.93, 0.75, 17.86)
- part.Anchored = true
- part2 = Instance.new("Part")
- part2.Anchored = true
- part2.Size = Vector3.new(11.74, 0.31, 14.23)
- part2.Position = Vector3.new(29.06, 3.118, 11.035)
- part2.Parent = model
- part2.BrickColor = BrickColor.new("Really red")
- part3 = Instance.new("Part")
- part3.Anchored = true
- part3.Position = Vector3.new(29.159, 5.558, 18.92)
- part3.Size = Vector3.new(1.65, 4.57, 0.31)
- part3.Parent = model
- part4 = Instance.new("Part")
- part4.Anchored = true
- part4.BrickColor = BrickColor.new("Burnt Sienna")
- part4.Size = Vector3.new(1.65, 4.57, 0.31)
- part4.Position = Vector3.new(29.159, 5.558, 18.92)
- part4.Parent = model
- part5 = Instance.new("Part")
- part5.Parent = model
- part5.Anchored = true
- part5.BrickColor = BrickColor.new("Burnt Sienna")
- part5.Size = Vector3.new(8.47, 4.57, 0.31)
- part5.Position = Vector3.new(29.259, 10.128, 18.92)
- Surface = Instance.new("SurfaceGui")
- Surface.Parent = part5
- textla = Instance.new("TextLabel")
- textla.Parent = Surface
- textla.Text = "DON'T PRESS THE BUTTON!"
- textla.TextScaled = true
- textla.Size = UDim2.new(1,0,1,0)
- textla.BackgroundTransparency = 1
- part2.Touched:Connect(function(meltdown)
- model.Parent = game.Lighting
- sound = Instance.new("Sound")
- sound.Name = "MELTDOWN"
- sound.Volume = 10
- sound.Parent = game.Lighting
- sound.SoundId = "rbxassetid://1129870837"
- sound.Looped = true
- sound.Playing = true
- model2 = Instance.new("Part")
- model2.Anchored = true
- model2.Orientation = Vector3.new(0, -85, 0)
- model2.Size = Vector3.new(164.54, 73.22, 2)
- model2.Position = Vector3.new(12.509, 113.9, 13.213)
- model2.Parent = game.Workspace
- surface2 = Instance.new("SurfaceGui")
- surface2.Parent = model2
- textla2 = Instance.new("TextLabel")
- textla2.Parent = surface2
- textla2.Size = UDim2.new(1,0,1,0)
- textla2.Position = UDim2.new(0,0,0,0)
- textla2.Visible = true
- textla2.Text = "You press the self-destruct button."
- textla2.TextScaled = true
- wait(7)
- textla2.Text = "Self-destruct in | minute"
- wait(4)
- model2:Destroy()
- wait(60)
- print("boom")
- nuke = Instance.new("Part")
- nuke.Parent = game.Workspace
- nuke.Shape = "Ball"
- nuke.Anchored = true
- nuke.Position = Vector3.new(-20.706, -11.019, 23.91)
- nuke.BrickColor = BrickColor.new("New Yeller")
- nuke.Touched:Connect(onTouched)
- while true do
- wait(0.01)
- nuke.Size = nuke.Size + Vector3.new(3, 3, 3)
- end
- end)
- function onTouched(DED)
- local humanoid = DED.Parent:FindFirstChild("Humanoid")
- if (humanoid ~= nil) then -- if a humanoid exists, then
- humanoid.Health = 0 -- damage the humanoid
- end
- end
- end
Advertisement
Advertisement