@echo off :: Clear the console and set the text color cls color 06 :: Set the current username and directory path set "_username=%username%" set "_mypath=%cd%" :: Display a message indicating potential issues with Roblox Studio login echo If this script does not work, try re-loginning to Roblox Studio and reopening the application. echo. :: Display a header and list of options echo ========================= echo. echo Current User: %_username% echo Creator: DrMarcus404 echo Version: 1.0.0 echo. echo [1] Install Game Assets echo. :: Prompt the user to select an option choice /c 1 /m "Type a Number from the list:" :: Clear the console cls :: Check if the user selected option 1 if errorlevel 1 goto DefaultInstall :: Default installation path :DefaultInstall set "_errorlevel=0" :: Loop through all folders starting with "version-" in the Roblox "Versions" directory for /d %%V in ("%LOCALAPPDATA%\Roblox\Versions\version-*") do ( :: Find the "content" folder within each "version-" folder for /d %%C in ("%%V\content") do ( :: Create a new directory for custom game assets mkdir "%%C\CustomAssets" 2>nul :: Copy the CustomAssets folder into the "content" directory xcopy /s /i /y "%cd%\CustomAssets" "%%C\CustomAssets" 2>nul :: Check if the copy operation was successful if !errorlevel!==0 ( echo Successfully installed game assets in %%V\content. ) else ( echo Error: Unable to copy CustomAssets folder in %%V\content. echo Error: Please check that the folder exists in the correct location. ) ) ) pause