Skip to content

Instantly share code, notes, and snippets.

@rodovalhopauloandre-wq
Created January 17, 2026 01:00
Show Gist options
  • Select an option

  • Save rodovalhopauloandre-wq/f61b2b4d3c63e33e58ecfa1d3a61d741 to your computer and use it in GitHub Desktop.

Select an option

Save rodovalhopauloandre-wq/f61b2b4d3c63e33e58ecfa1d3a61d741 to your computer and use it in GitHub Desktop.
-- Serviços
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local player = Players.LocalPlayer
-- Personagem
local function getChar()
return player.Character or player.CharacterAdded:Wait()
end
local char = getChar()
local hum = char:WaitForChild("Humanoid")
local hrp = char:WaitForChild("HumanoidRootPart")
player.CharacterAdded:Connect(function(c)
char = c
hum = c:WaitForChild("Humanoid")
hrp = c:WaitForChild("HumanoidRootPart")
end)
-- Variáveis
local Aimlock = false
local AutoShoot = false
local KillAura = false
local Hitbox = false
local InfiniteJump = false
local Noclip = false
local SuperSpeed = false
local AutoFarm = false
local ESP = false
local WalkSpeedValue = 16
local SpeedOP = 200
local HitboxSize = 5
-- Crosshair
local CrossSize = 6
local CrossFilled = false
local Crosshair = Drawing.new("Circle")
Crosshair.Color = Color3.fromRGB(0,255,0)
Crosshair.Thickness = 2
Crosshair.Filled = CrossFilled
Crosshair.Radius = CrossSize
Crosshair.Visible = true
-- Funções
local function closestEnemy()
local target, dist = nil, math.huge
for _, plr in pairs(Players:GetPlayers()) do
if plr ~= player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
local d = (plr.Character.HumanoidRootPart.Position - hrp.Position).Magnitude
if d < dist then
dist = d
target = plr
end
end
end
return target
end
local function getEquippedTool()
for _, t in pairs(char:GetChildren()) do
if t:IsA("Tool") then return t end
end
return nil
end
-- Auto Farm Postes
local function runAutoFarm()
for _, prompt in pairs(workspace:GetDescendants()) do
if prompt:IsA("ProximityPrompt") then
prompt.HoldDuration = 0
end
end
while AutoFarm do
local postes = workspace:FindFirstChild("Postes")
if postes then
for _, poste in pairs(postes:GetChildren()) do
if poste.Name == "Poste" then
local estragado = poste:FindFirstChild("Estragado")
local luz = poste:FindFirstChild("Luz")
if estragado and luz then
hrp.CFrame = luz.CFrame + Vector3.new(0,3,0)
task.wait(0.1)
for _, prompt in pairs(poste:GetDescendants()) do
if prompt:IsA("ProximityPrompt") then
fireproximityprompt(prompt)
end
end
task.wait(0.1)
end
end
end
end
task.wait(0.1)
end
end
-- =========================
-- UI Rayfield
-- =========================
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
local Window = Rayfield:CreateWindow({
Name = "🌟 Premium HUB | rodovalhopauloandre-wq",
LoadingTitle = "Inicializando...",
LoadingSubtitle = "Delta Executor | PvP Warfare",
ConfigurationSaving = { Enabled = false }
})
-- Abas
local CombatTab = Window:CreateTab("⚔️ Combate")
local FarmTab = Window:CreateTab("🌾 Farm")
local VisualTab = Window:CreateTab("👁️ Visual")
local MoveTab = Window:CreateTab("🏃 Movimento")
-- Combat Toggles
CombatTab:CreateToggle({Name="Aimlock", CurrentValue=false, Callback=function(v) Aimlock=v end})
CombatTab:CreateToggle({Name="Auto Shoot", CurrentValue=false, Callback=function(v) AutoShoot=v end})
CombatTab:CreateToggle({Name="Kill Aura", CurrentValue=false, Callback=function(v) KillAura=v end})
CombatTab:CreateToggle({Name="Hitbox OP", CurrentValue=false, Callback=function(v) Hitbox=v end})
CombatTab:CreateToggle({Name="Infinite Jump", CurrentValue=false, Callback=function(v) InfiniteJump=v end})
CombatTab:CreateToggle({Name="Noclip", CurrentValue=false, Callback=function(v) Noclip=v end})
CombatTab:CreateToggle({Name="Super Speed 200", CurrentValue=false, Callback=function(v) SuperSpeed=v end})
-- Farm Toggles
FarmTab:CreateToggle({Name="Auto Farm Postes", CurrentValue=false, Callback=function(v) AutoFarm=v if v then spawn(runAutoFarm) end end})
-- Visual Toggles
VisualTab:CreateToggle({Name="ESP Players", CurrentValue=false, Callback=function(v) ESP=v end})
VisualTab:CreateToggle({Name="Crosshair Preenchido", CurrentValue=CrossFilled, Callback=function(v) CrossFilled=v Crosshair.Filled=v end})
VisualTab:CreateSlider({Name="Crosshair Size", Range={2,30}, CurrentValue=CrossSize, Callback=function(v) CrossSize=v Crosshair.Radius=v end})
-- Movimento
MoveTab:CreateSlider({Name="WalkSpeed", Range={16,300}, CurrentValue=WalkSpeedValue, Callback=function(v) WalkSpeedValue=v end})
MoveTab:CreateSlider({Name="Jump Power", Range={50,300}, CurrentValue=hum.JumpPower, Callback=function(v) hum.JumpPower=v end})
MoveTab:CreateButton({Name="Dash Forward", Callback=function() hrp.Velocity=hrp.CFrame.LookVector*120 end})
MoveTab:CreateButton({Name="Reset Stats", Callback=function() hum.Health=hum.MaxHealth hum.WalkSpeed=16 hum.JumpPower=50 end})
Rayfield:Notify({Title="Premium HUB", Content="✅ Hub DEFINITIVO com UI Rayfield ativado!", Duration=5})
-- =========================
-- Loops Principais
-- =========================
RunService.RenderStepped:Connect(function()
Crosshair.Position = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2)
if Aimlock then
local t = closestEnemy()
if t and t.Character then
Camera.CFrame = CFrame.new(Camera.CFrame.Position, t.Character.Head.Position)
end
end
end)
-- Infinite Jump
UIS.JumpRequest:Connect(function()
if InfiniteJump then hum:ChangeState(Enum.HumanoidStateType.Jumping) end
end)
-- Noclip
RunService.Stepped:Connect(function()
if Noclip then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then part.CanCollide=false end
end
end
end)
-- PvP e Hitbox
RunService.Heartbeat:Connect(function()
hum.WalkSpeed = SuperSpeed and SpeedOP or WalkSpeedValue
-- Hitbox OP
if Hitbox then
for _, plr in pairs(Players:GetPlayers()) do
if plr~=player and plr.Character then
local hrp2=plr.Character:FindFirstChild("HumanoidRootPart")
if hrp2 then
hrp2.Size=Vector3.new(HitboxSize,HitboxSize,HitboxSize)
hrp2.Transparency=0.7
hrp2.CanCollide=false
end
end
end
end
-- Kill Aura
if KillAura then
for _, plr in pairs(Players:GetPlayers()) do
if plr~=player and plr.Character and plr.Character:FindFirstChild("Humanoid") then
if (plr.Character.HumanoidRootPart.Position-hrp.Position).Magnitude<12 then
plr.Character.Humanoid.Health=0
end
end
end
end
-- Auto Shoot
if AutoShoot and Aimlock then
local t=closestEnemy()
if t and t.Character then
Camera.CFrame=CFrame.new(Camera.CFrame.Position,t.Character.Head.Position)
local tool=getEquippedTool()
if tool then
if tool:FindFirstChild("RemoteEvent") then
tool.RemoteEvent:FireServer()
elseif tool:FindFirstChildOfClass("RemoteFunction") then
tool.RemoteFunction:InvokeServer()
else
tool:Activate()
end
end
end
end
end)
-- =========================
-- ESP Players
-- =========================
local ESP_Table = {}
RunService.RenderStepped:Connect(function()
if ESP then
for _, plr in pairs(Players:GetPlayers()) do
if plr ~= player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
local hrp2 = plr.Character.HumanoidRootPart
local screenPos, onScreen = Camera:WorldToViewportPoint(hrp2.Position + Vector3.new(0,3,0))
if onScreen then
if not ESP_Table[plr] then
ESP_Table[plr] = Drawing.new("Text")
ESP_Table[plr].Color = Color3.fromRGB(255,0,0)
ESP_Table[plr].Size = 18
ESP_Table[plr].Center = true
ESP_Table[plr].Outline = true
ESP_Table[plr].Text = plr.Name
end
ESP_Table[plr].Position = Vector2.new(screenPos.X, screenPos.Y)
ESP_Table[plr].Visible = true
else
if ESP_Table[plr] then ESP_Table[plr].Visible = false end
end
elseif ESP_Table[plr] then
ESP_Table[plr]:Remove()
ESP_Table[plr] = nil
end
end
else
for _, v in pairs(ESP_Table) do v:Remove() end
ESP_Table = {}
end
end)
-- Inicialização
spawn(runAutoFarm)
print("✅ Premium HUB ATIVADO! | Autor: rodovalhopauloandre-wq")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment