Garry's Mod

Garry's Mod

[E2] PlyCore
Sir Papate  [developer] 12 Jan, 2014 @ 5:18pm
[E2 code] Noclip
@name Noclip Beta @inputs @outputs @persist Ply:entity Gravity @trigger if( first() ){ runOnTick(1) runOnLast(1) #Ply = findPlayerByName( "pataproute" ) Ply = owner() Gravity = owner():plyGetGravity() Ply:plySetGravity( 0 ) } KW = Ply:keyForward() KA = Ply:keyLeft() KS = Ply:keyBack() KD = Ply:keyRight() KSpace = Ply:keyJump() KShift = Ply:keySprint() KCtrl = Ply:keyDuck() KAlt = Ply:keyWalk() Friction = -Ply:vel() / 10 Multiplier = ( KShift * 2 + 1 ) / ( KCtrl * 2 + 1 ) / ( KAlt * 2 + 1 ) * 60 ForwardForce = Ply:eyeAngles():forward() * ( KW - KS ) RightForce = Ply:eyeAngles():right() * ( KD - KA ) UpForce = vec( 0, 0, 1 ) * KSpace Ply:plyApplyForce( Friction + ( ForwardForce + RightForce + UpForce ) * Multiplier ) if( last() ){ Ply:plySetGravity(600) }
Last edited by Sir Papate; 23 Mar, 2015 @ 12:25pm
< >
Showing 1-15 of 16 comments
boofball 5 May, 2014 @ 4:13pm 
awsome
76561198209254573 3 Jan, 2016 @ 10:15am 
Thx
Saigon Squidward 6 Mar, 2016 @ 12:50pm 
this is brirriant
HungryShark™ 30 Jun, 2016 @ 8:00pm 
Does this e2 still work? If so how do i use it?
Sir Papate  [developer] 1 Jul, 2016 @ 4:48am 
It has no reason not to work
RevilO 28 Jul, 2016 @ 2:43am 
Doens't work
Saigon Squidward 23 Aug, 2016 @ 11:29am 
Yeah it seems broken, it just tells me "no such function: entity:plyGetGravity(void)"
doorknob 16 Oct, 2016 @ 5:55pm 
how does this work?
Sir Papate  [developer] 16 Oct, 2016 @ 6:03pm 
You just have to run the code and the right to use the extention
Saigon Squidward 17 Oct, 2016 @ 3:42pm 
Figured it out, you could have mentioned for people who don't know a lot about E2 that this requires playercore.
ubercharged keter 22 Oct, 2016 @ 9:10pm 
can i reupload this as an admin faker e2 and ill give you most credit?
danny 14 Apr, 2017 @ 9:02am 
Originally posted by Saigon Squidward:
Yeah it seems broken, it just tells me "no such function: entity:plyGetGravity(void)"
danny 14 Apr, 2017 @ 9:02am 
Doesnt work.
Monstrous 1 Sep, 2017 @ 3:07pm 
Do you have to press a certain button for this to start working? If so what is the button?
Defakker 30 Sep, 2017 @ 5:43pm 
Why would u create this if you need to download a addon for it to specifecly work. That's just ♥♥♥♥♥♥♥ stupid. It doesn't work on servers. This coding is ♥♥♥♥♥♥♥ pointless.
< >
Showing 1-15 of 16 comments
Per page: 1530 50