I am trying to loop my wave animation, but i can not find anything that seems to work.
I have looked at several tutorials, but i do not know exactly how to script yet (I’m working on it)
I do not have a written code because none of the tutorials work, if someone could tell me exactly what to do and say the new script, that would be great
When in the animation editor, there should be a little button next to the play button that looks like a circle with an arrow at the end. Click that until it’s highlighted blue, and press play to watch your animation be looped.
If you want to do it through scripting, you can do var.Looped = true.
Yeah put the animation you want played in the script, then play the animation. You don’t have to script the animation to be looped, you can just press the little button I talked about.
Yeah. So your “wave” animation needs a variable. Do local wave = script.Wave. Make sure the animation is named “Wave”, and put this before your looped line. I suggest looking at the article I post below on how to animate. Study the code, and look through some more of the DevHub. It has some really useful tutorials on scripting. I would also lookup “AlvinBlox”, as his beginner series is really good. Just keep trying. Coding can be hard at first, but with practice and patience, it’ll get easier. Good luck!