well if you want to perfect the script you need to experiment, but there is ALOT of repetitive movement which "COULD" lead to bans after using it alot, try editing the script just to rotate camera because i dont think jagex can log/detect that
the speed of the script entering and exiting the portals is no problem at all, after each game you have 3 minutes to get back into the portal anyway, and about 2minutes in the dieing room, so dont worry about that, please dont be a fool and add some sort of super attacker which will run to the graveyard and kill people waste of time !IMO! keep it simple.
keep in mind these are just tips, and i am not telling you how to run your scripts