Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.workspace:GetChildren()) do
- if v:FindFirstChildWhichIsA("Humanoid") and v.Name ~= game.Players.LocalPlayer.Name then
- local args = {
- [1] = "hit",
- [2] = {
- [1] = v:FindFirstChildWhichIsA("Humanoid"),
- [2] = 10000
- }
- }
- game:GetService("Players").LocalPlayer.Character.Sword.RemoteFunction:InvokeServer(unpack(args))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment