local SpawnedGuns = game.Workspace.Gunspawned
local gunSpawns = game.Workspace.GunSpawns:GetChildren()
local gunsToSpawn = game.ServerStorage.Guns:GetChildren()
local CloneGuns = gunsToSpawn:Clone()
CloneGuns.Parent = SpawnedGuns
CloneGun.Position = math.Random("gunSpawns").Position
--But I don't know whats wrong with this peace of code how do I fix it?
COMMUNITY QUESTION
How do we Clone all children and position then in a random spawn position in a folder?
1 answer
Your ("gunSpawns") should be
math.Random[gunSpawns]Position -- Do not include the quotations.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
@Xx0966xX this is probably the solution to your problem. if it is, please mark this question as "Answered" by this person ^