Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local gui = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local close = Instance.new("TextButton")
- local Frame_2 = Instance.new("Frame")
- local open = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(61, 178, 255)
- Frame.Position = UDim2.new(0, 0, 0.425385892, 0)
- Frame.Size = UDim2.new(0, 217, 0, 143)
- Frame.Visible = false
- frame.active = true
- frame.draggable = true
- gui.Name = "gui"
- gui.Parent = Frame
- gui.BackgroundColor3 = Color3.fromRGB(18, 255, 1)
- gui.Position = UDim2.new(0.275090843, 0, 0.563398838, 0)
- gui.Size = UDim2.new(0, 97, 0, 39)
- gui.Font = Enum.Font.SourceSans
- gui.Text = "GIVE REMINGTON"
- gui.TextColor3 = Color3.fromRGB(0, 0, 0)
- gui.TextSize = 14.000
- gui.MouseButton1Down:connect(function()
- local args = {
- [1] = workspace.Prison_ITEMS.giver:FindFirstChild("Remington 870").ITEMPICKUP
- }
- workspace.remote.Itemhandler:InvokeServer(unpack(args))
- end)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
- TextLabel.Position = UDim2.new(0, 0, -0.000131964684, 0)
- TextLabel.Size = UDim2.new(0, 217, 0, 26)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "TEST"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 14.000
- close.Name = "close"
- close.Parent = Frame
- close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- close.Position = UDim2.new(0.842898965, 0, -0.000131964684, 0)
- close.Size = UDim2.new(0, 34, 0, 16)
- close.Font = Enum.Font.Fondamento
- close.Text = "X"
- close.TextColor3 = Color3.fromRGB(255, 0, 4)
- close.TextScaled = true
- close.TextSize = 66.000
- close.TextWrapped = true
- close.MouseButton1Down:connect(function()
- main.visible = false
- open.visible = true
- end)
- Frame_2.Parent = ScreenGui
- Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frame_2.Position = UDim2.new(0, 0, 0.727272749, 0)
- Frame_2.Size = UDim2.new(0, 82, 0, 27)
- Frame_2.active = true
- Frame_2.Draggable = false
- open.Name = "open"
- open.Parent = Frame_2
- open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- open.Position = UDim2.new(-0.00793361664, 0, -0.0258765221, 0)
- open.Size = UDim2.new(0, 82, 0, 27)
- open.Font = Enum.Font.SourceSans
- open.Text = "open"
- open.TextColor3 = Color3.fromRGB(0, 0, 0)
- open.TextSize = 14.000
- open.MouseButton1Down:connect(function()
- frame.visible = true
- open.visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement