So I'm making a backpack, but since its made out of welds and can't be anchored, I had to use CFrame. But while using the LookVector thing I got stuck, i got the "CFrame expected, got Vector3" error. The script is in ServerScriptService and is a server script.


game.Players.PlayerAdded:Connect(function(player)
	wait(5) --ineffiecent way to wait for the character to load
	local char = player.Character
	local bp = game.ServerStorage.Backpack:Clone()
	local CUpTo = char.UpperTorso
	bp["UpperTorso to Main weld"].Part0 = CUpTo
	bp.Parent = char
	bp.Main.CFrame = Cut.CFrame.LookVector * 1 -- dont mind the backpack being infront
end)

1 comment

0

You have to use CFrames, LookVector is a VECTOR.