IamSourFish

Roblox Lucky Block Script

Feb 15th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.98 KB | None | 0 0
  1. --GUI BY Paothbch
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4.  
  5. local Frame = Instance.new("Frame")
  6.  
  7. local TextLabel = Instance.new("TextLabel")
  8.  
  9. local Credit = Instance.new("TextLabel")
  10.  
  11. local OpenDBlock = Instance.new("TextButton")
  12.  
  13. local OpenRBlock = Instance.new("TextButton")
  14.  
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  18.  
  19.  
  20.  
  21. Frame.Parent = ScreenGui
  22.  
  23. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  24.  
  25. Frame.Position = UDim2.new(0.00493522501, 0, 0.425061435, 0)
  26.  
  27. Frame.Size = UDim2.new(0, 191, 0, 194)
  28.  
  29. Frame.Style = Enum.FrameStyle.RobloxRound
  30.  
  31.  
  32.  
  33. TextLabel.Parent = Frame
  34.  
  35. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  36.  
  37. TextLabel.BackgroundTransparency = 1
  38.  
  39. TextLabel.Position = UDim2.new(0.00523560122, 0, 0.0119760446, 0)
  40.  
  41. TextLabel.Size = UDim2.new(0, 175, 0, 27)
  42.  
  43. TextLabel.Font = Enum.Font.SourceSans
  44.  
  45. TextLabel.Text = "LUCKY BLOCK Battlegrounds GUI"
  46.  
  47. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  48.  
  49. TextLabel.TextSize = 15
  50.  
  51.  
  52.  
  53. Credit.Name = "Credit"
  54.  
  55. Credit.Parent = Frame
  56.  
  57. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  58.  
  59. Credit.BackgroundTransparency = 1
  60.  
  61. Credit.Position = UDim2.new(-9.31322575e-10, 0, 0.832335353, 0)
  62.  
  63. Credit.Size = UDim2.new(0, 175, 0, 27)
  64.  
  65. Credit.Font = Enum.Font.SourceSans
  66.  
  67. Credit.Text = "GUI BY: YouTube.com/Paothbch"
  68.  
  69. Credit.TextColor3 = Color3.new(1, 1, 1)
  70.  
  71. Credit.TextSize = 15
  72.  
  73.  
  74.  
  75. OpenDBlock.Name = "OpenDBlock"
  76.  
  77. OpenDBlock.Parent = ScreenGui
  78.  
  79. OpenDBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  80.  
  81. OpenDBlock.Position = UDim2.new(0.00493522501, 0, 0.469287485, 0)
  82.  
  83. OpenDBlock.Size = UDim2.new(0, 191, 0, 50)
  84.  
  85. OpenDBlock.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  86.  
  87. OpenDBlock.Font = Enum.Font.SourceSans
  88.  
  89. OpenDBlock.Text = "Open Galaxy block"
  90.  
  91. OpenDBlock.TextColor3 = Color3.new(0, 0, 0)
  92.  
  93. OpenDBlock.TextSize = 14
  94.  
  95. -- Scripts:
  96.  
  97. OpenDBlock.MouseButton1Click:Connect(function()
  98.  
  99.     game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  100.  
  101. end)
  102.  
  103.  
Advertisement
Add Comment
Please, Sign In to add comment