3.5k Views
14 Executions
auto kill mobs is a Pixel Slayer script for Roblox, uploaded to ScriptBlox on Jan 12, 2025.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
chat gpt in 2 min
Updates
Script edited: Create script
local workspace = game:GetService("Workspace")
local replicatedStorage = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
local player = players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local mobsFolder = workspace.World.Mobs
local damageRemote = replicatedStorage.Universe.Network.Remotes.DamageFire
local function teleportAbove(target)
if humanoidRootPart and target then
humanoidRootPart.CFrame = target.CFrame + Vector3.new(0, 10, 0)
end
end
local function attackMobs()
while true do
local mobs = mobsFolder:GetChildren()
for _, mob in ipairs(mobs) do
if mob:FindFirstChild("HumanoidRootPart") then
local targetPart = mob.HumanoidRootPart
while mob and mob.Parent == mobsFolder do
teleportAbove(targetPart)
damageRemote:FireServer(mob)
task.wait(0.01)
end
end
end
task.wait(0.01)
end
end
attackMobs()


PLS MAKE A SCRIPT FOR SURVIVAL ODYSSEY