#Difficulty with applying velocity to player

1 messages · Page 1 of 1 (latest)

blissful mauve
#

I am trying to move the player up when touching a part, but my function is not working at all
Sorry for the poor quality

sly belfry
#

a little tip, but you might want to change it so it checks if theres a humanoid, instead if its a model. unless you want the rare case of unanchored models falling onto the part and bouncing up.

as for the bounce itself, i recommend using a BodyVelocity, and giving it a upward velocity. Parent the BV to the part, and then destroy it a little bit later

regal comet
blissful mauve
regal comet
#

It’s free

blissful mauve
sly belfry
regal comet
blissful mauve
sly belfry
#

alright. hope it helps
(for better results with the removal of the force, put it into debris service.)

sour furnaceBOT
#

studio** You are now Level 1! **studio

sly belfry
#

if you want me to rewrite the function for you, i can do that

blissful mauve
sly belfry
blissful mauve
#

Wait Let me try something

sly belfry
blissful mauve
#

Im trying something give me a second

sly belfry
#

alright

blissful mauve
blissful mauve
#

Stupid gravity is getting in the way

sly belfry
#

you'll have to make another velocity, then make it selected velocity. 0,0,0 could just make them freeze in place.

blissful mauve
sly belfry
#

maybe, maybe not

#

cause with the double jump script i used it for, it really nullified the player's velocity in all directions but upwards

sly belfry
blissful mauve
sly belfry
blissful mauve
sly belfry
#

alright

blissful mauve
sour furnaceBOT
#

studio** You are now Level 5! **studio

blissful mauve
sly belfry
#

ohh,

sour furnaceBOT
#

studio** You are now Level 2! **studio

sly belfry
#

thats what your doing wrong

blissful mauve
sly belfry
#

your destroying the nil velocity too late before it can balance it out

#

also .1 is a bit x-treme for 10 million velocity

blissful mauve
sly belfry
#

give me a sec ill send a vid of the double jump script i made as an example

blissful mauve
sly belfry
#

im slightly confused, because the image i provided was from this exact double jump script, i was holding movement keys the entirety of the 2nd jump

#

you can see all other velocity is nullified

blissful mauve
#

I gotta go I’ll continue talking tomorrow

sly belfry
blissful mauve
#

I will chat more in the morning

sly belfry
#

oh alrighty

#

i can script this part for ya if you want and export it as a RBXM, you just gotta put it into studio and bam

blissful mauve
#

Thx anyways tho

#

Se you in the morning

sly belfry