Question: what is the difference between a local script and a script?
Answer: 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.