if car.HumanoidRootPart.Velocity.Y < 0 then
car.HumanoidRootPart.Velocity.Y = 0
end
So I was using this script in my game to stop it from going under 0 randomly but then this error happened.
09:28:51.474 - Y cannot be assigned to 09:28:51.476 - Script 'Players.Player.Backpack.LocalScript', Line 44 09:28:51.477 - Stack End
how would I fix this?
Thanks, KIheros

2 comments
works but you'd need a constant check, he wants to set it to 0 when it reaches less than 0, also vel.x is incorrect vel is humanoidrootpart
Good catch. I forgot to change vel in between deciding which it should refer to.