Skip to content

Instantly share code, notes, and snippets.

@pisunchik-dev
Last active September 7, 2026 17:00
Show Gist options
  • Select an option

  • Save pisunchik-dev/becfddddb543a166690b9be66c2e7f74 to your computer and use it in GitHub Desktop.

Select an option

Save pisunchik-dev/becfddddb543a166690b9be66c2e7f74 to your computer and use it in GitHub Desktop.
local rs = game:GetService("RunService")
local plrss = game:GetService("Players")
local player = plrss.LocalPlayer
local mouse = player:GetMouse()
local tweenserv = game:GetService("TweenService")
local toggle = false
local toggle2 = false
local toggle3 = false
local toggle4 = false
local togglebind = Enum.KeyCode.F
local togglebind2 = Enum.KeyCode.C
local togglebind3 = Enum.KeyCode.V
local togglebind4 = Enum.KeyCode.K
local UserInputService = game:GetService("UserInputService")
local gui = Instance.new("ScreenGui")
gui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Transparency = 0
frame.Parent = gui
frame.Size = UDim2.new(0, 409, 0, 219)
frame.Position = UDim2.new(0.33, 0, 0.292, 0)
frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
local gradient = Instance.new("UIGradient")
gradient.Parent = frame
gradient.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0), Color3.fromRGB(129, 129, 129))
local uicorn = Instance.new("UICorner")
uicorn.Parent = frame
local textlab = Instance.new("TextLabel")
textlab.Parent = frame
textlab.Size = UDim2.new(0, 409, 0, 50)
textlab.Position = UDim2.new(0, 0, 0, 0)
textlab.BackgroundTransparency = 1
textlab.TextScaled = true
textlab.Font = Enum.Font.FredokaOne
textlab.Text = "🌙 Calef609's hub 🌙"
textlab.TextStrokeTransparency = 0
textlab.TextColor3 = Color3.fromRGB(255, 255, 255)
local textbut = Instance.new("TextButton")
textbut.Parent = gui
textbut.Size = UDim2.new(0, 57, 0, 55)
textbut.Position = UDim2.new(0.078, 0, 0.792, 0)
textbut.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
textbut.TextScaled = true
textbut.Text = "X"
textbut.TextStrokeTransparency = 0
textbut.TextColor3 = Color3.fromRGB(255, 255, 255)
local uicorn2 = Instance.new("UICorner")
uicorn2.Parent = textbut
frame.Visible = false
local textlab2 = Instance.new("TextLabel")
textlab2.Parent = frame
textlab2.Size = UDim2.new(0, 200, 0, 50)
textlab2.Position = UDim2.new(0.012, 0, 0.224, 0)
textlab2.BackgroundTransparency = 1
textlab2.TextScaled = false
textlab2.TextSize = 22
textlab2.Font = Enum.Font.FredokaOne
textlab2.Text = "Autoshoot status: ❌"
textlab2.TextStrokeTransparency = 0
textlab2.TextColor3 = Color3.fromRGB(255, 255, 255)
local textlab3 = Instance.new("TextLabel")
textlab3.Parent = frame
textlab3.Size = UDim2.new(0,200,0,50)
textlab3.Position = UDim2.new(0.012, 0, 0.384, 0)
textlab3.BackgroundTransparency = 1
textlab3.TextScaled = false
textlab3.TextScaled = 29
textlab3.Font = Enum.Font.FredokaOne
textlab3.Text = "ESP status: ❌"
textlab3.TextStrokeTransparency = 0
textlab3.TextColor3 = Color3.fromRGB(255, 255, 255)
local textlab4 = Instance.new("TextLabel")
textlab4.Parent = frame
textlab4.Size = UDim2.new(0,200,0,50)
textlab4.Position = UDim2.new(0.012, 0, 0.557, 0)
textlab4.BackgroundTransparency = 1
textlab4.TextScaled = false
textlab4.TextSize = 22
textlab4.Font = Enum.Font.FredokaOne
textlab4.Text = "Speedhack status: ❌"
textlab4.TextStrokeTransparency = 0
textlab4.TextColor3 = Color3.fromRGB(255, 255, 255)
local textlab5 = Instance.new("TextLabel")
textlab5.Parent = frame
textlab5.Size = UDim2.new(0,200,0,50)
textlab5.Position = UDim2.new(0.012, 0, 0.724, 0)
textlab5.BackgroundTransparency = 1
textlab5.TextScaled = false
textlab5.TextSize = 22
textlab5.Font = Enum.Font.FredokaOne
textlab5.Text = "Kill all status: ❌"
textlab5.TextStrokeTransparency = 0
textlab5.TextColor3 = Color3.fromRGB(255, 255, 255)
textbut.MouseButton1Click:Connect(function()
if frame.Visible then
local params = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local tr = tweenserv:Create(frame, params, {Size = UDim2.new(0, 70, 0, 60), Position = UDim2.new(0.444, 0, 0.392, 0)})
for _, v in pairs(frame:GetChildren()) do
if v:IsA("TextLabel") then
v.Visible = false
end
end
tr:Play()
tr.Completed:Wait()
frame.Visible = not frame.Visible
else
local params = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, false, 0)
local tr = tweenserv:Create(frame, params, {Size = UDim2.new(0, 409, 0, 219), Position = UDim2.new(0.33, 0, 0.292, 0)})
frame.Visible = not frame.Visible
tr:Play()
tr.Completed:Wait()
for _, v in pairs(frame:GetChildren()) do
if v:IsA("TextLabel") then
v.Visible = true
end
end
end
end)
UserInputService.InputBegan:Connect(function(input, gameProcessed)
if input.KeyCode == togglebind and not gameProcessed then
toggle = not toggle
elseif input.KeyCode == togglebind2 and not gameProcessed then
toggle2 = not toggle2
elseif input.KeyCode == togglebind3 and not gameProcessed then
toggle3 = not toggle3
elseif input.KeyCode == togglebind4 and not gameProcessed then
toggle4 = not toggle4
end
end)
local function getnearestplayer()
local nearest = nil
local nearestmagnitude = math.huge
for i,v in pairs(game.Workspace:GetChildren()) do
if v:FindFirstChild("Humanoid") and v ~= player.Character then
if not v:FindFirstChild("HumanoidRootPart") or not player.Character:FindFirstChild("HumanoidRootPart") then continue end
if (v.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).Magnitude < nearestmagnitude then
local raycast = Ray.new(player.Character.HumanoidRootPart.Position, (v.HumanoidRootPart.Position - player.Character.HumanoidRootPart.Position).Unit * 1000)
local raycastresult = workspace:Raycast(raycast.Origin, raycast.Direction)
if raycastresult and raycastresult.Instance:IsDescendantOf(v) then
nearest = v
nearestmagnitude = (raycastresult.Instance.Position - player.Character.HumanoidRootPart.Position).Magnitude
end
end
end
end
return nearest
end
rs.RenderStepped:Connect(function()
task.spawn(function()
if toggle then
textlab2.Text = "Autoshoot status: ✅"
local nearest = getnearestplayer()
if nearest then
local humrootpartpos = nearest.HumanoidRootPart.Position
if nearest:FindFirstChild("ForceField") then return end
if not player.Character:FindFirstChild("BasicGun") then return end
if not player.Character.BasicGun:FindFirstChild("ToolEvents") then return end
if not player.Character.BasicGun.ToolEvents:FindFirstChild("GunShot") then return end
local Event = game:GetService("Players").LocalPlayer.Character.BasicGun.ToolEvents.GunShot
Event:FireServer(humrootpartpos)
end
else
textlab2.Text = "Autoshoot status: ❌"
end
end)
task.spawn(function()
if toggle2 then
textlab3.Text = "ESP status: ✅"
for _, v in pairs(workspace:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(v) and v ~= player.Character then
if not v:FindFirstChild("ESPHIGHLIGHT") then
local highlight = Instance.new("Highlight")
highlight.Name = "ESPHIGHLIGHT"
highlight.Parent = v
end
end
end
else
textlab3.Text = "ESP status: ❌"
for _, v in pairs(workspace:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(v) then
if v:FindFirstChild("ESPHIGHLIGHT") then
v.ESPHIGHLIGHT:Destroy()
end
end
end
end
end)
task.spawn(function()
if toggle3 then
textlab4.Text = "Speedhack status: ✅"
if player.Character then
if player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.WalkSpeed = 50
end
end
else
textlab4.Text = "Speedhack status: ❌"
if player.Character then
if player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.WalkSpeed = 16
end
end
end
end)
task.spawn(function()
if toggle4 then
textlab5.Text = "Kill all status: ✅"
for _, v in ipairs(game.Workspace:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(v) then
if v:FindFirstChild("HumanoidRootPart") then
if v ~= player.Character then
if player.Character then
if player.Character:FindFirstChild("HumanoidRootPart") then
player.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,1)
task.wait(0.5)
end
end
end
end
end
end
else
textlab5.Text = "Kill all status: ❌"
end
end)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment