I need a rotation inside a CFrame because otherwise the part will keep teleporting because the game thinks it's inside another brick :/ I don't know how to do this though
This is the orientation
Vector3.new(laser.Orientation.X + 90, laser.Orientation.Y, laser.Orientation.Z)
This is what I tried
local head = script.Parent
local LTP = script.Parent.Parent:WaitForChild('LockToPart')
while wait() do
if workspace:FindFirstChild('laser') then
local laser = workspace.laser
local rot = laser.Orientation
head.CFrame = CFrame.new(head.Position) * CFrame.Angles(math.rad(laser.Orientation.X), math.rad(laser.Orientation.Y), math.rad(laser.Orientation.Z))
-- head.Orientation = Vector3.new(laser.Orientation.X + 90, laser.Orientation.Y, laser.Orientation.Z)
end
end

4 comments
so i made Position to CFrame instad of position cuz vector 3 cuz vector 3 looks liek this : X,Y,Z and CFrame has more numbers it will do the same as u want i think
I have no clue what you are thinking but you can't make a CFrame with a CFrame dude
hmm weird for me i need to use cframe
You CANNOT use CFrame inside A CFrame, a cframe already has rotation data inside it. This script will result in an error