Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

how to loop a script

$
0
0
function Start () { Repeat(); function Repeat(); gameObject.tag = "Army Cube"; yield WaitForSeconds(1); gameObject.tag = "Ice Cube"; yield WaitForSeconds(1); gameObject.tag = "Fire Cube"; yield WaitForSeconds(1); gameObject.tag = "Mini Cube"; yield WaitForSeconds(1); gameObject.tag = "Gravity Cube"; } i have this code its suppose to loop but i keep getting this Error .js(4,10): BCE0044: expecting (, found 'Repeat'. i did what it said but that just adds more errors i don't know what to do

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>