#Part not playing when all are transparent

36 messages · Page 1 of 1 (latest)

sonic kite
#

are there any errors?

#

also make the script run after a couple seconds

#

@naive grove

#

ok

#

wait like 5 seconds

#

the tween could be playing before you load in

#

try adding a print in the if statement and see if it prints

#

are H1 and H2's transparencies 0?

#

are the transparencies always 0?

#

what is this script meant to do?

#

yes

#

what are you trying to do with it?

#

yes

#

ok

#

is this script getting enabled when you do all this?

#

or is it enabled when the game starts?

#

the script will only check if the transparencies are at 0 once

#

i would make it check this in the script where you place the gems

#

yes

#

while true do
end

#

you could put it in here

#

wait

#

ye

#

while h.transparency ~= 0 do

#

do this

#

put a wait inside it so it doesn't crash the game

#

and put the play after the loop

#

replace the h.transparency with whatever was in the if statement

#

no

#

remove the if statement

#

you forgot to put the ~= 0 in the first argument

#

put a wait() inside of the while loop

#

yes

#

yes

sonic kite
#

replace the and with an or

#

👍