How do I pick a random child?
Like I want this NPC to go to a random tree located in Workspace but how do I do this?
math.random!
while wait(1) do local object = workspace:GetChildren()[math.random(1,#workspace:GetChildren())] end
I don't think I have to explain, if you have any questions though, please ask
Locked by Shawnyg
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?