#input.keycode not cancelling sliding function
22 messages · Page 1 of 1 (latest)
What type of script is it? Server side or Client Side?
Here is a possible problem: When you press space, the whole loop is stoping, even the slide stop
You should use "continue" instead of "return" (at line 30)
Ok, try changing "return" to "continue" at line 30
will do when i get a chance
so when i run it nothing has really changed, id assume its because continue just continues running the loop
idk tho, just a guess since i know a bit of python and lua is very similar
im checking the code again and i feel like it is just a matter of the wrong statement but i really dont know, all the movement is contained inside that loop so when its cancelled it should cancel the movement
it still didnt work 😭
this is a newer slightly tweaked version using my newfound knowledge of modscripts
destroying the slide instance just locks my character in an awkward slide that you cant escape
tried to reset the velocity but that brought up an error message
pullin out my hair rn