Advertisement
DrawingJhon

GameList GUI

Apr 17th, 2021
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.10 KB | None | 0 0
  1. local gameList = Instance.new("ScreenGui")
  2. gameList.Name = "NAH" --"SB_GameList"
  3. local frame = Instance.new("Frame", gameList)
  4. frame.AnchorPoint = Vector2.new(0.5, 0.5)
  5. frame.BackgroundColor3 = Color3.new()
  6. frame.BackgroundTransparency = 0.6
  7. frame.BorderSizePixel = 0
  8. frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  9. frame.Size = UDim2.new(0, 500, 0, 300)
  10. do
  11.     local refresh = Instance.new("TextButton", frame)
  12.     refresh.Name = "Refresh"
  13.     refresh.Active = true
  14.     refresh.BackgroundColor3 = Color3.new()
  15.     refresh.BackgroundTransparency = 0.75
  16.     refresh.BorderColor3 = Color3.new(1, 1, 1)
  17.     refresh.Font = "Legacy"
  18.     refresh.FontSize = "Size8"
  19.     refresh.Position = UDim2.new(0.01, 0, 0, 5)
  20.     refresh.Size = UDim2.new(0, 58, 0, 20)
  21.     refresh.Text = "Refresh"
  22.     refresh.TextColor3 = Color3.new(1, 1, 1)
  23.     refresh.TextStrokeColor3 = Color3.new()
  24.     refresh.TextStrokeTransparency = 1
  25.     local exit = Instance.new("TextButton", frame)
  26.     exit.Name = "Exit"
  27.     exit.AnchorPoint = Vector2.new(1, 0)
  28.     exit.BackgroundColor3 = Color3.new()
  29.     exit.BackgroundTransparency = 0.75
  30.     exit.BorderColor3 = Color3.new(1, 1, 1)
  31.     exit.Font = "Legacy"
  32.     exit.FontSize = "Size8"
  33.     exit.Position = UDim2.new(0.99, 0, 0, 5)
  34.     exit.Size = UDim2.new(0, 30, 0, 20)
  35.     exit.Text = "Exit"
  36.     exit.TextColor3 = Color3.new(1, 0, 0)
  37.     exit.TextStrokeColor3 = Color3.new()
  38.     exit.TextStrokeTransparency = 1
  39.     local scroll = Instance.new("ScrollingFrame", frame)
  40.     scroll.AnchorPoint = Vector2.new(0.5, 1)
  41.     scroll.BackgroundColor3 = Color3.new()
  42.     scroll.BackgroundTransparency = 0.9
  43.     scroll.BorderSizePixel = 0
  44.     scroll.CanvasSize = UDim2.new(0, 490, 0, 60)
  45.     scroll.Position = UDim2.new(0.5, 0, 1, 0)
  46.     scroll.ScrollBarThickness = 6
  47.     scroll.Size = UDim2.new(0.98, 0, 1, -30)
  48.     do
  49.         local UIList = Instance.new("UIListLayout", scroll)
  50.         UIList.Padding = UDim.new(0, 5)
  51.         local default = Instance.new("Frame", scroll)
  52.         default.Name = "Default"
  53.         default.BackgroundColor3 = Color3.new()
  54.         default.BackgroundTransparency = 0.6
  55.         default.BorderColor3 = Color3.new()
  56.         default.BorderSizePixel = 0
  57.         default.Position = UDim2.new()
  58.         default.Size = UDim2.new(1, -12, 0, 100)
  59.         do
  60.             local expand = Instance.new("TextButton", default)
  61.             expand.Name = "Expand"
  62.             expand.BackgroundColor3 = Color3.new()
  63.             expand.BackgroundTransparency = 0.5
  64.             expand.BorderSizePixel = 0
  65.             expand.Size = UDim2.new(1, 0, 0, 25)
  66.             expand.Font = "SourceSans"
  67.             expand.FontSize = "Size14"
  68.             expand.Text = "  [CLICK TO EXPAND] ServerID: " -- Editable
  69.             expand.TextColor3 = Color3.fromRGB(225, 225, 225)
  70.             expand.TextStrokeColor3 = Color3.new()
  71.             expand.TextStrokeTransparency = 0
  72.             expand.TextXAlignment = "Left"
  73.             expand.ZIndex = 5
  74.             local body = Instance.new("TextLabel", default)
  75.             body.Name = "Body"
  76.             body.AnchorPoint = Vector2.new(0.5, 1)
  77.             body.BackgroundTransparency = 1
  78.             body.BorderSizePixel = 0
  79.             body.Font = "SourceSans"
  80.             body.FontSize = "Size14"
  81.             body.Position = UDim2.new(0.5, 0, 1, -25)
  82.             body.Size = UDim2.new(1, 0, 0, 50)
  83.             body.Text = "FPS: 59.97 | PlayerCount: 1\nJhonXD2006,DrawingJhon,Artem1237894" -- Editable
  84.             body.TextColor3 = Color3.fromRGB(240, 240, 240)
  85.             body.TextStrokeTransparency = 1
  86.             body.TextYAlignment = "Top"
  87.             local join = Instance.new("TextButton", default)
  88.             join.AnchorPoint = Vector2.new(0.5, 1)
  89.             join.Name = "Join"
  90.             join.BackgroundTransparency = 1
  91.             join.BorderSizePixel = 0
  92.             join.Font = "SourceSans"
  93.             join.FontSize = "Size14"
  94.             join.Position = UDim2.new(0.5, 0, 1, 0)
  95.             join.Size = UDim2.new(1, 0, 0, 25)
  96.             join.Text = "Join Server"
  97.             join.TextColor3 = Color3.fromRGB(5, 168, 255)
  98.             join.TextStrokeTransparency = 1
  99.         end
  100.     end
  101.     local title = Instance.new("TextLabel", frame)
  102.     title.AnchorPoint = Vector2.new(0.5, 0)
  103.     title.Name = "Title"
  104.     title.BackgroundTransparency = 1
  105.     title.BorderSizePixel = 0
  106.     title.Font = "SourceSans"
  107.     title.FontSize = "Size18"
  108.     title.TextSize = 16
  109.     title.Position = UDim2.new(0.5, 0, 0, 0)
  110.     title.Size = UDim2.new(0, 200, 0, 30)
  111.     title.Text = "#Aesthetics (Gamelist)"
  112.     title.TextColor3 = Color3.new(1, 1, 1)
  113.     title.TextStrokeTransparency = 1
  114. end
  115.  
  116. gameList.Parent = owner.PlayerGui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement