1andforhelps

Untitled

Jul 10th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("Script by: supermarinete");InternalData = {}
  2. do
  3.     model = Instance.new("Model")
  4.     model.Parent = game.Workspace
  5.     model.Name = "Button"
  6.     part = Instance.new("Part")
  7.     part.Parent = model
  8.     part.Position = Vector3.new(28.965, 2.588, 10.93)
  9.     part.Size = Vector3.new(17.93, 0.75, 17.86)
  10.     part.Anchored = true
  11.     part2 = Instance.new("Part")
  12.     part2.Anchored = true
  13.     part2.Size = Vector3.new(11.74, 0.31, 14.23)
  14.     part2.Position = Vector3.new(29.06, 3.118, 11.035)
  15.     part2.Parent = model
  16.     part2.BrickColor = BrickColor.new("Really red")
  17.     part3 = Instance.new("Part")
  18.     part3.Anchored = true
  19.     part3.Position = Vector3.new(29.159, 5.558, 18.92)
  20.     part3.Size = Vector3.new(1.65, 4.57, 0.31)
  21.     part3.Parent = model
  22.     part4 = Instance.new("Part")
  23.     part4.Anchored = true
  24.     part4.BrickColor = BrickColor.new("Burnt Sienna")
  25.     part4.Size = Vector3.new(1.65, 4.57, 0.31)
  26.     part4.Position = Vector3.new(29.159, 5.558, 18.92)
  27.     part4.Parent = model
  28.     part5 = Instance.new("Part")
  29.     part5.Parent = model
  30.     part5.Anchored = true
  31.     part5.BrickColor = BrickColor.new("Burnt Sienna")
  32.     part5.Size = Vector3.new(8.47, 4.57, 0.31)
  33.     part5.Position = Vector3.new(29.259, 10.128, 18.92)
  34.     Surface = Instance.new("SurfaceGui")
  35.     Surface.Parent = part5
  36.     textla = Instance.new("TextLabel")
  37.     textla.Parent = Surface
  38.     textla.Text = "DON'T PRESS THE BUTTON!"
  39.     textla.TextScaled = true
  40.     textla.Size = UDim2.new(1,0,1,0)
  41.     textla.BackgroundTransparency = 1
  42.     part2.Touched:Connect(function(meltdown)
  43.         model.Parent = game.Lighting
  44.         sound = Instance.new("Sound")
  45.         sound.Name = "MELTDOWN"
  46.         sound.Volume = 10
  47.         sound.Parent = game.Lighting
  48.         sound.SoundId = "rbxassetid://1129870837"
  49.         sound.Looped = true
  50.         sound.Playing = true
  51.         model2 = Instance.new("Part")
  52.         model2.Anchored = true
  53.         model2.Orientation = Vector3.new(0, -85, 0)
  54.         model2.Size = Vector3.new(164.54, 73.22, 2)
  55.         model2.Position = Vector3.new(12.509, 113.9, 13.213)
  56.         model2.Parent = game.Workspace
  57.         surface2 = Instance.new("SurfaceGui")
  58.         surface2.Parent = model2
  59.         textla2 = Instance.new("TextLabel")
  60.         textla2.Parent = surface2
  61.         textla2.Size = UDim2.new(1,0,1,0)
  62.         textla2.Position = UDim2.new(0,0,0,0)
  63.         textla2.Visible = true
  64.         textla2.Text = "You press the self-destruct button."
  65.         textla2.TextScaled = true
  66.         wait(7)
  67.         textla2.Text = "Self-destruct in | minute"
  68.         wait(4)
  69.         model2:Destroy()
  70.         wait(60)
  71.         print("boom")
  72.         nuke = Instance.new("Part")
  73.         nuke.Parent = game.Workspace
  74.         nuke.Shape = "Ball"
  75.         nuke.Anchored = true
  76.         nuke.Position = Vector3.new(-20.706, -11.019, 23.91)
  77.         nuke.BrickColor = BrickColor.new("New Yeller")
  78.         nuke.Touched:Connect(onTouched)
  79.         while true do
  80.             wait(0.01)
  81.             nuke.Size = nuke.Size + Vector3.new(3, 3, 3)
  82.         end
  83.     end)
  84.     function onTouched(DED)
  85.         local humanoid = DED.Parent:FindFirstChild("Humanoid")
  86.         if (humanoid ~= nil) then   -- if a humanoid exists, then
  87.         humanoid.Health = 0 -- damage the humanoid
  88.     end
  89. end
  90. end
Add Comment
Please, Sign In to add comment