I’m doing a bed script where the player can trigger a prompt and lay down in bed
it works but the thing is not as intended
I’m trying to rotate the player 90 degrees so it looks at the end of the bed which works but then when i try to rotate it 90 degrees to where its laying down it just makes the character go sideways… I even tried using a dif axis to but it didnt work, what am I doing wrong how can I fix this?
Do you mean trying to make the player lay down straight? if yes, then by taking standard cframe when a part is inserted, I would say remove the *CFrame.Angles(0,math.rad(-90),0) and it should work.
Again this really depends on CFrame of the base, so you should just use trial and error to achieve it. I would recommend using animations instead tho, but yeah its really upto you how you wanna do it.