Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
- while wait() do
- for i, v in pairs(workspace.enemies:GetDescendants()) do
- if v.Name == "Head" then
- game.ReplicatedStorage.Gun:FireServer({
- ["Normal"] = Vector3.new(0, 0, 0),
- ["Direction"] = v.Position,
- ["Name"] = "Pistol", -- Change this to the name of the gun you have
- ["Hit"] = v,
- ["Origin"] = v.Position,
- ["Pos"] = v.Position,
- })
- end
- end
- end
Add Comment
Please, Sign In to add comment