mewishmeww

noway

Jan 8th, 2024 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. for i,v in pairs(game.Players:GetChildren()) do
  2. local args = {
  3. [1] = {
  4. [1] = v.Character.Head.Position,
  5. [2] = v.Character.Head.Position-Vector3.new(1,1,1),
  6. [3] = {
  7. ["PartType"] = "Default"
  8. },
  9. [4] = game:GetService("Players").LocalPlayer.Character.Gun
  10. }
  11. }
  12.  
  13. game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("ReplicateBullet"):FireServer(unpack(args))
  14. local args = {
  15. [1] = v.Character.Head,
  16. [2] = v.Character.Head.Position,
  17. [3] = v.Character.Head.Position-Vector3.new(1,1,1)
  18. }
  19.  
  20. game:GetService("Players").LocalPlayer.Character.Gun.Damage:FireServer(unpack(args))
  21. end
  22.  
Advertisement
Add Comment
Please, Sign In to add comment