Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local me = Players.LocalPlayer
local remote = ReplicatedStorage.Remotes.ArrestPlayer
RunService.Heartbeat:Connect(function()
local root = me.Character and me.Character:FindFirstChild("HumanoidRootPart")
if not root then return end
for _, plr in Players:GetPlayers() do
if plr == me then continue end
local char = plr.Character
if not char then continue end
local hrp = char:FindFirstChild("HumanoidRootPart")
local hum = char:()
hrp hum hum.Health <=
(root.Position - hrp.Position).Magnitude <=
.(()
(remote.InvokeServer, remote, plr)
)
)
Prison Life