BEAM21

Untitled

Apr 22nd, 2022
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.15 KB | None | 0 0
  1. -- Created by Cow and matuman
  2. -- Created: 2/7/19
  3. -- Updated: 2/11/19 Added better zap and 'esp' functions
  4. -- Test with Synapse X v1.2.3b
  5.  
  6. -- Game: https://www.roblox.com/games/70005410
  7. local storage = game:GetService("ReplicatedStorage")
  8.  
  9. local player = game:GetService("Players").LocalPlayer
  10.  
  11. local character = player.Character
  12.  
  13. local playerGui = player:FindFirstChild("PlayerGui")
  14.  
  15. local mouse = player:GetMouse()
  16.  
  17. _G.tauntLoop = false
  18.  
  19. _G.esp = false
  20.  
  21. _G.everyone = true
  22.  
  23. local Y_Increase_Amount = 100
  24.  
  25. local zapPlayers = {}
  26.  
  27. for i, v in pairs(playerGui:GetChildren()) do
  28.    if v.Name == "Cow's_Blox_Hunt_Gui" then
  29.        v:Destroy()
  30.    end
  31. end
  32.  
  33. local screenGui = Instance.new("ScreenGui", playerGui)
  34. screenGui.Name = "Cow's_Blox_Hunt_Gui"
  35.  
  36. function createGui()
  37. local frame = Instance.new("Frame", screenGui)
  38. frame.Size = UDim2.new(0, 150, 0, 0)
  39. frame.Position = UDim2.new(0, 5, 0.4, 0)
  40. frame.BackgroundTransparency = 1
  41.  
  42. local infHealth = Instance.new("TextButton", frame)
  43. infHealth.Size = UDim2.new(1, 0, 0, 36)
  44. infHealth.Position = UDim2.new(0, 0, 0, 0)
  45. infHealth.Text = "Inf Health"
  46. infHealth.Font = Enum.Font.SourceSansBold
  47. infHealth.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. infHealth.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  49. infHealth.TextScaled = true
  50.  
  51. infHealth.MouseButton1Click:Connect(function()
  52. infHealthFunc()
  53. end)
  54.  
  55. local infEnergy = Instance.new("TextButton", frame)
  56. infEnergy.Size = UDim2.new(1, 0, 0, 36)
  57. infEnergy.Position = UDim2.new(0, 0, 0, 41)
  58. infEnergy.Text = "Inf Energy"
  59. infEnergy.Font = Enum.Font.SourceSansBold
  60. infEnergy.TextColor3 = Color3.fromRGB(255, 255, 255)
  61. infEnergy.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  62. infEnergy.TextScaled = true
  63.  
  64. infEnergy.MouseButton1Click:Connect(function()
  65. infEnergyFunc()
  66. end)
  67.  
  68. local endObby = Instance.new("TextButton", frame)
  69. endObby.Size = UDim2.new(1, 0, 0, 36)
  70. endObby.Position = UDim2.new(0, 0, 0, 82)
  71. endObby.Text = "End of Obby"
  72. endObby.Font = Enum.Font.SourceSansBold
  73. endObby.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. endObby.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  75. endObby.TextScaled = true
  76.  
  77. endObby.MouseButton1Click:Connect(function()
  78. endObbyFunc()
  79. end)
  80.  
  81. local taunt = Instance.new("TextButton", frame)
  82. taunt.Size = UDim2.new(0.75, 0, 0, 36)
  83. taunt.Position = UDim2.new(0, 0, 0, 123)
  84. taunt.Text = "Taunt"
  85. taunt.Font = Enum.Font.SourceSansBold
  86. taunt.TextColor3 = Color3.fromRGB(255, 255, 255)
  87. taunt.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  88. taunt.TextScaled = true
  89.  
  90. taunt.MouseButton1Click:Connect(function()
  91. tauntFunc()
  92. end)
  93.  
  94. local tauntStatus = Instance.new("TextButton", frame)
  95. tauntStatus.Size = UDim2.new(0.25, -5, 0, 36)
  96. tauntStatus.Position = UDim2.new(0.75, 5, 0, 123)
  97. tauntStatus.Text = "Off"
  98. tauntStatus.Font = Enum.Font.SourceSansBold
  99. tauntStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
  100. tauntStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  101. tauntStatus.TextScaled = true
  102.  
  103. tauntStatus.MouseButton1Click:Connect(function()
  104. if _G.tauntLoop then
  105. _G.tauntLoop = false
  106. tauntStatus.Text = "Off"
  107. tauntStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
  108. else
  109. _G.tauntLoop = true
  110. tauntStatus.Text = "On"
  111. tauntStatus.TextColor3 = Color3.fromRGB(0, 255, 0)
  112. tauntLoopFunc()
  113. end
  114. end)
  115.  
  116. local zap = Instance.new("TextButton", frame)
  117. zap.Size = UDim2.new(0.75, 0, 0, 36)
  118. zap.Position = UDim2.new(0, 0, 0, 164)
  119. zap.Text = "Zap"
  120. zap.Font = Enum.Font.SourceSansBold
  121. zap.TextColor3 = Color3.fromRGB(255, 255, 255)
  122. zap.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  123. zap.TextScaled = true
  124.  
  125. zap.MouseButton1Click:Connect(function()
  126. tauntFunc()
  127. end)
  128.  
  129. local zapStatus = Instance.new("TextButton", frame)
  130. zapStatus.Size = UDim2.new(0.25, -5, 0, 36)
  131. zapStatus.Position = UDim2.new(0.75, 5, 0, 164)
  132. zapStatus.Text = "+"
  133. zapStatus.Font = Enum.Font.SourceSansBold
  134. zapStatus.TextColor3 = Color3.fromRGB(255, 255, 255)
  135. zapStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  136. zapStatus.TextScaled = true
  137.  
  138. zapStatus.MouseButton1Click:Connect(function()
  139. if frame:FindFirstChild("zapGui") then
  140. frame:FindFirstChild("zapGui"):Destroy()
  141. zapStatus.Text = "+"
  142. else
  143. zapStatus.Text = "-"
  144. createZapGui(frame)
  145. end
  146. end)
  147.  
  148. local ESP = Instance.new("TextLabel", frame)
  149. ESP.Size = UDim2.new(0.75, 0, 0, 36)
  150. ESP.Position = UDim2.new(0, 0, 0, 205)
  151. ESP.Text = "'ESP'"
  152. ESP.Font = Enum.Font.SourceSansBold
  153. ESP.TextColor3 = Color3.fromRGB(255, 255, 255)
  154. ESP.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  155. ESP.TextScaled = true
  156.  
  157. local espStatus = Instance.new("TextButton", frame)
  158. espStatus.Size = UDim2.new(0.25, -5, 0, 36)
  159. espStatus.Position = UDim2.new(0.75, 5, 0, 205)
  160. espStatus.Text = "Off"
  161. espStatus.Font = Enum.Font.SourceSansBold
  162. espStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
  163. espStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  164. espStatus.TextScaled = true
  165.  
  166. espStatus.MouseButton1Click:Connect(function()
  167. if _G.esp then
  168. _G.esp = false
  169. espStatus.Text = "Off"
  170. espStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
  171. espFunc()
  172. else
  173. _G.esp = true
  174. espStatus.Text = "On"
  175. espStatus.TextColor3 = Color3.fromRGB(0, 255, 0)
  176. espFunc()
  177. end
  178. end)
  179.  
  180. local yIncrease = Instance.new("TextButton", frame)
  181. yIncrease.Size = UDim2.new(1, 0, 0, 36)
  182. yIncrease.Position = UDim2.new(0, 0, 0, 246)
  183. yIncrease.Text = "Y + "..Y_Increase_Amount
  184. yIncrease.Font = Enum.Font.SourceSansBold
  185. yIncrease.TextColor3 = Color3.fromRGB(255, 255, 255)
  186. yIncrease.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  187. yIncrease.TextScaled = true
  188.  
  189. yIncrease.MouseButton1Click:Connect(function()
  190. yIncreaseFunc()
  191. end)
  192. end
  193. createGui()
  194.  
  195. function infHealthFunc()
  196. game:GetService("ReplicatedStorage").GameFunctions.StatChange:FireServer("Health", 999999999999999)
  197. end
  198.  
  199. function infEnergyFunc()
  200. game:GetService("ReplicatedStorage").GameFunctions.StatChange:FireServer("Energy", 999999999999999)
  201. end
  202.  
  203. function endObbyFunc()
  204. character:MoveTo(Vector3.new(-84, 65, 146))
  205. end
  206.  
  207. function tauntFunc()
  208. game:GetService("ReplicatedStorage").GameFunctions.Taunt:FireServer()
  209. end
  210.  
  211. canTauntLoop = true
  212. function tauntLoopFunc()
  213. canTauntLoop = false
  214. game:GetService("ReplicatedStorage").GameFunctions.Taunt:FireServer()
  215. delay(0.1, function()
  216. canTauntLoop = true
  217. if _G.tauntLoop then
  218. tauntLoopFunc()
  219. end
  220. end)
  221. end
  222.  
  223. local canCreatePlayers = true
  224.  
  225. function createZapGui(frame)
  226. if frame then
  227. local frame = Instance.new("Frame", frame)
  228. frame.Name = "zapGui"
  229. frame.Size = UDim2.new(0, 150, 0, 0)
  230. frame.Position = UDim2.new(0, 155, 0.4, 0)
  231. frame.BackgroundTransparency = 1
  232.  
  233. local button = Instance.new("TextButton", frame)
  234. button.Size = UDim2.new(1, 0, 0, 36)
  235. button.Position = UDim2.new(0, 0, 0, -133)
  236. button.Text = "Zap Everyone"
  237. button.Font = Enum.Font.SourceSansBold
  238. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  239. button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  240. button.TextScaled = true
  241. button.Name = "--"
  242.  
  243. button.MouseButton1Click:Connect(function()
  244. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  245. if v.Name ~= player.Name then
  246. game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
  247. end
  248. end
  249. end)
  250.  
  251. local button = Instance.new("TextButton", frame)
  252. button.Size = UDim2.new(1, 0, 0, 36)
  253. button.Position = UDim2.new(0, 0, 0, -92)
  254. button.Text = "Zap All Reds"
  255. button.Font = Enum.Font.SourceSansBold
  256. button.TextColor3 = Color3.new(0.768628, 0.156863, 0.109804)
  257. button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  258. button.TextScaled = true
  259. button.Name = "--"
  260.  
  261. button.MouseButton1Click:Connect(function()
  262. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  263. if v.Name ~= player.Name and v.Character and v.Character.Torso and v.Character.Torso.BrickColor == BrickColor.Red() then
  264. game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
  265. end
  266. end
  267. end)
  268.  
  269. local button = Instance.new("TextButton", frame)
  270. button.Size = UDim2.new(1, 0, 0, 36)
  271. button.Position = UDim2.new(0, 0, 0, -51)
  272. button.Text = "Zap All Blues"
  273. button.Font = Enum.Font.SourceSansBold
  274. button.TextColor3 = Color3.new(0.0509804, 0.411765, 0.67451)
  275. button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  276. button.TextScaled = true
  277. button.Name = "--"
  278.  
  279. button.MouseButton1Click:Connect(function()
  280. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  281. if v.Name ~= player.Name and v.Character and v.Character.Torso and v.Character.Torso.BrickColor == BrickColor.Blue() then
  282. game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
  283. end
  284. end
  285. end)
  286.  
  287. local line = Instance.new("Frame", frame)
  288. line.Size = UDim2.new(1.2, 0, 0, 0)
  289. line.Position = UDim2.new(-0.1, 0, 0, -7.5)
  290. line.BorderColor3 = Color3.fromRGB(0, 0, 0)
  291. line.Name = "--"
  292.  
  293. local function createPlayers()
  294. if canCreatePlayers and frame.Parent then
  295. canCreatePlayers = false
  296.  
  297. for i, v in pairs(frame:GetChildren()) do
  298. if v.Name ~= "--" then
  299. v:Destroy()
  300. end
  301. end
  302.  
  303. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  304. local button = Instance.new("TextButton", frame)
  305. button.Size = UDim2.new(1, 0, 0, 36)
  306. button.Position = UDim2.new(0, 0, 0, 41 * (i - 1))
  307. button.Text = v.Name
  308. button.Font = Enum.Font.SourceSansBold
  309. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  310. button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  311. button.TextScaled = true
  312.  
  313. if v.Character and v.Character:FindFirstChild("Torso") then
  314. local color = v.Character:FindFirstChild("Torso").Color
  315. button.TextColor3 = Color3.new(color.r, color.g, color.b)
  316. else
  317. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  318. end
  319.  
  320. button.MouseButton1Click:Connect(function()
  321. game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
  322. end)
  323. end
  324.  
  325. delay(1, function()
  326. canCreatePlayers = true
  327. createPlayers()
  328. end)
  329. end
  330. end
  331. createPlayers()
  332. end
  333. end
  334.  
  335. function espFunc()
  336. if workspace:FindFirstChild("espFolder") then
  337. repeat
  338. workspace:FindFirstChild("espFolder"):Destroy()
  339. until not workspace:FindFirstChild("espFolder")
  340. end
  341. if _G.esp then
  342. folder = Instance.new("Folder", workspace)
  343. folder.Name = "espFolder"
  344. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  345. createEspImage(v, folder)
  346. end
  347. delay(1, function()
  348. espFunc()
  349. end)
  350. end
  351. end
  352.  
  353. function createEspImage(v, folder)
  354. if v.Name ~= player.Name and v.Character and v.Character.HumanoidRootPart then
  355. local billBoard = Instance.new("BillboardGui", folder)
  356. billBoard.Size = UDim2.new(2, 0, 2, 0)
  357. billBoard.AlwaysOnTop = true
  358. billBoard.Adornee = v.Character.HumanoidRootPart
  359. billBoard.Name = v.Name
  360.  
  361. local image = game:GetService("StarterGui").MainGui.SettingsButton.Button:Clone()
  362. image.Parent = billBoard
  363. image.Size = UDim2.new(1, 0, 1, 0)
  364. image.Position = UDim2.new(0, 0, 0, 0)
  365. local color = v.Character:FindFirstChild("Torso").Color
  366. image.ImageColor3 = Color3.new(color.r, color.g, color.b)
  367.  
  368. local text = Instance.new("TextLabel", billBoard)
  369. text.Size = UDim2.new(11, 0, 1/3, 0)
  370. text.Position = UDim2.new(-5, 0, -0.25, 0)
  371. text.Text = v.Name
  372. text.TextScaled = true
  373. text.Font = Enum.Font.SourceSansBold
  374. text.TextColor3 = Color3.fromRGB(255, 255, 255)
  375. text.TextStrokeTransparency = 0.5
  376. text.BackgroundTransparency = 1
  377. text.ZIndex = 5
  378. end
  379. end
  380.  
  381. function yIncreaseFunc()
  382. character:MoveTo(Vector3.new(character.Head.Position.X, character.Head.Position.Y + Y_Increase_Amount, character.Head.Position.Z))
  383. end
Add Comment
Please, Sign In to add comment