Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui",owner.PlayerGui)
- ScreenGui.Name = "Boom"
- local asd = Instance.new("TextButton",ScreenGui)
- asd.BackgroundColor3 = Color3.new(0,0,0)
- asd.BorderColor3 = Color3.new(0,0,0)
- asd.Name = "Boom"
- asd.Position = UDim2.new(1,-150,1,-180)
- asd.Size = UDim2.new(0,150,0,45)
- asd.Font = "SourceSansBold"
- asd.FontSize = "Size32"
- asd.Text = "Boom!"
- asd.TextColor3 = Color3.new(255,255,255)
- asd.MouseButton1Down:connect(function()
- if owner.Character:FindFirstChild("ForceField") then
- local Explosion = Instance.new("Explosion", owner.Character)
- Explosion.BlastRadius = 100
- Explosion.Position = owner.Character.HumanoidRootPart.Position
- else
- local ForceField = Instance.new("ForceField", owner.Character)
- ForceField.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment