#how do you make crouchable holes

1 messages · Page 1 of 1 (latest)

jolly heron
#

how do I make it so if a player variable is on. the crouchable holes has no prevent passage.

#

unsolved btw I forgot to put

round jolt
#

You make the

#

Make a player variable with turn and off

#

Then infinite loop the tile like this

#

Inifnite loop
Set prevent passage = player variable

#

Then make the player variable turn or off is on

#

Then when the crounch is tapped make

#

The player variable to off

#

Tile :
Infinite loop
Set prevent passage = player variable

jolly heron
round jolt
#

Create new local variable = 0
If local variable = 0 then
Set prevent passage = off
Set local variable = 1
Or else
Set prevent passage = on
Set local variable = 0

#

That for the ui

#

Crounch

round jolt
#

Put the player variable (turn/off) in the tile you want to make it crounchable

jolly heron
#

thought it was easier but thanks

round jolt
#

There is an easir one but idk, i forgor how

#

But yeah that's the one ik

round jolt
#

Tapped

jolly heron
#

oh

#

mkay

jolly heron
#

nvm

jolly heron
round jolt
#

Yes

#

Is the crounch player variable on on?

jolly heron
#

when you hold it yes

jolly heron
round jolt
#

Te player variable should be on

#

And when tapped the crounch it's off

jolly heron
#

ohhh

#

ok

#

I get it now

jolly heron
round jolt
#

Make the prevent passage off and on

#

(Make the prevent passage to the player variable)

#

I i forgeo abotu thar

jolly heron
#

i mean it already works with the tile thing

#

should I send vid?

round jolt
#

Ok

#

Well i can see yourbstream

jolly heron
#

yeah sure check ut

#

u saw?

round jolt
#

Try to walk on it without crounching

#

Ok it works

jolly heron
#

bad thing is that when u disable the crouch while in the block u glitch and clip inside

round jolt
#

Ok uh so uhh

#

I can't help eith thar

jolly heron
#

oh

#

well that's fine

#

thanks for the crouchy thinf