
Keyless

--// SETTINGS
local TOGGLE_KEY = Enum.KeyCode.P -- press P to toggle
local HITBOX_SIZE = 30 -- range extender
local ATTACK_DELAY = 0.7 -- attack speed
local DASH_DELAY = 2 -- dash cooldown
local BLOCK_THRESHOLD = 35 -- auto-block if enemy is close
--// SERVICES
local Players = game:GetService("Players")
local RS = game:GetService("ReplicatedStorage")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
player.CharacterAdded:Connect(function(char)
character = char
end)
--// REMOTES
local Remotes = RS:WaitForChild("Remotes")
local Attack = Remotes:WaitForChild("Attack")
local Dash = Remotes:WaitForChild("Dash")
local Block = Remotes:WaitForChild("Block")
--// TOGGLE
local enabled = false
print("GOD Script Loaded. Press P to toggle.")
UIS.InputBegan:Connect(function(i, chat)
if chat then return end
if i.KeyCode == TOGGLE_KEY then
enabled = not enabled
print("GOD MODE:", enabled)
end
end)
--// HITBOX EXTENDER
task.spawn(function()
while task.wait(0.1) do
if enabled and character and character:FindFirstChild("HumanoidRootPart") then
for _, enemy in pairs(Players:GetPlayers()) do
if enemy ~= player and enemy.Character and enemy.Character:FindFirstChild("HumanoidRootPart") then
local hrp = enemy.Character.HumanoidRootPart
hrp.Size = Vector3.new(HITBOX_SIZE, HITBOX_SIZE, HITBOX_SIZE)
hrp.CanCollide = false
end
end
end
end
end)
--// AUTO ATTACK + COMBO
task.spawn(function()
while task.wait(ATTACK_DELAY) do
if enabled then
Attack:FireServer()
end
end
end)
--// AUTO DASH
task.spawn(function()
while task.wait(DASH_DELAY) do
if enabled then
Dash:FireServer()
end
end
end)
--// AUTO BLOCK (enemy near)
task.spawn(function()
while task.wait(0.2) do
if not enabled then continue end
if not character or not character:FindFirstChild("HumanoidRootPart") then continue end
local myPos = character.HumanoidRootPart.Position
for _, enemy in pairs(Players:GetPlayers()) do
if enemy ~= player and enemy.Character and enemy.Character:FindFirstChild("HumanoidRootPart") then
local dist = (enemy.Character.HumanoidRootPart.Position - myPos).Magnitude
if dist < BLOCK_THRESHOLD then
Block:FireServer(true)
else
Block:FireServer(false)
end
end
end
end
end)No comments yet for this script.