Propkill by LennyPenny [lua]

Posts 1–15 of 42 · Page 1 of 3
Propkill by LennyPenny [lua]
Since I haven't seen a lua script for this here yet I decided to make my own and post it here.

Features:
- It spawns a prop, throws it and removes it.
- You can customize it to your liking.
- When you run the command/bind whilst having another gun than the physgun out, you will automatically switch to the physgun, perform the propthrow, and then switch back to the weapon your previously had. This happens in ~0.3 seconds.

Download:
https://github.com/LennyPenny/Lennys...ny/pkiller.lua

Usage:
Put it in a *.lua file in gmod/gmod/lua and run it using your prefered method. (lua_openscript_cl "path to file relative to gmod/gmod/lua" for example)
Ingame use "lenny_pkill" to propkill. Bind it to a key preferably.

Options: (they are console variables)
lenny_pkill_speed <number> -- sets the mousewheel speed (default is 1000)

lenny_pkill_prop <path to prop model> -- sets the path to the propkill prop. You can get the path to a prop by right clicking on it on the spawn menu, clicking copy path and pasting it into the console.

lenny_pkill_remover <number in seconds> -- sets the time until prop is removed. default is 0.5


Note:
Setting physgun_wheelspeed to something high might improve the performance of this.


Intended for use on DarkRP.
Good work, as usual.
Update 1.1
- Added Feature:
When you run the command whilst having another gun than the physgun out, you will automatically switch to the physgun, perform the prop throw, and then switch back to the weapon your previously had equipped. This happens in ~0.3 seconds.

Download link in the OP automatically updated
Clever, I like it. Won't be using it, but its still an interesting approach. Might have to scan for this on my propkill server to prevent kids from becoming dependent upon it.
Quote Originally Posted by hhh111 View Post
Clever, I like it. Won't be using it, but its still an interesting approach. Might have to scan for this on my propkill server to prevent kids from becoming dependent upon it.
It's pretty much useless on a propkill server I think. Never played on one but I guess just being able to shoot a prop in one direction whilst not moving your mouse weirdly would help you in any way against people being able to control their throws direction, angle and speed.
Or...you could just stop sucking at propkilling and use your fucking mouse.
Quote Originally Posted by TheyCallMeDaz View Post
Or...you could just stop sucking at propkilling and use your fucking mouse.
That's what I did until now. Making processes I regularly do easier for me is what got me into scripting and is still my primary motivation.
For quick propkills on darkrp this is exactly what I was thinking of for a bit but never found out about this cusercmd(thanks to you) thing until now.
I'll still use the manual way when it gets more complex.

Well that is only if I'm ever gonna join a darkrp again. Seems like every server requires 1gb+ of shitty content now.
Quote Originally Posted by LennyPenny View Post
That's what I did until now. Making processes I regularly do easier for me is what got me into scripting and is still my primary motivation.
For quick propkills on darkrp this is exactly what I was thinking of for a bit but never found out about this cusercmd(thanks to you) thing until now.
I'll still use the manual way when it gets more complex.

Well that is only if I'm ever gonna join a darkrp again. Seems like every server requires 1gb+ of shitty content now.
Options > Multiplayer > 'Only allow map files' download setting
Makes it a breeze, if you don't mind the occasional error model.

You're enabling shitty pkers with this, but the other hand it creates new entertainment. I can't wait to see some idiot make a fool of themselves trying to propkill with this.
Quote Originally Posted by Frost1120 View Post
Options > Multiplayer > 'Only allow map files' download setting
Makes it a breeze, if you don't mind the occasional error model.

You're enabling shitty pkers with this, but the other hand it creates new entertainment. I can't wait to see some idiot make a fool of themselves trying to propkill with this.
Most of the stuff I'm talking about is the workshop stuff, I don't know if that setting would disable that as well.

And ya as stated in the op this is meant to mess with some darkrp servers.
I guess some will try using this whilst walking around and and moving their mouse, that would be funny indeed.
Quote Originally Posted by LennyPenny View Post
That's what I did until now. Making processes I regularly do easier for me is what got me into scripting and is still my primary motivation.
For quick propkills on darkrp this is exactly what I was thinking of for a bit but never found out about this cusercmd(thanks to you) thing until now.
I'll still use the manual way when it gets more complex.

Well that is only if I'm ever gonna join a darkrp again. Seems like every server requires 1gb+ of shitty content now.
Ah, my Carpal Tunnel is kicking in, I have to take a break from scrolling my mouse wheel.
Quote Originally Posted by JohnOfDicks View Post
Ah, my Carpal Tunnel is kicking in, I have to take a break from scrolling my mouse wheel.
Ah, my complainabouteveryfuckingthing is setting in, gotta find some cheat and see if there's something wrong.. oh no. There's not. Guess I gotta say the cheat is pointless instead... ahhhh. Much better.
Quote Originally Posted by LordOfGears2 View Post
Ah, my complainabouteveryfuckingthing is setting in, gotta find some cheat and see if there's something wrong.. oh no. There's not. Guess I gotta say the cheat is pointless instead... ahhhh. Much better.
>cheat
>awful propkill script
>cheat

pls, stop, you're making my sides ache.
TTT version plz? I swear someone did this to me. They were looking straight at me with a mageneto stick holding a box, never turned or anything and the box just nailed me doing like mach 3.
Quote Originally Posted by feartheforsaken View Post
TTT version plz? I swear someone did this to me. They were looking straight at me with a mageneto stick holding a box, never turned or anything and the box just nailed me doing like mach 3.
yes its very fun going on russian servers and pking everyone with a pig prop on a minecraft map
Quote Originally Posted by D3M0L1T10N View Post
yes its very fun going on russian servers and pking everyone with a pig prop on a minecraft map
Not sure if sarcasm, but this does actually sound like a lot of fun to me lol.
Posts 1–15 of 42 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?