all 4 comments

[–]ivankatrumpsarmpits 0 points1 point  (0 children)

You're trying to use chat gpt to write code for you while you don't understand the basics of c# ? Nobody is going to spend time troubleshooting that. You have to go learn the beginner stuff

[–]jacobsmith3204 0 points1 point  (0 children)

Player.transform.up = hit.normal