#Folder reading issue

1 messages · Page 1 of 1 (latest)

edgy garnet
#

I have a serverscript in an enemy template that gets cloned, and that script is supposed to read a preexisting folder in workspace using #folder:GetChildren(), but no matter what input command i use, it just won't read the folder (like there's nothing in it / returns 0).

edgy garnet
wooden rose
edgy garnet
#

I don't know if it helps, i think the issue is how roblox reads it, (what type of script and where it is)

timber rover
#

Which returns 0

edgy garnet
#

2 sec

#

first for loop

slender flickerBOT
#

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

edgy garnet
#

i have the variable towersFolder that get's the folder named Towers in workspace

#

then i do towersFodler:GetChildren()

#

the game clones a model (rig with hrp and primarypart) from replicatedstorage to the towersfolder, the enemies are supposed to read that folder and chase them, but their code don't realise any updates and just reaches the end where they die

#

is perhaps replicatedstorage the wrong service?

#

You have any idéas?

#

@timber rover
@wooden rose
Sorry for the ping, trying to look through the code rn