Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local RedwoodGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local open = Instance.new("TextButton")
- local close = Instance.new("TextButton")
- local WearSheriff = Instance.new("TextButton")
- local GiveM60 = Instance.new("TextButton")
- local GiveDragunov = Instance.new("TextButton")
- local GiveFakeID = Instance.new("TextButton")
- local GiveHandcuffs = Instance.new("TextButton")
- local GiveACR = Instance.new("TextButton")
- local Credits = Instance.new("TextLabel")
- local CustomGun = Instance.new("TextLabel")
- local Execute = Instance.new("TextButton")
- local GunName = Instance.new("TextBox")
- -- Properties
- WearSheriff.Name = "WearSheriff"
- WearSheriff.Parent = main
- WearSheriff.BackgroundColor3 = Color3.new(1, 1, 1)
- WearSheriff.Position = UDim2.new(0.755681872, 0, 0.390977442, 0)
- WearSheriff.Size = UDim2.new(0, 73, 0, 59)
- WearSheriff.Font = Enum.Font.SourceSans
- WearSheriff.Text = "Wear Sheriff"
- WearSheriff.TextSize = 14
- GiveM60.Name = "GiveM60"
- GiveM60.Parent = main
- GiveM60.BackgroundColor3 = Color3.new(1, 1, 1)
- GiveM60.Position = UDim2.new(0.0340909064, 0, 0.0413533822, 0)
- GiveM60.Size = UDim2.new(0, 73, 0, 59)
- GiveM60.Font = Enum.Font.SourceSans
- GiveM60.Text = "Give M60"
- GiveM60.TextSize = 14
- GiveDragunov.Name = "GiveDragunov"
- GiveDragunov.Parent = main
- GiveDragunov.BackgroundColor3 = Color3.new(1, 1, 1)
- GiveDragunov.Position = UDim2.new(0.394886345, 0, 0.0413533822, 0)
- GiveDragunov.Size = UDim2.new(0, 73, 0, 59)
- GiveDragunov.Font = Enum.Font.SourceSans
- GiveDragunov.Text = "Give Dragunov"
- GiveDragunov.TextSize = 14
- GiveFakeID.Name = "GiveFakeID"
- GiveFakeID.Parent = main
- GiveFakeID.BackgroundColor3 = Color3.new(1, 1, 1)
- GiveFakeID.Position = UDim2.new(0.755681813, 0, 0.0413533822, 0)
- GiveFakeID.Size = UDim2.new(0, 73, 0, 59)
- GiveFakeID.Font = Enum.Font.SourceSans
- GiveFakeID.Text = "Give Fake ID"
- GiveFakeID.TextSize = 14
- GiveHandcuffs.Name = "GiveHandcuffs"
- GiveHandcuffs.Parent = main
- GiveHandcuffs.BackgroundColor3 = Color3.new(1, 1, 1)
- GiveHandcuffs.Position = UDim2.new(0.394886374, 0, 0.38909775, 0)
- GiveHandcuffs.Size = UDim2.new(0, 73, 0, 59)
- GiveHandcuffs.Font = Enum.Font.SourceSans
- GiveHandcuffs.Text = "Give Handcuffs"
- GiveHandcuffs.TextSize = 14
- GiveACR.Name = "GiveACR"
- GiveACR.Parent = main
- GiveACR.BackgroundColor3 = Color3.new(1, 1, 1)
- GiveACR.Position = UDim2.new(0.0340909064, 0, 0.390977442, 0)
- GiveACR.Size = UDim2.new(0, 73, 0, 59)
- GiveACR.Font = Enum.Font.SourceSans
- GiveACR.Text = "Give ACR"
- GiveACR.TextSize = 14
- Credits.Name = "Credits"
- Credits.Parent = main
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BorderColor3 = Color3.new(1, 1, 1)
- Credits.Position = UDim2.new(0.613636374, 0, 0.672932327, 0)
- Credits.Size = UDim2.new(0, 123, 0, 82)
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Made by Cowboys"
- Credits.TextSize = 14
- RedwoodGui.Name = "RedwoodGui"
- RedwoodGui.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = RedwoodGui
- main.Visible = false
- main.BackgroundColor3 = Color3.new(1, 1, 1)
- main.Position = UDim2.new(0.140061155, 0, 0.231051356, 0)
- main.Size = UDim2.new(0, 352, 0, 266)
- open.Name = "open"
- open.Parent = RedwoodGui
- open.BackgroundColor3 = Color3.new(1, 1, 1)
- open.Position = UDim2.new(0, 0, 0.769957781, 0)
- open.Size = UDim2.new(0, 71, 0, 43)
- open.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- open.Font = Enum.Font.SourceSans
- open.Text = "Open"
- open.TextSize = 14
- close.Name = "close"
- close.Parent = RedwoodGui
- close.Visible = false
- close.BackgroundColor3 = Color3.new(1, 1, 1)
- close.Position = UDim2.new(0, 0, 0.769957781, 0)
- close.Size = UDim2.new(0, 71, 0, 43)
- close.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- close.Font = Enum.Font.SourceSans
- close.Text = "Close"
- close.TextSize = 14
- CustomGun.Name = "CustomGun"
- CustomGun.Parent = main
- CustomGun.BackgroundColor3 = Color3.new(1, 1, 1)
- CustomGun.BorderColor3 = Color3.new(1, 1, 1)
- CustomGun.Position = UDim2.new(0.0340909064, 0, 0.646616578, 0)
- CustomGun.Size = UDim2.new(0, 73, 0, 59)
- CustomGun.Font = Enum.Font.SourceSans
- CustomGun.Text = "Custom Gun"
- CustomGun.TextSize = 14
- Execute.Name = "Execute"
- Execute.Parent = main
- Execute.BackgroundColor3 = Color3.new(1, 1, 1)
- Execute.Position = UDim2.new(0.289772719, 0, 0.725563884, 0)
- Execute.Size = UDim2.new(0, 45, 0, 61)
- Execute.Font = Enum.Font.SourceSans
- Execute.Text = "Execute"
- Execute.TextSize = 14
- GunName.Name = "GunName"
- GunName.Parent = main
- GunName.BackgroundColor3 = Color3.new(1, 1, 1)
- GunName.Position = UDim2.new(0.0198863633, 0, 0.819548845, 0)
- GunName.Size = UDim2.new(0, 83, 0, 36)
- GunName.Font = Enum.Font.SourceSans
- GunName.Text = "Gun Name Here"
- GunName.TextSize = 14
- open.MouseButton1Down:connect(function()
- main.Visible = true
- main:TweenPosition(UDim2.new(0.14, 0,0.231, 0), 'Out', 'Bounce', 1, true)
- open.Visible = false
- close.Visible = true
- end)
- close.MouseButton1Down:connect(function()
- main:TweenPosition(UDim2.new(0.14, -700,0.231, 0), 'In', 'Linear', 1, true)
- open.Visible = true
- close.Visible = false
- end)
- GiveM60.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M60")
- end)
- GiveDragunov.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Dragunov")
- end)
- GiveFakeID.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Fake ID Card")
- end)
- GiveHandcuffs.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Handcuffs")
- end)
- Execute.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", GunName.Text)
- end)
- WearSheriff.MouseButton1Down:connect(function()
- Workspace.resources.RemoteEvent:FireServer("removeHats")
- Workspace.resources.RemoteEvent:FireServer("wearPants", "rbxassetid://566262750")
- Workspace.resources.RemoteEvent:FireServer("wearShirt", "rbxassetid://229581928")
- Workspace.resources.RemoteEvent:FireServer("wearHat", Workspace.troopHat)
- end)
- GiveACR.MouseButton1Down:connect(function()
- game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "ACR")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement