Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
while true do
game:GetService("ReplicatedStorage"):WaitForChild("PlayerHitEvent"):FireServer(LocalPlayer, -999)
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer then
game:GetService("ReplicatedStorage"):WaitForChild("PlayerHitEvent"):FireServer(player, 999)
end
end
task.wait()
endIf you can understand the code, i found out if you set the second argument to anything it does that damage, including negatives so if you edit the code on the players to -999 it just heals them, this can be seen in the first line of the while true which heals you only. - sea (Opensource Only)