For example I want something to only take a certain amount of damage from attacks, like if something does 9000 damage i want it to only do 1 to something with the defense script I don't want it to be like armor, I just want a script that you insert into the humanoid that causes it to not take as much damage from things
Basically like a damage converter
I'm no scripting expert, and in fact i've just recently been getting into it, so a quick and easy answer would be appreciated
The only way to achieve this is in the damage script itself. So, in whatever script it is you have doing the damage, such as a gun script, you're gonna wanna use an "if statement" to check for a defense tag/value of the target.
For example, if the target has a tag, an object like an int value object renamed "Defense" is a good candidate, then have the damage script check and if it sees the target has that tag, they only take 1. If the damage script doesn't see it, then it does the full 9k.
So, in short, try studying up on if statements and using non-tangible objects like string/int/bool values.