Splitting a Script

Ive used this one, works well