How do I make a script to turn 90/180/360 degrees?
You can’t! The basics behind a rotating script would be a combination of turn actions and wait commands. Unfortunately, the wait command is not a fixed amount of time (depends on connection speed and any lag you may experience). So you can’t write a script that starts you turning, waits until you reach exactly 90/180/360 degrees and then stops you turning on a dime.