Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs(game.Players:GetChildren()) do
- local args = {
- [1] = {
- [1] = v.Character.Head.Position,
- [2] = v.Character.Head.Position-Vector3.new(1,1,1),
- [3] = {
- ["PartType"] = "Default"
- },
- [4] = game:GetService("Players").LocalPlayer.Character.Gun
- }
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("ReplicateBullet"):FireServer(unpack(args))
- local args = {
- [1] = v.Character.Head,
- [2] = v.Character.Head.Position,
- [3] = v.Character.Head.Position-Vector3.new(1,1,1)
- }
- game:GetService("Players").LocalPlayer.Character.Gun.Damage:FireServer(unpack(args))
- end
Advertisement
Add Comment
Please, Sign In to add comment