On line 20, I'm having problems trying to figure out how to change the character's rotation to face in the direction that I want. I've tried Vector3 and CFrame in so many different orders and read the wiki but it's too complicating!
The output says; LocalScript:20: bad argument #1 to 'new' (Vector3 expected, got CFrame)
Here is the script;
local frame = script.Parent:WaitForChild("Frame")
local button = script.Parent:WaitForChild("TextButton")
local camera = game.Workspace.CurrentCamera
local player = game.Players.LocalPlayer
local uif = script.Parent:WaitForChild("UserInterfaceFolder")
uif.Name = player.Name.."InterfaceFolder"
cloned = false
button.MouseButton1Down:connect(function()
if cloned == false then
uif:Clone().Parent = game.Workspace
cloned = true
end
frame.Visible = true
local playerloc = game.Workspace[player.Name..'InterfaceFolder']
camera.CameraSubject = playerloc.CameraPart
player.Character.Torso.CFrame = CFrame.new(Vector3.new(-214.05, 0.7, -223.95))
wait(1)
player.Character.Torso.CFrame = CFrame.new(CFrame.fromEulerAnglesXYZ(0,20,0))
player.Character.Torso.Anchored = true
end)

2 comments
Accept my answer if it brought you to a solution, its just a button click ;)
https://gyazo.com/19cbcb1342b760d97477f8435ed4a6d2 See that big ACCEPT ANSWER Button? Click that >:I