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.