Im trying to make this get a random gear and parent it to workspace. It didn't Parent itself to workspace. I checked the model and all gears remained.
math.randomseed(tick()) local Gears = game.ServerStorage.Gears:GetChildren() local GearPick = math.random(Gears) GearPick.Parent = workspace
math.random requires a number, not a table...luckily you can just pick a random number based on the table size
math.randomseed(tick()) local Gears = game.ServerStorage.Gears:GetChildren() local GearPick = Gears[math.random(1, #Gears)] GearPick.Parent = game.Workspace