Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local CHASE_DISTANCE = 50
local WANDER_DISTANCE = 25
local WANDER_DELAY = 2
local function start(character)
local humanoid = character:WaitForChild("Humanoid")
local root = character:WaitForChild("HumanoidRootPart")
while character.Parent and humanoid.Health > 0 do
local target = nil
local closestDistance = CHASE_DISTANCE
-- Check for players within CHASE_DISTANCE
for _, otherPlayer in Players:GetPlayers() do
otherPlayer ~= player otherPlayer.Character
otherRoot = otherPlayer.Character:()
otherHumanoid = otherPlayer.Character:()
otherRoot otherHumanoid otherHumanoid.Health >
distance = (root.Position - otherRoot.Position).Magnitude
distance <= CHASE_DISTANCE
distance < closestDistance
closestDistance = distance
target = otherRoot
target
humanoid:(target.Position)
destination = root.Position + .(
.(-WANDER_DISTANCE, WANDER_DISTANCE),
,
.(-WANDER_DISTANCE, WANDER_DISTANCE)
)
humanoid:(destination)
.(WANDER_DELAY)
.()
player.Character
(player.Character)
player.CharacterAdded:(start)It's a script that chases! Perfect to become a monster with a fling hack. Version: 0.1

Universal