ScriptsQP

Untitled

May 27th, 2024
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 KB | None | 0 0
  1. local Name = game.Players.LocalPlayer.Name
  2. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  3. local Spawn = game.Players.LocalPlayer.SpawnCFrame
  4. local Window = OrionLib:MakeWindow({Name = "❓ LUCKY BLOCKS Battlegrounds"})
  5. local P = game:GetService'Players'
  6. local HRP = P.LocalPlayer.Character.HumanoidRootPart
  7. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  8. local Tab = Window:MakeTab({
  9. Name = "Main",
  10. Icon = "rbxassetid://4483362458",
  11. PremiumOnly = false
  12. })
  13. local Tab2 = Window:MakeTab({
  14. Name = "Misc",
  15. Icon = "rbxassetid://4515645493",
  16. PremiumOnly = false
  17. })
  18. local Tab3 = Window:MakeTab({
  19. Name = "Keybinds",
  20. Icon = "rbxassetid://4483345998",
  21. PremiumOnly = false
  22. })
  23. local Tab4 = Window:MakeTab({
  24. Name = "Credits",
  25. Icon = "rbxassetid://4503342956",
  26. PremiumOnly = false
  27. })
  28.  
  29. ---//SPAWNER
  30. Tab:AddDropdown({
  31. Name = "Spawn 1 Block",
  32. Default = "Select Block",
  33. Options = {"Select Block", "Lucky Block", "Super Block", "Diamond Block", "Rainbow Block","Galaxy Block"},
  34. Callback = function(Value)
  35. if Value == 'Lucky Block' then
  36. ReplicatedStorage.SpawnLuckyBlock:FireServer()
  37. end
  38. if Value == 'Super Block' then
  39. ReplicatedStorage.SpawnSuperBlock:FireServer()
  40. end
  41. if Value == 'Diamond Block' then
  42. ReplicatedStorage.SpawnDiamondBlock:FireServer()
  43. end
  44. if Value == 'Rainbow Block' then
  45. ReplicatedStorage.SpawnRainbowBlock:FireServer()
  46. end
  47. if Value == 'Galaxy Block' then
  48. ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  49. end
  50. end})
  51. Tab:AddDropdown({
  52. Name = "Spawn 5 Blocks",
  53. Default = "Select Block",
  54. Options = {"Select Block", "Lucky Block", "Super Block", "Diamond Block", "Rainbow Block","Galaxy Block"},
  55. Callback = function(Value)
  56. if Value == 'Lucky Block' then
  57. for _ = 1,5 do
  58. ReplicatedStorage.SpawnLuckyBlock:FireServer()
  59. end
  60. end
  61. if Value == 'Super Block' then
  62. for _ = 1,5 do
  63. ReplicatedStorage.SpawnSuperBlock:FireServer()
  64. end
  65. end
  66. if Value == 'Diamond Block' then
  67. for _ = 1,5 do
  68. ReplicatedStorage.SpawnDiamondBlock:FireServer()
  69. end
  70. end
  71. if Value == 'Rainbow Block' then
  72. for _ = 1,5 do
  73. ReplicatedStorage.SpawnRainbowBlock:FireServer()
  74. end
  75. end
  76. if Value == 'Galaxy Block' then
  77. for _ = 1,5 do
  78. ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  79. end
  80. end
  81. end})
  82.  
  83. Tab:AddDropdown({
  84. Name = "Spawn 10 Blocks",
  85. Default = "Select Block",
  86. Options = {"Select Block", "Lucky Block", "Super Block", "Diamond Block", "Rainbow Block","Galaxy Block"},
  87. Callback = function(Value)
  88. if Value == 'Lucky Block' then
  89. for _ = 1,5 do
  90. ReplicatedStorage.SpawnLuckyBlock:FireServer()
  91. end
  92. end
  93. if Value == 'Super Block' then
  94. for _ = 1,10 do
  95. ReplicatedStorage.SpawnSuperBlock:FireServer()
  96. end
  97. end
  98. if Value == 'Diamond Block' then
  99. for _ = 1,10 do
  100. ReplicatedStorage.SpawnDiamondBlock:FireServer()
  101. end
  102. end
  103. if Value == 'Rainbow Block' then
  104. for _ = 1,10 do
  105. ReplicatedStorage.SpawnRainbowBlock:FireServer()
  106. end
  107. end
  108. if Value == 'Galaxy Block' then
  109. for _ = 1,10 do
  110. ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  111. end
  112. end
  113. end})
  114.  
  115. Tab:AddDropdown({
  116. Name = "Spawn 20 Blocks",
  117. Default = "Select Block",
  118. Options = {"Select Block", "Lucky Block", "Super Block", "Diamond Block", "Rainbow Block","Galaxy Block"},
  119. Callback = function(Value)
  120. if Value == 'Lucky Block' then
  121. for _ = 1,20 do
  122. ReplicatedStorage.SpawnLuckyBlock:FireServer()
  123. end
  124. end
  125. if Value == 'Super Block' then
  126. for _ = 1,20 do
  127. ReplicatedStorage.SpawnSuperBlock:FireServer()
  128. end
  129. end
  130. if Value == 'Diamond Block' then
  131. for _ = 1,20 do
  132. ReplicatedStorage.SpawnDiamondBlock:FireServer()
  133. end
  134. end
  135. if Value == 'Rainbow Block' then
  136. for _ = 1,20 do
  137. ReplicatedStorage.SpawnRainbowBlock:FireServer()
  138. end
  139. end
  140. if Value == 'Galaxy Block' then
  141. for _ = 1,20 do
  142. ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  143. end
  144. end
  145. end})
  146.  
  147. Tab:AddButton({
  148. Name = "Kill All (Requires Hex Spitter)",
  149. Callback = function()
  150. local HexSpitter = P.LocalPlayer.Character.HexSpitter
  151. local ServerControl = HexSpitter.Remotes.ServerControl
  152. for _ = 1,20 do
  153. for _, Child in next, game.Players:GetPlayers() do
  154. if Child ~= game.Players.LocalPlayer then
  155. ServerControl:InvokeServer('RayHit', {['Position'] = Vector3.new(0, 0, 0), ["Hit"] = Child.Character.Head})
  156. end
  157. end
  158. end
  159. OrionLib:MakeNotification({
  160. Name = "GUI",
  161. Content = "Killed everyone ;)",
  162. Image = "rbxassetid://4483345998",
  163. Time = 3
  164. })
  165. end
  166. })
  167.  
  168. ---//MISC
  169. Tab2:AddSlider({
  170. Name = "Walkspeed",
  171. Min = 0,
  172. Max = 500,
  173. Default = 15,
  174. Increment = 1,
  175. ValueName = "Walkspeed",
  176. Color = Color3.fromRGB(63, 198, 255),
  177. Callback = function(Value)
  178. game:GetService('Workspace')[Name].Humanoid.WalkSpeed = Value
  179. end
  180. })
  181. Tab2:AddSlider({
  182. Name = "JumpPower",
  183. Min = 0,
  184. Max = 500,
  185. Default = 50,
  186. Increment = 1,
  187. ValueName = "JumpPower",
  188. Color = Color3.fromRGB(31, 255, 23),
  189. Callback = function(Value)
  190. game:GetService('Workspace')[Name].Humanoid.JumpPower = Value
  191. end
  192. })
  193. Tab2:AddSlider({
  194. Name = "HipHeight",
  195. Min = 0,
  196. Max = 500,
  197. Default = 0,
  198. Increment = 1,
  199. ValueName = "HipHeight",
  200. Color = Color3.fromRGB(253, 17, 17),
  201. Callback = function(Value)
  202. game:GetService('Workspace')[Name].Humanoid.HipHeight = Value
  203. end
  204. })
  205. Tab2:AddSlider({
  206. Name = "Gravity",
  207. Min = 0,
  208. Max = 500,
  209. Default = 200,
  210. Increment = 1,
  211. ValueName = "Gravity",
  212. Color = Color3.fromRGB(242, 249, 148),
  213. Callback = function(Value)
  214. workspace.Gravity = Value
  215. end
  216. })
  217. Tab2:AddTextbox({
  218. Name = "Teleport to player",
  219. Default = "Player Name",
  220. TextDisappear = true,
  221. Callback = function(Value)
  222. local function TPToPlayer()
  223. HRP.CFrame = workspace[Value].HumanoidRootPart.CFrame
  224. end
  225. TPToPlayer()
  226. end
  227. })
  228. Tab2:AddButton({
  229. Name = "Teleport to VoidBlock",
  230. Callback = function()
  231. local function GetNiggered()
  232. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.CenterBlocks.Givers.VoidGiver.GUI.CFrame
  233. end
  234. GetNiggered()
  235. end
  236. })
  237. Tab2:AddButton({
  238. Name = "Teleport to Safe spot",
  239. Callback = function()
  240. local function Cute()
  241. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Wedge.CFrame
  242. end
  243. Cute()
  244. end
  245. })
  246. Tab2:AddButton({
  247. Name = "Teleport to Base",
  248. Callback = function()
  249. local function Run()
  250. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Spawn.Value
  251. end
  252. Run()
  253. end
  254. })
  255. Tab2:AddButton({
  256. Name = "Delete Trees",
  257. Callback = function()
  258. for _, Tree in next, game.Workspace:GetChildren() do
  259. if Tree.Name == 'Tree' then
  260. Tree:Destroy()
  261. end
  262. end
  263. end
  264. })
  265.  
  266. ---//Keybinds
  267. Tab3:AddBind({
  268. Name = "Lucky Block",
  269. Default = Enum.KeyCode.Q,
  270. Callback = function()
  271. ReplicatedStorage.SpawnLuckyBlock:FireServer()
  272. end
  273. })
  274. Tab3:AddBind({
  275. Name = "Super Block",
  276. Default = Enum.KeyCode.E,
  277. Callback = function()
  278. ReplicatedStorage.SpawnSuperBlock:FireServer()
  279. end
  280. })
  281. Tab3:AddBind({
  282. Name = "Diamond Block",
  283. Default = Enum.KeyCode.R,
  284. Callback = function()
  285. ReplicatedStorage.SpawnDiamondBlock:FireServer()
  286. end
  287. })
  288. Tab3:AddBind({
  289. Name = "Rainbow Block",
  290. Default = Enum.KeyCode.T,
  291. Callback = function()
  292. ReplicatedStorage.SpawnRainbowBlock:FireServer()
  293. end
  294. })
  295. Tab3:AddBind({
  296. Name = "Galaxy Block",
  297. Default = Enum.KeyCode.Y,
  298. Callback = function()
  299. ReplicatedStorage.SpawnGalaxyBlock:FireServer()
  300. end
  301. })
  302.  
  303.  
  304. ---//CREDITS
  305. Tab4:AddButton({
  306. Name = "Copy link to discord",
  307. Callback = function()
  308. setclipboard('https://discord.gg/5Fy4H82TCq')
  309. end
  310. })
  311. Tab4:AddLabel("Made by isaaaaa#0001")
  312.  
  313. OrionLib:MakeNotification({
  314. Name = "GUI",
  315. Content = "Successfully loaded GUI",
  316. Image = "rbxassetid://4483345998",
  317. Time = 5
  318. })
  319. OrionLib:MakeNotification({
  320. Name = "GUI",
  321. Content = "Copied link to the discord server!",
  322. Image = "rbxassetid://4483345998",
  323. Time = 5
  324. })
  325. setclipboard('https://discord.gg/5Fy4H82TCq')
  326. OrionLib:Init()
Add Comment
Please, Sign In to add comment