Advertisement
IHATEMICROWAVEOVEN

hoppa literally l

Sep 7th, 2021
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. if phase == 1 then
  2. projectilecount = 3
  3. volleycount = 3
  4. else
  5. projectilecount = 5
  6. volleycount = 5 --idk the number you want
  7. end
  8.  
  9. for Amount = 1,volleycount do
  10. for i = 1,projectilecount do
  11. local Part = Rock:Clone()
  12. Part.Parent = boss
  13. Part.CFrame = boss.Torso.CFrame * CFrame.Angles(0 , math.rad((i+1-math.ceil(projectilecount/2))*22.5) , 0)
  14. local bv = Instance.new("BodyVelocity", Part)
  15. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  16. bv.velocity = Part.CFrame.lookVector * 110
  17. DamageMod:RegisterWeaponPart(boss , Part , 50)
  18. game:GetService("Debris"):AddItem(Part , 5)
  19. end
  20. wait(1)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement