Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Created by Cow and matuman
- -- Created: 2/7/19
- -- Updated: 2/11/19 Added better zap and 'esp' functions
- -- Test with Synapse X v1.2.3b
- -- Game: https://www.roblox.com/games/70005410
- local storage = game:GetService("ReplicatedStorage")
- local player = game:GetService("Players").LocalPlayer
- local character = player.Character
- local playerGui = player:FindFirstChild("PlayerGui")
- local mouse = player:GetMouse()
- _G.tauntLoop = false
- _G.esp = false
- _G.everyone = true
- local Y_Increase_Amount = 100
- local zapPlayers = {}
- for i, v in pairs(playerGui:GetChildren()) do
- if v.Name == "Cow's_Blox_Hunt_Gui" then
- v:Destroy()
- end
- end
- local screenGui = Instance.new("ScreenGui", playerGui)
- screenGui.Name = "Cow's_Blox_Hunt_Gui"
- function createGui()
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(0, 150, 0, 0)
- frame.Position = UDim2.new(0, 5, 0.4, 0)
- frame.BackgroundTransparency = 1
- local infHealth = Instance.new("TextButton", frame)
- infHealth.Size = UDim2.new(1, 0, 0, 36)
- infHealth.Position = UDim2.new(0, 0, 0, 0)
- infHealth.Text = "Inf Health"
- infHealth.Font = Enum.Font.SourceSansBold
- infHealth.TextColor3 = Color3.fromRGB(255, 255, 255)
- infHealth.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- infHealth.TextScaled = true
- infHealth.MouseButton1Click:Connect(function()
- infHealthFunc()
- end)
- local infEnergy = Instance.new("TextButton", frame)
- infEnergy.Size = UDim2.new(1, 0, 0, 36)
- infEnergy.Position = UDim2.new(0, 0, 0, 41)
- infEnergy.Text = "Inf Energy"
- infEnergy.Font = Enum.Font.SourceSansBold
- infEnergy.TextColor3 = Color3.fromRGB(255, 255, 255)
- infEnergy.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- infEnergy.TextScaled = true
- infEnergy.MouseButton1Click:Connect(function()
- infEnergyFunc()
- end)
- local endObby = Instance.new("TextButton", frame)
- endObby.Size = UDim2.new(1, 0, 0, 36)
- endObby.Position = UDim2.new(0, 0, 0, 82)
- endObby.Text = "End of Obby"
- endObby.Font = Enum.Font.SourceSansBold
- endObby.TextColor3 = Color3.fromRGB(255, 255, 255)
- endObby.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- endObby.TextScaled = true
- endObby.MouseButton1Click:Connect(function()
- endObbyFunc()
- end)
- local taunt = Instance.new("TextButton", frame)
- taunt.Size = UDim2.new(0.75, 0, 0, 36)
- taunt.Position = UDim2.new(0, 0, 0, 123)
- taunt.Text = "Taunt"
- taunt.Font = Enum.Font.SourceSansBold
- taunt.TextColor3 = Color3.fromRGB(255, 255, 255)
- taunt.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- taunt.TextScaled = true
- taunt.MouseButton1Click:Connect(function()
- tauntFunc()
- end)
- local tauntStatus = Instance.new("TextButton", frame)
- tauntStatus.Size = UDim2.new(0.25, -5, 0, 36)
- tauntStatus.Position = UDim2.new(0.75, 5, 0, 123)
- tauntStatus.Text = "Off"
- tauntStatus.Font = Enum.Font.SourceSansBold
- tauntStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
- tauntStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- tauntStatus.TextScaled = true
- tauntStatus.MouseButton1Click:Connect(function()
- if _G.tauntLoop then
- _G.tauntLoop = false
- tauntStatus.Text = "Off"
- tauntStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
- else
- _G.tauntLoop = true
- tauntStatus.Text = "On"
- tauntStatus.TextColor3 = Color3.fromRGB(0, 255, 0)
- tauntLoopFunc()
- end
- end)
- local zap = Instance.new("TextButton", frame)
- zap.Size = UDim2.new(0.75, 0, 0, 36)
- zap.Position = UDim2.new(0, 0, 0, 164)
- zap.Text = "Zap"
- zap.Font = Enum.Font.SourceSansBold
- zap.TextColor3 = Color3.fromRGB(255, 255, 255)
- zap.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- zap.TextScaled = true
- zap.MouseButton1Click:Connect(function()
- tauntFunc()
- end)
- local zapStatus = Instance.new("TextButton", frame)
- zapStatus.Size = UDim2.new(0.25, -5, 0, 36)
- zapStatus.Position = UDim2.new(0.75, 5, 0, 164)
- zapStatus.Text = "+"
- zapStatus.Font = Enum.Font.SourceSansBold
- zapStatus.TextColor3 = Color3.fromRGB(255, 255, 255)
- zapStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- zapStatus.TextScaled = true
- zapStatus.MouseButton1Click:Connect(function()
- if frame:FindFirstChild("zapGui") then
- frame:FindFirstChild("zapGui"):Destroy()
- zapStatus.Text = "+"
- else
- zapStatus.Text = "-"
- createZapGui(frame)
- end
- end)
- local ESP = Instance.new("TextLabel", frame)
- ESP.Size = UDim2.new(0.75, 0, 0, 36)
- ESP.Position = UDim2.new(0, 0, 0, 205)
- ESP.Text = "'ESP'"
- ESP.Font = Enum.Font.SourceSansBold
- ESP.TextColor3 = Color3.fromRGB(255, 255, 255)
- ESP.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- ESP.TextScaled = true
- local espStatus = Instance.new("TextButton", frame)
- espStatus.Size = UDim2.new(0.25, -5, 0, 36)
- espStatus.Position = UDim2.new(0.75, 5, 0, 205)
- espStatus.Text = "Off"
- espStatus.Font = Enum.Font.SourceSansBold
- espStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
- espStatus.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- espStatus.TextScaled = true
- espStatus.MouseButton1Click:Connect(function()
- if _G.esp then
- _G.esp = false
- espStatus.Text = "Off"
- espStatus.TextColor3 = Color3.fromRGB(255, 0, 0)
- espFunc()
- else
- _G.esp = true
- espStatus.Text = "On"
- espStatus.TextColor3 = Color3.fromRGB(0, 255, 0)
- espFunc()
- end
- end)
- local yIncrease = Instance.new("TextButton", frame)
- yIncrease.Size = UDim2.new(1, 0, 0, 36)
- yIncrease.Position = UDim2.new(0, 0, 0, 246)
- yIncrease.Text = "Y + "..Y_Increase_Amount
- yIncrease.Font = Enum.Font.SourceSansBold
- yIncrease.TextColor3 = Color3.fromRGB(255, 255, 255)
- yIncrease.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- yIncrease.TextScaled = true
- yIncrease.MouseButton1Click:Connect(function()
- yIncreaseFunc()
- end)
- end
- createGui()
- function infHealthFunc()
- game:GetService("ReplicatedStorage").GameFunctions.StatChange:FireServer("Health", 999999999999999)
- end
- function infEnergyFunc()
- game:GetService("ReplicatedStorage").GameFunctions.StatChange:FireServer("Energy", 999999999999999)
- end
- function endObbyFunc()
- character:MoveTo(Vector3.new(-84, 65, 146))
- end
- function tauntFunc()
- game:GetService("ReplicatedStorage").GameFunctions.Taunt:FireServer()
- end
- canTauntLoop = true
- function tauntLoopFunc()
- canTauntLoop = false
- game:GetService("ReplicatedStorage").GameFunctions.Taunt:FireServer()
- delay(0.1, function()
- canTauntLoop = true
- if _G.tauntLoop then
- tauntLoopFunc()
- end
- end)
- end
- local canCreatePlayers = true
- function createZapGui(frame)
- if frame then
- local frame = Instance.new("Frame", frame)
- frame.Name = "zapGui"
- frame.Size = UDim2.new(0, 150, 0, 0)
- frame.Position = UDim2.new(0, 155, 0.4, 0)
- frame.BackgroundTransparency = 1
- local button = Instance.new("TextButton", frame)
- button.Size = UDim2.new(1, 0, 0, 36)
- button.Position = UDim2.new(0, 0, 0, -133)
- button.Text = "Zap Everyone"
- button.Font = Enum.Font.SourceSansBold
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- button.TextScaled = true
- button.Name = "--"
- button.MouseButton1Click:Connect(function()
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name ~= player.Name then
- game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
- end
- end
- end)
- local button = Instance.new("TextButton", frame)
- button.Size = UDim2.new(1, 0, 0, 36)
- button.Position = UDim2.new(0, 0, 0, -92)
- button.Text = "Zap All Reds"
- button.Font = Enum.Font.SourceSansBold
- button.TextColor3 = Color3.new(0.768628, 0.156863, 0.109804)
- button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- button.TextScaled = true
- button.Name = "--"
- button.MouseButton1Click:Connect(function()
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name ~= player.Name and v.Character and v.Character.Torso and v.Character.Torso.BrickColor == BrickColor.Red() then
- game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
- end
- end
- end)
- local button = Instance.new("TextButton", frame)
- button.Size = UDim2.new(1, 0, 0, 36)
- button.Position = UDim2.new(0, 0, 0, -51)
- button.Text = "Zap All Blues"
- button.Font = Enum.Font.SourceSansBold
- button.TextColor3 = Color3.new(0.0509804, 0.411765, 0.67451)
- button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- button.TextScaled = true
- button.Name = "--"
- button.MouseButton1Click:Connect(function()
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name ~= player.Name and v.Character and v.Character.Torso and v.Character.Torso.BrickColor == BrickColor.Blue() then
- game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
- end
- end
- end)
- local line = Instance.new("Frame", frame)
- line.Size = UDim2.new(1.2, 0, 0, 0)
- line.Position = UDim2.new(-0.1, 0, 0, -7.5)
- line.BorderColor3 = Color3.fromRGB(0, 0, 0)
- line.Name = "--"
- local function createPlayers()
- if canCreatePlayers and frame.Parent then
- canCreatePlayers = false
- for i, v in pairs(frame:GetChildren()) do
- if v.Name ~= "--" then
- v:Destroy()
- end
- end
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- local button = Instance.new("TextButton", frame)
- button.Size = UDim2.new(1, 0, 0, 36)
- button.Position = UDim2.new(0, 0, 0, 41 * (i - 1))
- button.Text = v.Name
- button.Font = Enum.Font.SourceSansBold
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- button.TextScaled = true
- if v.Character and v.Character:FindFirstChild("Torso") then
- local color = v.Character:FindFirstChild("Torso").Color
- button.TextColor3 = Color3.new(color.r, color.g, color.b)
- else
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- end
- button.MouseButton1Click:Connect(function()
- game:GetService("ReplicatedStorage").GameFunctions.Shock:FireServer("Hit", v.Character)
- end)
- end
- delay(1, function()
- canCreatePlayers = true
- createPlayers()
- end)
- end
- end
- createPlayers()
- end
- end
- function espFunc()
- if workspace:FindFirstChild("espFolder") then
- repeat
- workspace:FindFirstChild("espFolder"):Destroy()
- until not workspace:FindFirstChild("espFolder")
- end
- if _G.esp then
- folder = Instance.new("Folder", workspace)
- folder.Name = "espFolder"
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- createEspImage(v, folder)
- end
- delay(1, function()
- espFunc()
- end)
- end
- end
- function createEspImage(v, folder)
- if v.Name ~= player.Name and v.Character and v.Character.HumanoidRootPart then
- local billBoard = Instance.new("BillboardGui", folder)
- billBoard.Size = UDim2.new(2, 0, 2, 0)
- billBoard.AlwaysOnTop = true
- billBoard.Adornee = v.Character.HumanoidRootPart
- billBoard.Name = v.Name
- local image = game:GetService("StarterGui").MainGui.SettingsButton.Button:Clone()
- image.Parent = billBoard
- image.Size = UDim2.new(1, 0, 1, 0)
- image.Position = UDim2.new(0, 0, 0, 0)
- local color = v.Character:FindFirstChild("Torso").Color
- image.ImageColor3 = Color3.new(color.r, color.g, color.b)
- local text = Instance.new("TextLabel", billBoard)
- text.Size = UDim2.new(11, 0, 1/3, 0)
- text.Position = UDim2.new(-5, 0, -0.25, 0)
- text.Text = v.Name
- text.TextScaled = true
- text.Font = Enum.Font.SourceSansBold
- text.TextColor3 = Color3.fromRGB(255, 255, 255)
- text.TextStrokeTransparency = 0.5
- text.BackgroundTransparency = 1
- text.ZIndex = 5
- end
- end
- function yIncreaseFunc()
- character:MoveTo(Vector3.new(character.Head.Position.X, character.Head.Position.Y + Y_Increase_Amount, character.Head.Position.Z))
- end
Add Comment
Please, Sign In to add comment