I've been trying to add being able to jump off a wallrun for a while now but I haven't found any tutorials which helped or even suggested how I could add this. Any help is apricated :D
Attached is both the server and client scripts
1 messages · Page 1 of 1 (latest)
I've been trying to add being able to jump off a wallrun for a while now but I haven't found any tutorials which helped or even suggested how I could add this. Any help is apricated :D
Attached is both the server and client scripts
Step 1: unnest your logic. It isn't quite clear to me where your things like "wall touched function" start and end. If it were me I would make 2 functions, a startWallRun, a stopWallRun, and maybe a helper function like onJumpRequest (when they touch the wall and also I don't think you need the server side really unless you want to control where they are allowed to wall jump, then i'd use tags and collection service.
Step 2: after making clear functions that handle specific logic you can use print statements to help debug it a bit.
Also are you trying to use "UserInputService" In a server script?
Lastly the way this is written it almost looks like you are trying to call RunService every tick, from client to server and that is a big nono.
sorry im not that good at scripting im still a beginner so i dont know much about what you mean
A nested function is when all your logic is in 1 loop
** You are now Level 3! **
ah okay