Whenever I run this script it says argument 3 is missing or nil in line 4. Also PlayerVal is an ObjectValue with a reference to the player´s character model
wait(5)
repeat wait() until script.Parent.PlayerVal.Value ~= nil
script.Parent.PlayerVal.Value.RemoteEvent.OnServerEvent:Connect(function()
script.Parent.CFrame = CFrame.Angles(Vector3.new(0,math.rad(45),0))
end)

2 comments
https://developer.roblox.com/en-us/api-reference/property/BasePart/CFrame check this out. I dont have much info about CFrame,but in this article it doesnt use Vector3 in CFrame.Angles
yay thanks