Anonymouse10101

(Reborn) Lucky Block BattleGround (GUI) V.WORK ALL

Apr 25th, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local LuckyGUI = Instance.new("ScreenGui")
  2. local ScriptBox = Instance.new("Frame")
  3. local ScriptHere = Instance.new("TextBox")
  4. local TextButton = Instance.new("TextButton")
  5. local TextButton_2 = Instance.new("TextButton")
  6. local Main = Instance.new("Frame")
  7. local GuiName = Instance.new("TextLabel")
  8. local CheckFE = Instance.new("TextButton")
  9. local ScriptBoxOpen = Instance.new("TextButton")
  10. local TextLabel = Instance.new("TextLabel")
  11. local TextLabel_2 = Instance.new("TextLabel")
  12. local RainbowBlock = Instance.new("TextButton")
  13. local LuckyBlock = Instance.new("TextButton")
  14. local DiamondBlock = Instance.new("TextButton")
  15. local SuperBlock = Instance.new("TextButton")
  16. local TextLabel_3 = Instance.new("TextLabel")
  17. local Save = Instance.new("TextButton")
  18. local Load = Instance.new("TextButton")
  19. local ClickTP = Instance.new("TextButton")
  20. local TextLabel_4 = Instance.new("TextLabel")
  21. local Close = Instance.new("TextButton")
  22. local OpenFrame = Instance.new("Frame")
  23. local TextButton_3 = Instance.new("TextButton")
  24.  
  25. -- Properties
  26.  
  27. LuckyGUI.Name = "Lucky GUI"
  28. LuckyGUI.Parent = game.Players.LocalPlayer.PlayerGui
  29.  
  30. ScriptBox.Name = "ScriptBox"
  31. ScriptBox.Parent = LuckyGUI
  32. ScriptBox.Active = true
  33. ScriptBox.BackgroundColor3 = Color3.new(1, 1, 1)
  34. ScriptBox.BorderColor3 = Color3.new(1, 1, 1)
  35. ScriptBox.Position = UDim2.new(0.600886941, 0, 0.0904645473, 0)
  36. ScriptBox.Size = UDim2.new(0, 519, 0, 502)
  37.  
  38. ScriptHere.Name = "ScriptHere"
  39. ScriptHere.Parent = ScriptBox
  40. ScriptHere.BackgroundColor3 = Color3.new(1, 1, 1)
  41. ScriptHere.BorderColor3 = Color3.new(1, 1, 1)
  42. ScriptHere.Position = UDim2.new(0, 0, -0.0119521916, 0)
  43. ScriptHere.Size = UDim2.new(0, 519, 0, 433)
  44. ScriptHere.Font = Enum.Font.SourceSans
  45. ScriptHere.Text = "Script Here.."
  46. ScriptHere.TextColor3 = Color3.new(0, 0, 0)
  47. ScriptHere.TextSize = 20
  48.  
  49. TextButton.Parent = ScriptBox
  50. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  51. TextButton.BorderColor3 = Color3.new(1, 0, 0)
  52. TextButton.BorderSizePixel = 3
  53. TextButton.Position = UDim2.new(0.527938366, 0, 0.862549782, 0)
  54. TextButton.Size = UDim2.new(0, 245, 0, 69)
  55. TextButton.Font = Enum.Font.SourceSans
  56. TextButton.Text = "Clear"
  57. TextButton.TextColor3 = Color3.new(0, 0, 0)
  58. TextButton.TextSize = 14
  59.  
  60. TextButton_2.Parent = ScriptBox
  61. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  62. TextButton_2.BorderColor3 = Color3.new(0.333333, 1, 0)
  63. TextButton_2.BorderSizePixel = 3
  64. TextButton_2.Position = UDim2.new(0, 0, 0.862549782, 0)
  65. TextButton_2.Size = UDim2.new(0, 242, 0, 69)
  66. TextButton_2.Font = Enum.Font.SourceSans
  67. TextButton_2.Text = "Execute"
  68. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  69. TextButton_2.TextSize = 14
  70.  
  71. Main.Name = "Main"
  72. Main.Parent = LuckyGUI
  73. Main.Active = true
  74. Main.BackgroundColor3 = Color3.new(0.666667, 1, 0)
  75. Main.Position = UDim2.new(0, 70, 0, 68)
  76. Main.Size = UDim2.new(0, 492, 0, 589)
  77.  
  78. GuiName.Name = "GuiName"
  79. GuiName.Parent = Main
  80. GuiName.BackgroundColor3 = Color3.new(1, 1, 1)
  81. GuiName.BackgroundTransparency = 1
  82. GuiName.BorderColor3 = Color3.new(1, 1, 1)
  83. GuiName.Position = UDim2.new(0.278455287, 0, 0, 0)
  84. GuiName.Size = UDim2.new(0, 200, 0, 50)
  85. GuiName.Font = Enum.Font.SourceSans
  86. GuiName.Text = "Lucky Gui"
  87. GuiName.TextColor3 = Color3.new(0, 0, 0)
  88. GuiName.TextSize = 25
  89. GuiName.TextStrokeColor3 = Color3.new(1, 1, 1)
  90. GuiName.TextStrokeTransparency = 0
  91.  
  92. CheckFE.Name = "CheckFE"
  93. CheckFE.Parent = Main
  94. CheckFE.BackgroundColor3 = Color3.new(1, 1, 1)
  95. CheckFE.Position = UDim2.new(0.0792682767, 0, 0.724957645, 0)
  96. CheckFE.Size = UDim2.new(0, 169, 0, 50)
  97. CheckFE.Font = Enum.Font.SourceSans
  98. CheckFE.Text = "Check FE"
  99. CheckFE.TextColor3 = Color3.new(0, 0, 0)
  100. CheckFE.TextSize = 14
  101.  
  102. ScriptBoxOpen.Name = "ScriptBoxOpen"
  103. ScriptBoxOpen.Parent = Main
  104. ScriptBoxOpen.BackgroundColor3 = Color3.new(1, 1, 1)
  105. ScriptBoxOpen.Position = UDim2.new(0.0792682767, 0, 0.62139219, 0)
  106. ScriptBoxOpen.Size = UDim2.new(0, 169, 0, 50)
  107. ScriptBoxOpen.Font = Enum.Font.SourceSans
  108. ScriptBoxOpen.Text = "Script Box"
  109. ScriptBoxOpen.TextColor3 = Color3.new(0, 0, 0)
  110. ScriptBoxOpen.TextSize = 14
  111.  
  112. TextLabel.Parent = Main
  113. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  114. TextLabel.BackgroundTransparency = 1
  115. TextLabel.Position = UDim2.new(0.579268277, 0, 0, 0)
  116. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  117. TextLabel.Font = Enum.Font.SourceSans
  118. TextLabel.Text = ""
  119. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  120. TextLabel.TextSize = 14
  121.  
  122. TextLabel_2.Parent = Main
  123. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  124. TextLabel_2.BackgroundTransparency = 1
  125. TextLabel_2.Position = UDim2.new(0.0467479825, 0, 0.53650254, 0)
  126. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  127. TextLabel_2.Font = Enum.Font.SourceSans
  128. TextLabel_2.Text = "Extra"
  129. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  130. TextLabel_2.TextSize = 20
  131.  
  132. RainbowBlock.Name = "RainbowBlock"
  133. RainbowBlock.Parent = Main
  134. RainbowBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  135. RainbowBlock.Position = UDim2.new(0.308943093, 0, 0.117147684, 0)
  136. RainbowBlock.Size = UDim2.new(0, 169, 0, 50)
  137. RainbowBlock.Font = Enum.Font.SourceSans
  138. RainbowBlock.Text = "Rainbow Block"
  139. RainbowBlock.TextColor3 = Color3.new(0, 0, 0)
  140. RainbowBlock.TextSize = 14
  141.  
  142. LuckyBlock.Name = "LuckyBlock"
  143. LuckyBlock.Parent = Main
  144. LuckyBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  145. LuckyBlock.Position = UDim2.new(0.308943093, 0, 0.219015256, 0)
  146. LuckyBlock.Size = UDim2.new(0, 169, 0, 50)
  147. LuckyBlock.Font = Enum.Font.SourceSans
  148. LuckyBlock.Text = "Lucky Block"
  149. LuckyBlock.TextColor3 = Color3.new(0, 0, 0)
  150. LuckyBlock.TextSize = 14
  151.  
  152. DiamondBlock.Name = "DiamondBlock"
  153. DiamondBlock.Parent = Main
  154. DiamondBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  155. DiamondBlock.Position = UDim2.new(0.308943093, 0, 0.324278414, 0)
  156. DiamondBlock.Size = UDim2.new(0, 169, 0, 50)
  157. DiamondBlock.Font = Enum.Font.SourceSans
  158. DiamondBlock.Text = "Diamond Block"
  159. DiamondBlock.TextColor3 = Color3.new(0, 0, 0)
  160. DiamondBlock.TextSize = 14
  161.  
  162. SuperBlock.Name = "SuperBlock"
  163. SuperBlock.Parent = Main
  164. SuperBlock.BackgroundColor3 = Color3.new(1, 1, 1)
  165. SuperBlock.Position = UDim2.new(0.308943093, 0, 0.426146001, 0)
  166. SuperBlock.Size = UDim2.new(0, 169, 0, 50)
  167. SuperBlock.Font = Enum.Font.SourceSans
  168. SuperBlock.Text = "Super Block"
  169. SuperBlock.TextColor3 = Color3.new(0, 0, 0)
  170. SuperBlock.TextSize = 14
  171.  
  172. TextLabel_3.Parent = Main
  173. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  174. TextLabel_3.BackgroundTransparency = 1
  175. TextLabel_3.Position = UDim2.new(0.278455287, 0, 0.0441426039, 0)
  176. TextLabel_3.Size = UDim2.new(0, 200, 0, 50)
  177. TextLabel_3.Font = Enum.Font.SourceSans
  178. TextLabel_3.Text = "Spawn Blocks"
  179. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  180. TextLabel_3.TextSize = 20
  181.  
  182. Save.Name = "Save"
  183. Save.Parent = Main
  184. Save.BackgroundColor3 = Color3.new(1, 1, 1)
  185. Save.Position = UDim2.new(0.652438998, 0, 0.809847236, 0)
  186. Save.Size = UDim2.new(0, 138, 0, 50)
  187. Save.Font = Enum.Font.SourceSans
  188. Save.Text = "Save Tools"
  189. Save.TextColor3 = Color3.new(0, 0, 0)
  190. Save.TextSize = 14
  191.  
  192. Load.Name = "Load"
  193. Load.Parent = Main
  194. Load.BackgroundColor3 = Color3.new(1, 1, 1)
  195. Load.Position = UDim2.new(0.652439058, 0, 0.904923618, 0)
  196. Load.Size = UDim2.new(0, 138, 0, 50)
  197. Load.Font = Enum.Font.SourceSans
  198. Load.Text = "Load Tools"
  199. Load.TextColor3 = Color3.new(0, 0, 0)
  200. Load.TextSize = 14
  201.  
  202. ClickTP.Name = "ClickTP"
  203. ClickTP.Parent = Main
  204. ClickTP.BackgroundColor3 = Color3.new(1, 1, 1)
  205. ClickTP.Position = UDim2.new(0.0792682469, 0, 0.830220759, 0)
  206. ClickTP.Size = UDim2.new(0, 169, 0, 50)
  207. ClickTP.Font = Enum.Font.SourceSans
  208. ClickTP.Text = "ClickTP(press e)"
  209. ClickTP.TextColor3 = Color3.new(0, 0, 0)
  210. ClickTP.TextSize = 14
  211.  
  212. TextLabel_4.Parent = Main
  213. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  214. TextLabel_4.BackgroundTransparency = 1
  215. TextLabel_4.Position = UDim2.new(-0.0792683065, 0, 0.947368383, 0)
  216. TextLabel_4.Size = UDim2.new(0, 200, 0, 37)
  217. TextLabel_4.Font = Enum.Font.SourceSans
  218. TextLabel_4.Text = "Credits: BararakSeika"
  219. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  220. TextLabel_4.TextSize = 14
  221.  
  222. Close.Name = "Close"
  223. Close.Parent = Main
  224. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  225. Close.Size = UDim2.new(0, 56, 0, 37)
  226. Close.Font = Enum.Font.SourceSans
  227. Close.Text = "Close"
  228. Close.TextColor3 = Color3.new(0, 0, 0)
  229. Close.TextSize = 14
  230.  
  231. OpenFrame.Name = "OpenFrame"
  232. OpenFrame.Parent = LuckyGUI
  233. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  234. OpenFrame.Position = UDim2.new(0, 0, 0.877750576, 0)
  235. OpenFrame.Size = UDim2.new(0, 100, 0, 100)
  236.  
  237. TextButton_3.Parent = OpenFrame
  238. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  239. TextButton_3.Size = UDim2.new(0, 100, 0, 100)
  240. TextButton_3.Font = Enum.Font.SourceSans
  241. TextButton_3.Text = "Open"
  242. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  243. TextButton_3.TextSize = 14
  244.  
  245. -- Scripts
  246. RainbowBlock.MouseButton1Down:connect(function()
  247. game.ReplicatedStorage.SpawnRainbowBlock:FireServer()
  248. end)
  249.  
  250. LuckyBlock.MouseButton1Down:connect(function()
  251. game.ReplicatedStorage.SpawnLuckyBlock:FireServer()
  252. end)
  253.  
  254. SuperBlock.MouseButton1Down:connect(function()
  255. game.ReplicatedStorage.SpawnSuperBlock:FireServer()
  256. end)
  257.  
  258. DiamondBlock.MouseButton1Down:connect(function()
  259. game.ReplicatedStorage.SpawnDiamondBlock:FireServer()
  260. end)
  261.  
  262. game.Players.LocalPlayer.PlayerGui["Lucky GUI"].ScriptBox.Visible = false
  263.  
  264. Close.MouseButton1Down:connect(function()
  265. game.Players.LocalPlayer.PlayerGui["Lucky GUI"].Main.Visible = false
  266. end)
  267.  
  268. TextButton_3.MouseButton1Down:connect(function()
  269. game.Players.LocalPlayer.PlayerGui["Lucky GUI"].Main.Visible = true
  270. end)
  271.  
  272. ClickTP.MouseButton1Down:connect(function()
  273. plr = game.Players.LocalPlayer
  274. hum = plr.Character.HumanoidRootPart
  275. mouse = plr:GetMouse()
  276. mouse.KeyDown:connect(function(key)
  277. if key == "e" then
  278. if mouse.Target then
  279. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  280. end
  281. end
  282. end)
  283. end)
  284.  
  285. Save.MouseButton1Down:connect(function()
  286. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  287. if (v:IsA("Tool")) then
  288. v.Parent = game.Players.LocalPlayer
  289. end
  290. end
  291. end)
  292.  
  293. Load.MouseButton1Down:connect(function()
  294. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  295. if (v:IsA("Tool")) then
  296. v.Parent = game.Players.LocalPlayer.Backpack
  297. end
  298. end
  299. end)
  300.  
  301. CheckFE.MouseButton1Down:connect(function()
  302. if game.Workspace.FilteringEnabled == true then
  303. TextLabel.Text = "Filtering Enabled"
  304. else
  305. TextLabel.Text = "Filtering Disabled"
  306. end
  307. end)
  308.  
  309. ScriptBoxOpen.MouseButton1Down:connect(function()
  310. game.Players.LocalPlayer.PlayerGui["Lucky GUI"].ScriptBox.Visible = true
  311. end)
  312.  
  313. TextButton_2.MouseButton1Down:connect(function()
  314. loadstring(game.Players.LocalPlayer.PlayerGui["LuckyGUI"].ScriptBox.ScriptHere.Text)()
  315. end)
  316.  
  317. TextButton.MouseButton1Down:connect(function()
  318. game.Players.LocalPlayer.PlayerGui["LuckyGUI"].ScriptBox.ScriptHere.Text = ""
  319. end)
Add Comment
Please, Sign In to add comment