RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a randomly generating obby"
-- server script (ServerScriptService) local ObbyPart = game.ServerStorage.ObbyPart local function generateObby() local lastPartPosition = Vector3.new(0, 0, 0) for i = 1, 10 do local newPart = ObbyPart:Clone() newPart.Parent = game.Workspace newPart.Position = lastPartPosition + Vector3.new(0, 0, 10) lastPartPosition = newPart.Position wait(1) end end generateObby()