Simple doublejump
#3
I've seen people implement double jumping by detecting if they're flying. It would end up something like this:
Code:
if (player is flying) then
   stop player from flying
   set Y speed to make the player go upwards.
You can let players in survival fly by using <player>:SetCanFly(true)
Reply
Thanks given by:


Messages In This Thread
Simple doublejump - by nrgjrteherh435 - 05-19-2017, 10:47 AM
RE: Simple doublejump - by xoft - 05-19-2017, 04:13 PM
RE: Simple doublejump - by NiLSPACE - 05-19-2017, 04:50 PM
RE: Simple doublejump - by Seadragon91 - 05-19-2017, 05:09 PM
RE: Simple doublejump - by NiLSPACE - 05-19-2017, 05:39 PM



Users browsing this thread: 2 Guest(s)