Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

math.random and clone

local Children = game.ReplicatedStorage:GetChildren()
local AmountOfChildren = #Children  
local RandomPositionInArray = math.random(1, AmountOfChildren)
local RandomChild = Children[RandomPositionInArray] 
Source by devforum.roblox.com #
 
PREVIOUS NEXT
Tagged: #clone
ADD COMMENT
Topic
Name
2+4 =