Imperious123

Untitled

Dec 8th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  2.  
  3. while wait() do
  4. for i, v in pairs(workspace.enemies:GetDescendants()) do
  5. if v.Name == "Head" then
  6. game.ReplicatedStorage.Gun:FireServer({
  7. ["Normal"] = Vector3.new(0, 0, 0),
  8. ["Direction"] = v.Position,
  9. ["Name"] = "Pistol", -- Change this to the name of the gun you have
  10. ["Hit"] = v,
  11. ["Origin"] = v.Position,
  12. ["Pos"] = v.Position,
  13. })
  14. end
  15. end
  16. end
Add Comment
Please, Sign In to add comment