I wanted to make the script choose a random coin from the table and paste it to the workspace but it didnt work...I know I did something wrong, but it dont get it still..
local Coins = game.ServerStorage.Coins local CoinsNames = { "BronzeCoin", "GoldCoin", "SilverCoin", } while true do for i,v in pairs(Coins.FolderCoins:GetChildren())do if v.Name == CoinsNames[math.random(1, #CoinsNames)] then wait(0.5) local coin = v:Clone() coin.Parent = Workspace end end end