Camera manipulation problem

Hi there.

i want to make a custom camera part

   script.Parent.MouseButton1Down:Connect(function()
 local Camera = game.Workspace.CurrentCamera
 local Player = game.Players.LocalPlayer


 script.Parent.Parent.kamera.Disabled = true --- disabling my other camera script.
 



 repeat wait() until Player.Character

 Camera.CameraType = "Scriptable"
 Camera.CFrame = game.Workspace.camtwo.CFrame
 
 
 script.Parent.Enabled = true

 local MasterControl = 
require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("ControlScript"):WaitForChild("MasterControl"))

 MasterControl:Disable()

This is script. But i have a problem. When i clicked the button it works but when i move my mouse it is broking my camera.

You spelled Camera wrong

script.Parent.Parent.Camera.Disabled = true

1 Like

i don’t know if that’s the issue here. because if the script is named Kamera, it will work.
Instead i think that some outside script is influencing the camera movement.

1 Like