Not Able To Index Child

i cant index a child inside server storage, this error pops
Character: Model = ServerStorage.TestNpc.Clone()
Character: Model = ServerStorage.TestNpc.Clone()
No description
14 Replies
Ego*
Ego*OP2y ago
No description
Ego*
Ego*OP2y ago
i can fix it by doing
Character: Instance | Model = ServerStorage.WaitForChild('TestNpc').Clone()
Character: Instance | Model = ServerStorage.WaitForChild('TestNpc').Clone()
but i think there is a better way, so please ping me if anyone answers this
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ego*
Ego*OP2y ago
okay i will try that thanks a lot it worked do i have to restart rbxtsc each time i do that ?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ego*
Ego*OP2y ago
well its not big issue how do i define the type of FollowThread as function ?
Ego*
Ego*OP2y ago
No description
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ego*
Ego*OP2y ago
something like this
FollowThread: function | undefined = undefined;
FollowThread: function | undefined = undefined;
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ego*
Ego*OP2y ago
ohhhh ok thanks
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Ego*
Ego*OP2y ago
hey really quick question, how do i index the child of this model's clone ? i did restart and didn't work
Indicator: BillboardGui = this.Character.Head.NoticeIndicator;
Indicator: BillboardGui = this.Character.Head.NoticeIndicator;
No description
No description
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?