Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local v15 = require(game:GetService("ReplicatedStorage").NetworkModule)
- local thing = game:GetService("ReplicatedStorage").Network.ClientToClient
- while wait() do
- for a,b in pairs(game:GetService("Players"):GetPlayers()) do
- pcall(function()
- if (b.Character.Head.Position - game:GetService("Players").LocalPlayer.Character.Head.Position).Magnitude < 20 and b ~= game:GetService("Players").LocalPlayer and not getsenv(game:GetService("Players").LocalPlayer.PlayerGui.MainGui.MainLocal).SameTeam(b) then
- thing:Fire("DamageMarker", b.Character, 20)
- v15:FireServer("MeleeDamage", b.Character.Humanoid, b.Character.Head)
- wait(0.4)
- end
- end)
- end
- end
Add Comment
Please, Sign In to add comment