local Rev = loadstring(game:HttpGet("https://raw.githubusercontent.com/Roll-It0/Rollo-Tools/refs/heads/main/Utility%20Tools/Code%20Debugger%20Beta/Src"))()
Rev:Callback(function()
local runs = game:GetService("RunService")
local reps = game:GetService("ReplicatedStorage")
local plrs = game:GetService("Players")
local lplr = plrs.LocalPlayer
local m1 = reps.Remotes.M1
local list = {}
local function update()
table.clear(list)
local all = plrs:GetPlayers()
for index=1,#all do
local plr = all[index]
if plr ~= lplr then
list[#list+1] = plr
end
end
end
plrs.PlayerAdded:Connect(update)
plrs.PlayerRemoving:Connect(update)
update()
local args = {math.huge,nil,math.huge}
local unpack = table.unpack
runs.Heartbeat:Connect(function()
for index=1,#list do
local plr = list[index]
local char = plr.Character
if char then
args[2] = char
m1:FireServer(unpack(args))
task.wait()
end
end
end)
end)Powered by Rev. (Debugging tool)
Optimized for the best user experience. Safe and quick, along with a execution time being printed by Rev telling you the overall time took to execute the code.
Hopefully more people will use Rev. It'd be an honor.
1local Rev = loadstring(game:HttpGet("https://raw.githubusercontent.com/Roll-It0/Rollo-Tools/refs/heads/main/Utility%20Tools/Code%20Debugger%20Beta/Src"))()
2Rev:Callback(function()
3 local runs = game:GetService("RunService")
4 local reps = game:GetService("ReplicatedStorage")
5 local plrs = game:GetService("Players")
6 local lplr = plrs.LocalPlayer
7 local m1 = reps.Remotes.M1
8 local list = {}
9 local function update()
10 table.clear(list)
11 local all = plrs:GetPlayers()
12 for index=1,#all do
13 local plr = all[index]
14 if plr ~= lplr then
15 list[#list+1] = plr
16 end
17 end
18 end
19 plrs.PlayerAdded:Connect(update)
20 plrs.PlayerRemoving:Connect(update)
21 update()
22 local args = {math.huge,nil,math.huge}
23 local unpack = table.unpack
24 runs.Heartbeat:Connect(function()
25 for index=1,#list do
26 local plr = list[index]
27 local char = plr.Character
28 if char then
29 args[2] = char
30 m1:FireServer(unpack(args))
31 task.wait()
32 end
33 end
34 end)
35end)