
Keyless
-- @build-failed
-- Kill All + God Mode
local getservice, waitforchild, findfirstchildofclass, findfirstchild = game.GetService, game.WaitForChild, game.FindFirstChildOfClass, game.FindFirstChild
local players = getservice(game, "Players")
local localplayer = players.LocalPlayer
local localcharacter = localplayer.Character
local backpack = waitforchild(localplayer, "Backpack")
local uniform = waitforchild(workspace, "Uniform")
local uniformgiver = nil
-- get uniform giver
for _, obj in uniform:GetChildren() do
if not obj then continue end
if obj.Name ~= "Uniform Giver" then continue end
local coathanger = findfirstchild(obj, "Coathanger")
if not coathanger then continue end
local shirt = findfirstchildofclass(coathanger, "Shirt")
if not shirt then continue end
if shirt.ShirtTemplate ~= "http://www.roblox.com/asset/?id=316069182" then continue end
uniformgiver = obj
end
local clickpart = waitforchild(uniformgiver, "ClickPart")
local prompt = waitforchild(clickpart, "ProximityPrompt")
local function triggerProximityPrompt()
prompt:InputHoldBegin()
task.wait()
prompt:InputHoldEnd()
end
local humanoidrootpart = waitforchild(localcharacter, "HumanoidRootPart")
humanoidrootpart.CFrame = clickpart.CFrame
task.wait(0.1)
triggerProximityPrompt(prompt)
while task.wait(0.1) do
for _, player in players:GetPlayers() do
local tool = findfirstchildofclass(localcharacter, "Tool") or findfirstchildofclass(backpack, "Tool")
if not tool then continue end
local remoteEvent = findfirstchildofclass(tool, "RemoteEvent")
if not remoteEvent then continue end
if not remoteEvent.Name ~= "Receiver" then continue end
tool.Parent = localcharacter
if not player then continue end
local character = player.Character
if not character then continue end
local humanoid = findfirstchildofclass(character, "Humanoid")
if not humanoid then continue end
if player == localplayer then
remoteEvent:FireServer("Damage", humanoid, 0/0)
else
remoteEvent:FireServer("Damage", humanoid, humanoid.MaxHealth)
end
end
end
good
Can you make just a godmode for yourself?
just remove the reciver:FireServer("Damage", humanoid, humanoid.MaxHealth) in the code
this is a simple script, and it's open source you can ask chatgpt to modify it
Not work
@ABGH Thank you for telling me that you need to wear a uniform and have a gun for this script to work I'm adding that to the script.
@ABGH fixed
Cool
How do i use this bro ._.