I have a normal on changed script but it's not working, I'm not getting 'PassOne' so it must be the function, but what about it is wrong?

local c = game.Workspace.CurrentCamera

script.Parent.ChangeCamera.Changed:connect(function()
	print("PassOne")
	if script.Parent.ChangeCamera.Value == true then
				c.CameraSubject = game.Players.LocalPlayer
				c.CameraType = "Scriptable"
		else
	end
end)

1 comment

0

maybe its not the camera changing, its the value....so instead "script.Parent.ChangeCamera.Value.Changed:connect"...just a suggestion