Need help with CFrame's

You can write your topic however you want, but you need to answer these questions:
When the CFrame of the flashlight = its starting cframe i want a feature to work

It just is not working
Ignore everything in gray

	if workspace.campart.FlashLight.CFrame == defaultCF then
	--if right then
	--	return
	right = false
	left = false
	center = false
	if toggle == false then
		toggle = true
		script.Parent.Front.Visible = false
		script.Parent.RightDoor.Visible = false
		script.Parent.LeftDoor.Visible = false
		local ts = game:GetService("TweenService")
		local part = workspace.campart
		local info =, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0)
		local properties = {CFrame = workspace.campart.campart4.CFrame} --workspace.CurrentCamera.CFrame --CFrame.Angles(0,180,0)}

		local tween = ts:Create(workspace.CurrentCamera,info,properties)


Everything looks fine. I think it is not getting past that if statement.

I don’t think the flashlight’s cframe ever equal to defaultCF

What do you mean by that? How would it not be getting past it?

Add a print command after that line to see if the conditional statement is satisfied when it executes.

Okay I will when i get back home, Thank you for the idea

Thanks I fixed it! Thank you for the help