cam.Changed:connect(function()
local Z = cam.CFrame.Z
local X = cam.CFrame.X
print(Z)
if Z > 35 and Z < 85 then
print "hi"
end
end
Is some code I have. Problem is, Z does not work with an if statement. I have tried;
if Z > 1 then
print('hi')
end
Even that does not print hi to the console. At this point I have absolutely no idea why this is so. X works fine.
