In short, while working on my game about using racing cars (that can NOT jump and move at high speeds), i noticed that when i stand still onto a sloped surface my character will stop moving, and instead use his walkspeed (wich is set to 1) and jump power (wich is not meant to be used), therefore making me stuck appearing and desappearing.
Sometimes resetting will fix the issue but other time you will just lose health but not actually die, i couldnt find any solutions thus far.
This may or may not help but make sure that CanCollide for the hrp is turned off, the primary part of the model is set to the hrp and the hrp is covering your custom character. I way to check this is to set the transparency of the hrp to 0 and see if you can still see the rig infront of it
A particular detail that I noticed is the character isn’t the only thing disappearing or changing but for those frames that the character disappears the entire environment and sky change hues just a tiny bit, i mean BARELY, which makes me think it has something to do with the camera
I actually edited the camera from scripted to custom and vice versa, the problem is i had this issue before then (when i didnt touch the camera at all), i forgot to clarify, but the normal character’s humanoid is always on platformstand true.
That’s really odd, but that has me wondering… could you try connecting the humanoid to runservice, and print the state changes?? Maybe that will allure to it possibly being a problem with the humanoid itself
Okay, so i tried, whenever i launched the game i’d just get platform stand, but when i replicated the glitch my humanoid would start running, but i noticed that after a small moment i’d go back to platform standing, and when i moved in that state the despawn/respawn thing happened.
Heres a video:
I think the websites having problems because I can’t view the video but the problem must be when you are moving during platform standing! A normal player that goes from platform standing to jumping can sometimes experience the same thing in a regular game
ah, makes sense, sorry for the late response, i’m going to try and find a way to prevent the player from going outside platformstant, thanks for your time!
This could be really really tedious, but at your point in the troubleshooting process it might be a good bet to remove every component of the player and logic until you debug the issue!
it was a flaw in my code, to put it simply, every small amount of time i would check the player’s Humanoid.Movedirection, and i would get that moving direction, multiply it by a speed amount and add it to the player’s current velocity, but whenever i didn’t move, i would basilically add 0 velocity, and i suppose this somehow broke the game and therefore my character, now i only made it so i get velocity only when i move, thanks for the tips and time!