Setting file permissions with Folder Actions

Hello All,
I’m trying to set up a folder action that will run whenever the folder’s contents are added to. I have gotten some of the code from another post on this site, and then tried adapt it based on some of the other folder action scripts, and it’s not working. Just starting out in applescript, so here’s what i’ve got.

tell application "Finder"
	set the folder_name to the name of this_folder
	tell result to set {owner, group, owner privileges, group privileges, everyones privileges} to {admin, power, read write, read write, none}
end tell
Basically, I need this to change the permissions of the folder, and all of the subfolders and files to owner, read write, group, read write, everyone, no access, while setting the owner and group for the items. Is this doable?

Thanks in advance for the help!