Two things here. One could you explain what these things do? I am looking at it and my mind is exploding. Two, how could you implement your own attacks?
1 Like
To implement your own attacks, it will take a combination of animation and scripting. However, to get the job done, this is what you do.
Also, I am not going to make things more complicated.
btw, you need to rename your attack animation to the animation you will actually do.
function BossFightModule:Attack(attackanimation, tween)
self.counter = 0
if self.counter <= 12 then
self.counter = self.counter + 1
attackanimation:Play()
tween:Play()
end
end
If you don’t know how to run animations and do tweenservice, I highly suggest you check out animation api reference, video on this, and lastly about tween service.
Though, if you don’t want to watch the whole thing you are able to create stuff such as bubble attacks, also I added a counter so that if you want a certain amount of attacks to occur then here ya go
also, sorry for exploding your brain. It was a accident
2 Likes