RandomMagics

Script

Sep 1st, 2021
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. local gun;
  2.  
  3. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  4. if v:IsA("Tool") then
  5. gun = v
  6. end
  7. end
  8.  
  9.  
  10. while wait() do
  11. for i,v in pairs(game.Workspace.Zombies:GetChildren()) do
  12. if v:FindFirstChild("Head") then
  13.  
  14. local tab1 = {
  15. Vector3.new(0.059999998658895, 0.059999998658895, 6),
  16. "Cool yellow",
  17. 0,
  18. Enum.Material.SmoothPlastic,
  19. 1800
  20. }
  21.  
  22. local tab2 = {
  23. v.Head,
  24. v.Head.Position,
  25. Vector3.new(-0.39749202132225, 0.68922543525696, 0.6057790517807),
  26. 1.0203440189362
  27. }
  28.  
  29. gun.Fire:FireServer(
  30. v.Head.Position,
  31. v.Head.Position,
  32. Vector3.new(0.96279543638229, -0.037109609693289, -0.26767128705978),
  33. tab1,
  34. tab2
  35. )
  36. end
  37. end
  38. end
Advertisement
Add Comment
Please, Sign In to add comment