I’m working on a game that involves the use of crouching and crawling. To keep it simple, my code updates the player’s WalkSpeed locally. If they press the select key to crouchwalk, their speed is reduced, and when they are done, it reverts. As well as all the other fancy additions to make it a true crouch. My concern is whether or not updating walkspeed locally is safe in regards to potential exploiters? Or should I try to utilize another alternative to this? I’ve looked around, and I couldn’t find an answer.
Bonus: My game is also very dependent on the lighting conditions, which also updates locally. Could this be a problem too?