Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if phase == 1 then
- projectilecount = 3
- volleycount = 3
- else
- projectilecount = 5
- volleycount = 5 --idk the number you want
- end
- for Amount = 1,volleycount do
- for i = 1,projectilecount do
- local Part = Rock:Clone()
- Part.Parent = boss
- Part.CFrame = boss.Torso.CFrame * CFrame.Angles(0 , math.rad((i+1-math.ceil(projectilecount/2))*22.5) , 0)
- local bv = Instance.new("BodyVelocity", Part)
- bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.velocity = Part.CFrame.lookVector * 110
- DamageMod:RegisterWeaponPart(boss , Part , 50)
- game:GetService("Debris"):AddItem(Part , 5)
- end
- wait(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement