Advertisement
Hplays

Lucky Blocks BattleGrounds Script

Apr 1st, 2020
33,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.91 KB | None | 0 0
  1. local luckyblock = Instance.new("ScreenGui")
  2. local box = Instance.new("Frame")
  3. local cre = Instance.new("TextLabel")
  4. local note = Instance.new("TextLabel")
  5. local close = Instance.new("TextButton")
  6. local rainbow = Instance.new("TextButton")
  7. local diamond = Instance.new("TextButton")
  8. local speed = Instance.new("TextButton")
  9. local superlucky = Instance.new("TextButton")
  10. local normal = Instance.new("TextButton")
  11. local jump = Instance.new("TextButton")
  12. local open = Instance.new("TextButton")
  13. --Properties:
  14. luckyblock.Name = "luckyblock"
  15. luckyblock.Parent = game.Players.LocalPlayer.PlayerGui
  16.  
  17. box.Name = "box"
  18. box.Parent = luckyblock
  19. box.BackgroundColor3 = Color3.new(1, 1, 0)
  20. box.BackgroundTransparency = 0.5
  21. box.BorderColor3 = Color3.new(1, 1, 0)
  22. box.Position = UDim2.new(0.223650396, 0, 0.307692289, 0)
  23. box.Size = UDim2.new(0, 320, 0, 265)
  24. box.Active = true
  25. box.Draggable = true
  26.  
  27. cre.Name = "cre"
  28. cre.Parent = box
  29. cre.BackgroundColor3 = Color3.new(0, 0, 0)
  30. cre.BackgroundTransparency = 0.5
  31. cre.Size = UDim2.new(0, 320, 0, 23)
  32. cre.Font = Enum.Font.SourceSans
  33. cre.Text = "made by HPlayszz"
  34. cre.TextColor3 = Color3.new(0, 0, 0)
  35. cre.TextSize = 14
  36.  
  37. note.Name = "note"
  38. note.Parent = box
  39. note.BackgroundColor3 = Color3.new(0, 0, 0)
  40. note.BackgroundTransparency = 0.5
  41. note.Position = UDim2.new(0, 0, 0.905660391, 0)
  42. note.Size = UDim2.new(0, 320, 0, 25)
  43. note.Font = Enum.Font.SourceSans
  44. note.Text = "Pls add the credit if you use my script "
  45. note.TextColor3 = Color3.new(0, 0, 0)
  46. note.TextSize = 14
  47.  
  48. close.Name = "close"
  49. close.Parent = box
  50. close.BackgroundColor3 = Color3.new(1, 1, 0)
  51. close.BackgroundTransparency = 0.5
  52. close.Position = UDim2.new(0.931249976, 0, 0, 0)
  53. close.Size = UDim2.new(0, 22, 0, 23)
  54. close.Font = Enum.Font.SourceSans
  55. close.Text = "X"
  56. close.TextColor3 = Color3.new(0, 0, 0)
  57. close.TextSize = 14
  58.  
  59. rainbow.Name = "rainbow"
  60. rainbow.Parent = box
  61. rainbow.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  62. rainbow.Position = UDim2.new(0, 0, 0.0867924541, 0)
  63. rainbow.Size = UDim2.new(0, 142, 0, 50)
  64. rainbow.Font = Enum.Font.SourceSans
  65. rainbow.Text = "rainbow"
  66. rainbow.TextColor3 = Color3.new(0, 0, 0)
  67. rainbow.TextSize = 14
  68.  
  69. diamond.Name = "diamond"
  70. diamond.Parent = box
  71. diamond.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  72. diamond.Position = UDim2.new(0, 0, 0.403773606, 0)
  73. diamond.Size = UDim2.new(0, 142, 0, 50)
  74. diamond.Font = Enum.Font.SourceSans
  75. diamond.Text = "diamond"
  76. diamond.TextColor3 = Color3.new(0, 0, 0)
  77. diamond.TextSize = 14
  78.  
  79. speed.Name = "speed"
  80. speed.Parent = box
  81. speed.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  82. speed.Position = UDim2.new(0, 0, 0.716981173, 0)
  83. speed.Size = UDim2.new(0, 142, 0, 50)
  84. speed.Font = Enum.Font.SourceSans
  85. speed.Text = "speed hack"
  86. speed.TextColor3 = Color3.new(0, 0, 0)
  87. speed.TextSize = 14
  88.  
  89. superlucky.Name = "superlucky"
  90. superlucky.Parent = box
  91. superlucky.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  92. superlucky.Position = UDim2.new(0.556249976, 0, 0.086792469, 0)
  93. superlucky.Size = UDim2.new(0, 142, 0, 50)
  94. superlucky.Font = Enum.Font.SourceSans
  95. superlucky.Text = "superlucky"
  96. superlucky.TextColor3 = Color3.new(0, 0, 0)
  97. superlucky.TextSize = 14
  98.  
  99. normal.Name = "normal"
  100. normal.Parent = box
  101. normal.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  102. normal.Position = UDim2.new(0.556249976, 0, 0.403773606, 0)
  103. normal.Size = UDim2.new(0, 142, 0, 50)
  104. normal.Font = Enum.Font.SourceSans
  105. normal.Text = "normal"
  106. normal.TextColor3 = Color3.new(0, 0, 0)
  107. normal.TextSize = 14
  108.  
  109. jump.Name = "jump"
  110. jump.Parent = box
  111. jump.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  112. jump.Position = UDim2.new(0.556249976, 0, 0.716981173, 0)
  113. jump.Size = UDim2.new(0, 142, 0, 50)
  114. jump.Font = Enum.Font.SourceSans
  115. jump.Text = "jump power hack"
  116. jump.TextColor3 = Color3.new(0, 0, 0)
  117. jump.TextSize = 14
  118.  
  119. open.Name = "open"
  120. open.Parent = luckyblock
  121. open.BackgroundColor3 = Color3.new(0.666667, 1, 0)
  122. open.Position = UDim2.new(0, 0, 0.773175538, 0)
  123. open.Size = UDim2.new(0, 87, 0, 29)
  124. open.Font = Enum.Font.SourceSans
  125. open.Text = "OPEN"
  126. open.TextColor3 = Color3.new(0, 0, 0)
  127. open.TextSize = 14
  128. -- Scripts:
  129.  
  130. rainbow.MouseButton1Down:connect(function()
  131. game.ReplicatedStorage.SpawnRainbowBlock:FireServer()
  132. end)
  133.  
  134. diamond.MouseButton1Down:connect(function()
  135. game.ReplicatedStorage.SpawnDiamondBlock:FireServer()
  136. end)
  137.  
  138. superlucky.MouseButton1Down:connect(function()
  139. game.ReplicatedStorage.SpawnLuckyBlock:FireServer()
  140. end)
  141.  
  142. normal.MouseButton1Down:connect(function()
  143. game.ReplicatedStorage.SpawnLuckyBlock:FireServer()
  144. end)
  145.  
  146. close.MouseButton1Down:connect(function()
  147. box.Visible = false
  148. end)
  149.  
  150. open.MouseButton1Down:connect(function()
  151. box.Visible = true
  152. end)
  153.  
  154. speed.MouseButton1Down:connect(function()
  155. game.Workspace.HPlayszz.Humanoid.WalkSpeed = 100 -- ur name
  156. end)
  157.  
  158. jump.MouseButton1Down:connect(function()
  159. game.Workspace.game.HPlayszz.Humanoid.JumpPower = 40 -- u can custuom this stupid number XD
  160. end)
  161.  
  162. -- this script is a bit for experimentation
  163. -- Ye Boi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement