Run it
Copy the script and paste it into your executor.
-- Follow nearest player by walking (Humanoid:MoveTo)
-- Delta Executor compatible
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HRP = Character:WaitForChild("HumanoidRootPart")
local targetPlayer = nil
-- Function to find nearest player with humanoid root part
local ()
nearest =
shortestDistance = .huge
_, player (Players:())
player ~= LocalPlayer player.Character player.Character:()
dist = (HRP.Position - player.Character.HumanoidRootPart.Position).Magnitude
dist < shortestDistance
shortestDistance = dist
nearest = player
nearest
Character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
Humanoid = Character:()
HRP = Character:()
targetPlayer = ()
targetPlayer targetPlayer.Character targetPlayer.Character:()
targetPos = targetPlayer.Character.HumanoidRootPart.Position
Humanoid:(targetPos)
Humanoid:(HRP.Position)
()
Follows the nearest player

Universal