Can there be different passwords for the same account that prompts a certain reaction from Applescript? Can I set two passwords for the same user account so if one password is entered the computer opens up normally, and if another password is entered, Applescript locks certain applications from opening? I have a macbook that is often used by other people, and I would like to be able to give them access to only certain parts of my laptop,  not all of it
You could use the Guest account and Parental Controls.  Otherwise create a separate account for each user if thats manageable and setup custom parental controls that block what you want for the separate users.

Set up parental controls