Page 1 of 1

[SCRIPT] noaim

Posted: Sat Apr 12, 2014 3:33 am
by tobi9sc
It's me tobi9sc and here is my first simple script. Woot!

So this script "noaim" doesn't disable you to aim nor use secondary fire but instead you take damage! The damage is set to 5 but since you need to press right-click again to disable aim, you get a total of 10 damage. Avoid using ironsight and use your noscope skills!
Code: Select all
"""
noaim script by tobi9sc
"""

def apply_script(protocol,connection,config):
   class noaimConnection(connection):
      def on_secondary_fire_set(self, secondary):
         if self.hp>=10:
            self.hit(5)
            self.send_chat("Avoid using ironsight!")
         return connection.on_secondary_fire_set(self, secondary)

   return protocol, noaimConnection
Enjoy :>

Re: [SCRIPT] noaim

Posted: Sat Apr 12, 2014 9:52 am
by Dr.Morphman
dont forget to
return connection.on_secondary_fire_set(self, secondary)
:3

Re: [SCRIPT] noaim

Posted: Sat Apr 12, 2014 11:25 am
by tobi9sc
Dr.Morphman wrote:
dont forget to
return connection.on_secondary_fire_set(self, secondary)
:3
Thanks, script fixed! Added fixed attachment too.

Re: [SCRIPT] noaim

Posted: Sat Apr 12, 2014 11:28 am
by Zekamalikyd
inb4 360 no scope only servers

Re: [SCRIPT] noaim

Posted: Sat Apr 12, 2014 2:01 pm
by Kuma
tobi9sc wrote:
return connection.on_secondary_fire_set(self, secondary):
that wont work, remove the ':'

Re: [SCRIPT] noaim

Posted: Sun Apr 13, 2014 2:18 am
by tobi9sc
Kuma wrote:
tobi9sc wrote:
return connection.on_secondary_fire_set(self, secondary):
that wont work, remove the ':'
Ty, fixed.

Re: [SCRIPT] noaim

Posted: Tue Apr 15, 2014 5:30 am
by a girl
Rainbowdash made a script that would drain your magazine if you zoomed in... you'd then have to unzoom, then reload before you could fire... it was effective at breaking habits LOL

Re: [SCRIPT] noaim

Posted: Tue Apr 15, 2014 5:31 am
by Ballistic
a girl wrote:
Rainbowdash made a script that would drain your magazine if you zoomed in... you'd then have to unzoom, then reload before you could fire... it was effective at breaking habits LOL
I think Morph has that script, I remember him activating it in one of the Homo servers back then...

Re: [SCRIPT] noaim

Posted: Tue Apr 15, 2014 12:14 pm
by tobi9sc
drained mag + damage is a pain in the ass. Blue_Happy1