local players = game:GetService("Players")
local event = game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("HitCharacter")
local localPlayer = players.LocalPlayer
while true do
task.wait(.1)
for _, player in pairs(players:GetPlayers()) do
if player ~= localPlayer and player.Character then
local args = {player.Character}
event:FireServer(unpack(args))
end
end
end
Comments
No comments yet
Be the first to share your thoughts!