Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bill = Instance.new("SurfaceGui")
- bill.Name = "BillBoard"
- local Text = Instance.new("TextLabel")
- Text.Text = "Playing: The Gun, By Ryanawesome222"
- Text.BackgroundTransparency = 1
- Text.Parent = game.Players.LocalPlayer.Character.Head
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local shoot = Instance.new("TextButton")
- local fire = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextLabel.Parent = ScreenGui
- TextLabel.Active = true
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Draggable = true
- TextLabel.Position = UDim2.new(0, 95, 0, 59)
- TextLabel.Size = UDim2.new(0, 200, 0, 26)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "The Gun"
- TextLabel.TextSize = 14
- shoot.Name = "shoot"
- shoot.Parent = TextLabel
- shoot.BackgroundColor3 = Color3.new(1, 1, 1)
- shoot.Position = UDim2.new(0, 0, 0, 26)
- shoot.Size = UDim2.new(0, 200, 0, 24)
- shoot.Font = Enum.Font.SourceSans
- shoot.FontSize = Enum.FontSize.Size14
- shoot.Text = "Random Shoot Time"
- shoot.TextSize = 14
- fire.Name = "fire"
- fire.Parent = TextLabel
- fire.BackgroundColor3 = Color3.new(1, 1, 1)
- fire.Position = UDim2.new(0, 0, 0, 52)
- fire.Size = UDim2.new(0, 200, 0, 23)
- fire.Font = Enum.Font.SourceSans
- fire.FontSize = Enum.FontSize.Size14
- fire.Text = "Fire"
- fire.TextSize = 14
- fire.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Head:Destroy()
- end)
- shoot.MouseButton1Click:connect(function()
- local r = {"30","10","2","20","5","24"}
- wait(r)
- game.Players.LocalPlayer.Character.Head:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement