Advertisement
STIKBIG

z

May 25th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.85 KB | None | 0 0
  1. local vu = game:GetService("VirtualUser")
  2. game:GetService("Players").LocalPlayer.Idled:connect(function()
  3. vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  4. wait(1)
  5. vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  6. end)
  7.  
  8. game.StarterGui:SetCore("SendNotification", {
  9. Title = "LUCKY BLOCKS Battlegrounds";
  10. Text = "Made by stikbig"; -- what the text says (ofc)
  11. Duration = 5;
  12. })
  13. wait(1)
  14. game.StarterGui:SetCore("SendNotification", {
  15. Title = "Anti-Afk";
  16. Text = "Enabled!"; -- what the text says (ofc)
  17. Duration = 5;
  18. })
  19.  
  20. local LuckyBlock = Instance.new("ScreenGui")
  21. local Frame = Instance.new("ImageLabel")
  22. local title = Instance.new("TextLabel")
  23. local Frame_HUB = Instance.new("ImageLabel")
  24. local HUB = Instance.new("TextLabel")
  25. local Main = Instance.new("Frame")
  26. local LuckyBlock_2 = Instance.new("TextButton")
  27. local SuperBlock = Instance.new("TextButton")
  28. local GalaxyBlock = Instance.new("TextButton")
  29. local RainbowBlock = Instance.new("TextButton")
  30. local DiamondBlock = Instance.new("TextButton")
  31. local CopyDiscordServer = Instance.new("TextButton")
  32. local DiscordServer_box = Instance.new("TextBox")
  33. local lable_discord = Instance.new("TextLabel")
  34. local open_box = Instance.new("TextBox")
  35. local toBox = Instance.new("TextLabel")
  36. local Frame_2 = Instance.new("Frame")
  37. local close = Instance.new("ImageButton")
  38.  
  39. --Properties:
  40.  
  41. LuckyBlock.Name = "LuckyBlock"
  42. LuckyBlock.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  43. LuckyBlock.ResetOnSpawn = false
  44.  
  45. Frame.Name = "Frame"
  46. Frame.Parent = LuckyBlock
  47. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. Frame.BackgroundTransparency = 1.000
  49. Frame.ClipsDescendants = true
  50. Frame.Position = UDim2.new(0.304542094, 0, 0.326781332, 0)
  51. Frame.Size = UDim2.new(0, 525, 0, 300)
  52. Frame.Image = "rbxassetid://3570695787"
  53. Frame.ImageColor3 = Color3.fromRGB(0, 0, 0)
  54. Frame.ScaleType = Enum.ScaleType.Slice
  55. Frame.SliceCenter = Rect.new(100, 100, 100, 100)
  56. Frame.SliceScale = 0.120
  57. Frame.Active = true
  58. Frame.Draggable = true
  59.  
  60. title.Name = "title"
  61. title.Parent = Frame
  62. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. title.BackgroundTransparency = 1.000
  64. title.Size = UDim2.new(0, 439, 0, 51)
  65. title.Font = Enum.Font.SourceSans
  66. title.Text = "CornHub"
  67. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  68. title.TextSize = 28.000
  69.  
  70. Frame_HUB.Name = "Frame_HUB"
  71. Frame_HUB.Parent = Frame
  72. Frame_HUB.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. Frame_HUB.BackgroundTransparency = 1.000
  74. Frame_HUB.BorderColor3 = Color3.fromRGB(255, 255, 255)
  75. Frame_HUB.Position = UDim2.new(0.531428576, 0, 0.0277550742, 0)
  76. Frame_HUB.Size = UDim2.new(0, 81, 0, 33)
  77. Frame_HUB.Image = "rbxassetid://3570695787"
  78. Frame_HUB.ImageColor3 = Color3.fromRGB(255, 170, 0)
  79. Frame_HUB.ScaleType = Enum.ScaleType.Slice
  80. Frame_HUB.SliceCenter = Rect.new(100, 100, 100, 100)
  81. Frame_HUB.SliceScale = 0.120
  82.  
  83. HUB.Name = "HUB"
  84. HUB.Parent = Frame_HUB
  85. HUB.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  86. HUB.BackgroundTransparency = 1.000
  87. HUB.Position = UDim2.new(0, 0, -0.00494801067, 0)
  88. HUB.Size = UDim2.new(0, 81, 0, 33)
  89. HUB.Font = Enum.Font.SourceSans
  90. HUB.Text = "Free"
  91. HUB.TextColor3 = Color3.fromRGB(0, 0, 0)
  92. HUB.TextScaled = true
  93. HUB.TextSize = 14.000
  94. HUB.TextWrapped = true
  95.  
  96. Main.Name = "Main"
  97. Main.Parent = Frame
  98. Main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  99. Main.BorderColor3 = Color3.fromRGB(255, 255, 255)
  100. Main.Position = UDim2.new(-0.034285713, 0, 0.170000002, 0)
  101. Main.Size = UDim2.new(0, 559, 0, 0)
  102.  
  103. LuckyBlock_2.Name = "LuckyBlock"
  104. LuckyBlock_2.Parent = Frame
  105. LuckyBlock_2.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  106. LuckyBlock_2.BorderSizePixel = 0
  107. LuckyBlock_2.Position = UDim2.new(0.0552380905, 0, 0.223333329, 0)
  108. LuckyBlock_2.Selectable = false
  109. LuckyBlock_2.Size = UDim2.new(0, 150, 0, 35)
  110. LuckyBlock_2.AutoButtonColor = false
  111. LuckyBlock_2.Font = Enum.Font.SourceSans
  112. LuckyBlock_2.Text = "LuckyBlock"
  113. LuckyBlock_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  114. LuckyBlock_2.TextSize = 28.000
  115.  
  116. SuperBlock.Name = "SuperBlock"
  117. SuperBlock.Parent = Frame
  118. SuperBlock.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  119. SuperBlock.BorderSizePixel = 0
  120. SuperBlock.Position = UDim2.new(0.0552381277, 0, 0.383333325, 0)
  121. SuperBlock.Selectable = false
  122. SuperBlock.Size = UDim2.new(0, 150, 0, 35)
  123. SuperBlock.AutoButtonColor = false
  124. SuperBlock.Font = Enum.Font.SourceSans
  125. SuperBlock.Text = "SuperBlock"
  126. SuperBlock.TextColor3 = Color3.fromRGB(255, 255, 255)
  127. SuperBlock.TextSize = 28.000
  128.  
  129. GalaxyBlock.Name = "GalaxyBlock"
  130. GalaxyBlock.Parent = Frame
  131. GalaxyBlock.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  132. GalaxyBlock.BorderSizePixel = 0
  133. GalaxyBlock.Position = UDim2.new(0.0552381277, 0, 0.826666653, 0)
  134. GalaxyBlock.Selectable = false
  135. GalaxyBlock.Size = UDim2.new(0, 150, 0, 35)
  136. GalaxyBlock.AutoButtonColor = false
  137. GalaxyBlock.Font = Enum.Font.SourceSans
  138. GalaxyBlock.Text = "GalaxyBlock"
  139. GalaxyBlock.TextColor3 = Color3.fromRGB(255, 255, 255)
  140. GalaxyBlock.TextSize = 28.000
  141.  
  142. RainbowBlock.Name = "RainbowBlock"
  143. RainbowBlock.Parent = Frame
  144. RainbowBlock.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  145. RainbowBlock.BorderSizePixel = 0
  146. RainbowBlock.Position = UDim2.new(0.0552381277, 0, 0.679999948, 0)
  147. RainbowBlock.Selectable = false
  148. RainbowBlock.Size = UDim2.new(0, 150, 0, 35)
  149. RainbowBlock.AutoButtonColor = false
  150. RainbowBlock.Font = Enum.Font.SourceSans
  151. RainbowBlock.Text = "RainbowBlock"
  152. RainbowBlock.TextColor3 = Color3.fromRGB(255, 255, 255)
  153. RainbowBlock.TextSize = 28.000
  154.  
  155. DiamondBlock.Name = "DiamondBlock"
  156. DiamondBlock.Parent = Frame
  157. DiamondBlock.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  158. DiamondBlock.BorderSizePixel = 0
  159. DiamondBlock.Position = UDim2.new(0.0552381277, 0, 0.533333302, 0)
  160. DiamondBlock.Selectable = false
  161. DiamondBlock.Size = UDim2.new(0, 150, 0, 35)
  162. DiamondBlock.AutoButtonColor = false
  163. DiamondBlock.Font = Enum.Font.SourceSans
  164. DiamondBlock.Text = "DiamondBlock"
  165. DiamondBlock.TextColor3 = Color3.fromRGB(255, 255, 255)
  166. DiamondBlock.TextSize = 28.000
  167.  
  168. CopyDiscordServer.Name = "CopyDiscordServer"
  169. CopyDiscordServer.Parent = Frame
  170. CopyDiscordServer.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  171. CopyDiscordServer.BorderSizePixel = 0
  172. CopyDiscordServer.Position = UDim2.new(0.531428576, 0, 0.826666713, 0)
  173. CopyDiscordServer.Selectable = false
  174. CopyDiscordServer.Size = UDim2.new(0, 194, 0, 35)
  175. CopyDiscordServer.AutoButtonColor = false
  176. CopyDiscordServer.Font = Enum.Font.SourceSans
  177. CopyDiscordServer.Text = "CopyDiscordServer"
  178. CopyDiscordServer.TextColor3 = Color3.fromRGB(255, 255, 255)
  179. CopyDiscordServer.TextSize = 28.000
  180.  
  181. DiscordServer_box.Name = "DiscordServer_box"
  182. DiscordServer_box.Parent = Frame
  183. DiscordServer_box.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  184. DiscordServer_box.BorderSizePixel = 0
  185. DiscordServer_box.Position = UDim2.new(0.531428576, 0, 0.709999979, 0)
  186. DiscordServer_box.Size = UDim2.new(0, 194, 0, 35)
  187. DiscordServer_box.ClearTextOnFocus = false
  188. DiscordServer_box.Font = Enum.Font.SourceSans
  189. DiscordServer_box.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  190. DiscordServer_box.PlaceholderText = "https://discord.gg/NcZdbqXSW3"
  191. DiscordServer_box.Text = "https://discord.gg/NcZdbqXSW3"
  192. DiscordServer_box.TextColor3 = Color3.fromRGB(255, 255, 255)
  193. DiscordServer_box.TextSize = 14.000
  194.  
  195. lable_discord.Name = "lable_discord"
  196. lable_discord.Parent = Frame
  197. lable_discord.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  198. lable_discord.BackgroundTransparency = 1.000
  199. lable_discord.Position = UDim2.new(0.531428576, 0, 0.533333361, 0)
  200. lable_discord.Size = UDim2.new(0, 194, 0, 53)
  201. lable_discord.Font = Enum.Font.SourceSans
  202. lable_discord.Text = "--You will find many other scripts in this discord server."
  203. lable_discord.TextColor3 = Color3.fromRGB(0, 170, 0)
  204. lable_discord.TextScaled = true
  205. lable_discord.TextSize = 28.000
  206. lable_discord.TextWrapped = true
  207.  
  208. open_box.Name = "open_box"
  209. open_box.Parent = Frame
  210. open_box.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  211. open_box.BorderSizePixel = 0
  212. open_box.Position = UDim2.new(0.750476241, 0, 0.313333333, 0)
  213. open_box.Size = UDim2.new(0, 56, 0, 35)
  214. open_box.ClearTextOnFocus = false
  215. open_box.Font = Enum.Font.SourceSans
  216. open_box.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  217. open_box.PlaceholderText = "Value"
  218. open_box.Text = "1"
  219. open_box.TextColor3 = Color3.fromRGB(255, 255, 255)
  220. open_box.TextSize = 28.000
  221. open_box.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  222.  
  223. toBox.Name = "toBox"
  224. toBox.Parent = Frame
  225. toBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. toBox.BackgroundTransparency = 1.000
  227. toBox.Position = UDim2.new(0.531428635, 0, 0.286666691, 0)
  228. toBox.Size = UDim2.new(0, 194, 0, 50)
  229. toBox.Font = Enum.Font.SourceSans
  230. toBox.Text = "0 to "
  231. toBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  232. toBox.TextSize = 28.000
  233.  
  234. Frame_2.Parent = Frame
  235. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  236. Frame_2.BorderColor3 = Color3.fromRGB(255, 255, 255)
  237. Frame_2.Position = UDim2.new(0.400000006, 0, 0.170000002, 0)
  238. Frame_2.Size = UDim2.new(0, 0, 0, 292)
  239.  
  240. close.Name = "close"
  241. close.Parent = Frame
  242. close.BackgroundTransparency = 1.000
  243. close.Position = UDim2.new(0.90054822, 0, 0.00678133965, 0)
  244. close.Size = UDim2.new(0, 45, 0, 45)
  245. close.ZIndex = 2
  246. close.Image = "rbxassetid://3926305904"
  247. close.ImageRectOffset = Vector2.new(284, 4)
  248. close.ImageRectSize = Vector2.new(24, 24)
  249.  
  250.  
  251. ----------------------------------------------------------------
  252.  
  253. close.MouseButton1Click:connect(function()
  254. Frame.Visible = false
  255. end)
  256.  
  257. LuckyBlock_2.MouseButton1Click:connect(function()
  258. for i=1, open_box.Text do --This number means that you'll get 100 gears (you can change this)
  259. game.ReplicatedStorage.SpawnLuckyBlock:FireServer()
  260. end
  261. end)
  262.  
  263. DiamondBlock.MouseButton1Click:connect(function()
  264. for i=1, open_box.Text do --This number means that you'll get 100 gears (you can change this)
  265. game.ReplicatedStorage.SpawnDiamondBlock:FireServer()
  266. end
  267. end)
  268.  
  269. SuperBlock.MouseButton1Click:connect(function()
  270. for i=1, open_box.Text do --This number means that you'll get 100 gears (you can change this)
  271. game.ReplicatedStorage.SpawnSuperBlock:FireServer()
  272. end
  273. end)
  274.  
  275. RainbowBlock.MouseButton1Click:connect(function()
  276. for i=1, open_box.Text do --This number means that you'll get 100 gears (you can change this)
  277. game.ReplicatedStorage.SpawnRainbowBlock:FireServer()
  278. end
  279. end)
  280.  
  281. GalaxyBlock.MouseButton1Click:connect(function()
  282. for i=1, open_box.Text do --This number means that you'll get 100 gears (you can change this)
  283. game.ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  284. end
  285. end)
  286.  
  287. CopyDiscordServer.MouseButton1Down:connect(function()
  288. setclipboard("https://discord.gg/NcZdbqXSW3")
  289. wait(1)
  290. game.StarterGui:SetCore("SendNotification", {
  291. Title = "Success!";
  292. Text = "Copy Discord: https://discord.gg/NcZdbqXSW3"; -- what the text says (ofc)
  293. Duration = 5;
  294. })
  295. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement