Advertisement
starlazerpow

FIRST SCRIPT

Nov 13th, 2021
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.52 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local gui = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local close = Instance.new("TextButton")
  11. local Frame_2 = Instance.new("Frame")
  12. local open = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.CoreGui
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.BackgroundColor3 = Color3.fromRGB(61, 178, 255)
  20. Frame.Position = UDim2.new(0, 0, 0.425385892, 0)
  21. Frame.Size = UDim2.new(0, 217, 0, 143)
  22. Frame.Visible = false
  23. frame.active = true
  24. frame.draggable = true
  25.  
  26. gui.Name = "gui"
  27. gui.Parent = Frame
  28. gui.BackgroundColor3 = Color3.fromRGB(18, 255, 1)
  29. gui.Position = UDim2.new(0.275090843, 0, 0.563398838, 0)
  30. gui.Size = UDim2.new(0, 97, 0, 39)
  31. gui.Font = Enum.Font.SourceSans
  32. gui.Text = "GIVE REMINGTON"
  33. gui.TextColor3 = Color3.fromRGB(0, 0, 0)
  34. gui.TextSize = 14.000
  35. gui.MouseButton1Down:connect(function()
  36. local args = {
  37.     [1] = workspace.Prison_ITEMS.giver:FindFirstChild("Remington 870").ITEMPICKUP
  38. }
  39.  
  40.     workspace.remote.Itemhandler:InvokeServer(unpack(args))
  41. end)
  42.  
  43. TextLabel.Parent = Frame
  44. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  45. TextLabel.Position = UDim2.new(0, 0, -0.000131964684, 0)
  46. TextLabel.Size = UDim2.new(0, 217, 0, 26)
  47. TextLabel.Font = Enum.Font.SourceSans
  48. TextLabel.Text = "TEST"
  49. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. TextLabel.TextSize = 14.000
  51.  
  52. close.Name = "close"
  53. close.Parent = Frame
  54. close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  55. close.Position = UDim2.new(0.842898965, 0, -0.000131964684, 0)
  56. close.Size = UDim2.new(0, 34, 0, 16)
  57. close.Font = Enum.Font.Fondamento
  58. close.Text = "X"
  59. close.TextColor3 = Color3.fromRGB(255, 0, 4)
  60. close.TextScaled = true
  61. close.TextSize = 66.000
  62. close.TextWrapped = true
  63. close.MouseButton1Down:connect(function()
  64. main.visible = false
  65. open.visible = true
  66. end)
  67.  
  68. Frame_2.Parent = ScreenGui
  69. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  70. Frame_2.Position = UDim2.new(0, 0, 0.727272749, 0)
  71. Frame_2.Size = UDim2.new(0, 82, 0, 27)
  72. Frame_2.active = true
  73. Frame_2.Draggable = false
  74.  
  75. open.Name = "open"
  76. open.Parent = Frame_2
  77. open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  78. open.Position = UDim2.new(-0.00793361664, 0, -0.0258765221, 0)
  79. open.Size = UDim2.new(0, 82, 0, 27)
  80. open.Font = Enum.Font.SourceSans
  81. open.Text = "open"
  82. open.TextColor3 = Color3.fromRGB(0, 0, 0)
  83. open.TextSize = 14.000
  84. open.MouseButton1Down:connect(function()
  85. frame.visible = true
  86. open.visible = false
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement