#i have a coin that spawns every second and code breaks when i try to make it spin

19 messages · Page 1 of 1 (latest)

stuck cairn
#

the code works fine, it spawns a coin, when i touch it the my points go up and then the coin disappears but whenever i try to make a loop to make the coin spin, the coin will only spawn once and it wont work when i touch it?

honest thicket
stuck cairn
#

oh no sorry i use task.wait

neat crownBOT
#

studio** You are now Level 2! **studio

stuck cairn
#

but even then it wont work

honest thicket
stuck cairn
#

yes

honest thicket
honest thicket
stuck cairn
#

ok\

#

but now the coin js spawns once

#

and when i touch it doesnt do anything

honest thicket
# stuck cairn

I recoment moving the function out of the while loop cause it will still work

#

Recommend*

#

This part ehre

stuck cairn
#

ahh ok ill try that

#

so do i have to make a variable for coin?

#

because its in the loop