what is the difference between local script and script roblox?
LocalScripts are for client-side use, scripts are server-sided. LocalScripts will only run in certain instances e.g. a player's backpack, character, gui, playerscript folder etc. In contrast, scripts can run anywhere and have access to server-side objects/props/services.