Answers for "roblox randomly generated map"

Lua
1

Random Map in roblox

function module.SelectChapter()
	
	local chapters = game.ReplicatedStorage.Chapters:GetChildren() -- Table of all map models
	local chosenChapter = chapters[math.random(1,#chapters)]
	
	return chosenChapter
end
Posted by: Guest on December-24-2020

Browse Popular Code Answers by Language