Help with lightsaber ideas/help

Trying to make working lightsaber stuff how would I do this not asking for scripts just how I would do stuff like make the lightsaber come on cleanly and have a table of attacks and run through the attacks of the table to iterate them stuff like that how would I do that

just have an table like local attacks = { attack1, attack2 } and than, have the items inside the table be functions, ex: function attack1() playanimation check hitbox, etc. now, when the player clicks the button, just have a variable called local attackindex = 1, and than just increase it by one every time the plr clicks. And everytime, check if the attackindex is bigger than the amount of attacks in the table, and reset the attackindex. This is how i would do it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.