Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spawn(function()
- while wait(0.0001) do
- for i,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild("Npc") then
- local groundDistance = 28.5
- local pos = v.HumanoidRootPart.Position
- workspace.RemoteEvents.GunShot:FireServer(pos, v.HumanoidRootPart, 10, 10, 65, -3.3, 1.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = (v.HumanoidRootPart.CFrame * CFrame.new(0, groundDistance, 9))
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement