#having trouble with my movement system

1 messages · Page 1 of 1 (latest)

silk shuttle
#

I've been working on a movement system the past few days, I'm using this video to add sliding to it. I have a custom shift lock. When you are sliding, the script is supposed to detect the slope underneath you and make you lay flat on the slope instead of flat overall. This only works when shift lock is NOT enabled. I have no idea how to fix this. any help would be greatly appriciated

Here's some bits of the code, the important part is in the "if groundRay and not shiftLockEnabled then" block. This is the part that does not work when shiftlocked

Howdy! How's everything going?
Hope you enjoy the contect — don’t forget to like, comment, and subscribe if you're feelin’ it. 🎮🎬✨

🎵 Music Featured:

♪ Daystar - Twinkle funny
Link : https://youtu.be/KkLH5KSQteY?si=N4Dgkipt5r8kDoGb

♪ Daystar - Dessert
Link : htt...

▶ Play video
grand osprey
#

hardcode it all'

silk shuttle
grand osprey
grand osprey
silk shuttle
#

i sent all the necessary pieces

silk shuttle
grand osprey