--BROUGHT TO YOU BY RobloxScripter.com!--
_G.on = true
while _G.on do wait(.49)
pcall(function()
for i,v in pairs(game.Players:GetPlayers()) do
local lp = game.Players.LocalPlayer
local character = v.Character
local charactername = v.Name
if v:IsFriendsWith(game:GetService("Players").LocalPlayer.UserId) then --- whitelist friends
--- nothing
else
if (lp.Character and lp.Character:FindFirstChild("Head") and character:FindFirstChild("Head")) then
local mag = (v.Character.Head.Position - lp.Character.Head.Position).Magnitude
if mag < 20 then
local ohString1 = "Charged"
local ohInstance2 = character
local ohNumber3 = 1
local ohNumber4 = 1.0377000000000005
local ohBoolean5 = true
game:GetService("ReplicatedStorage").Server.Events.Attack:FireServer(ohString1, ohInstance2, ohNumber3, ohNumber4, ohBoolean5) --- damage
end
end
end
end
end)
end