#how do you make crouchable holes
1 messages · Page 1 of 1 (latest)
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
tapped as in collided?
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
This for tile
Put the player variable (turn/off) in the tile you want to make it crounchable
thought it was easier but thanks
where do I put this?
is the script for the tile like this? check stream
nvm
like this as the tile script?
when you hold it yes
.
what this gonna do? (sorry if it sounds rude)
Make the prevent passage off and on
(Make the prevent passage to the player variable)
I i forgeo abotu thar
bad thing is that when u disable the crouch while in the block u glitch and clip inside