local players = game:GetService("Players") local localplayer = players.LocalPlayer local function getevent() local char = localplayer.Character or localplayer.CharacterAdded:Wait() return char:WaitForChild("Default"):WaitForChild("Event") end local event = getevent() local direction = Vector3.new(0, 1e99, 0) -- force/distance local function hitcharacter(char) event:FireServer( "slash", char, direction ) end local function handleplayer(plr) if plr == localplayer then return end if plr.Character then hitcharacter(plr.Character) end plr.CharacterAdded:Connect(function(char) hitcharacter(char) end) end for _, plr in ipairs(players:GetPlayers()) do handleplayer(plr) end players.PlayerAdded:Connect(handleplayer) while task.wait(0.1) do for _, plr in ipairs(players:GetPlayers()) do if plr ~= localplayer and plr.Character then hitcharacter(plr.Character) end end end