#GetChildren doest work
168 messages · Page 1 of 1 (latest)
click on that
red dot thing
it pauses the game when the code reaches that point
He means it pauses the game
probably move the breakpoint down then
Cause it probs doesnt run any code after it if i were to guess
maybe its still waiting somewhere for a child?
try changing them to FindFirstChild so it doesnt yield
print worlds:GetChildren()
hmm okay
see what comes out of it
umm
cause if its not the script cant find them
hm okay
Try just doing worlds:FindFirstChild("1000")
printing that
just to see if it can find any of em
nil...
Okay
so the issue is that it doesnt see any children inside the folder
Do you maybe have some other object called WorldPortals?
That isnt the folder
lemme check
alr
okay so
i changed the name of this folder to WorldPortalsss
and its still nil
but
what am i looking at
xd
what does it print
so it still doesnt print the portal.ClassName
maybe its the :GetService("Workspace") part
no clue but atp try everything lol
cause i have no clue why it errors
just do .Workspace
oh and yeah it doesnt
Maybe also print workspace:GetChildren() btw?
** You are now Level 10! **
workspace[2]:GetChildren()?
oh
huh
maybe because its local script or what?
can you show me all variables the parts have
shouldnt affect it
it can still find the folder
why wouldnt it be able to find the parts
you mean this?
what is the script in btw
it finds the script if i add it
into the folder
not the parts
hm
it might be because of its location
cause it doesnt find parts in another folder i have either
okay
@gritty shore
i think i found fix
oh rly?
move the script to startercharacterscripts
wanna hear it
dont think u need to change anything
?
okay its found
sick
yea scripts in startercharacterscripts actually get put into the character in the workspace so it can find it easier than characters in the player
ig starterplayerscripts doesnt have access to it
just ask, what is this?
ehm
An error thats very annoying
I had it in my first game
dont remember what i did tho
Does the animation work
does it affect for anything?
even if it says that
ye all good
okay
just ignore it then
looked online, people saying its just roblox issues
cause people got it by just sleeping lol
like its fine at first, then they go to bed, wake up, and it suddenly says that
?
whats not working?
isnt that just a server script
ah okay
okay
the issue was very simple why it doesnt work
i just make some manipulations with part
i make parts union
and then separate them
i just duplicated parts now
and all working good
what the pain
okay thats good

No worries! Glad i could help
166 msgs btw