SebTDZ

Boom

Jul 7th, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ScreenGui = Instance.new("ScreenGui",owner.PlayerGui)
  2. ScreenGui.Name = "Boom"
  3. local asd = Instance.new("TextButton",ScreenGui)
  4. asd.BackgroundColor3 = Color3.new(0,0,0)
  5. asd.BorderColor3 = Color3.new(0,0,0)
  6. asd.Name = "Boom"
  7. asd.Position = UDim2.new(1,-150,1,-180)
  8. asd.Size = UDim2.new(0,150,0,45)
  9. asd.Font = "SourceSansBold"
  10. asd.FontSize = "Size32"
  11. asd.Text = "Boom!"
  12. asd.TextColor3 = Color3.new(255,255,255)
  13. asd.MouseButton1Down:connect(function()
  14.     if owner.Character:FindFirstChild("ForceField") then
  15.         local Explosion = Instance.new("Explosion", owner.Character)
  16.         Explosion.BlastRadius = 100
  17.         Explosion.Position = owner.Character.HumanoidRootPart.Position
  18.     else
  19.         local ForceField = Instance.new("ForceField", owner.Character)
  20.         ForceField.Visible = false
  21.     end
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment