[-] cameras | scripting support

Hi.

I am hoping to make a script which when you can click GUI’s and it makes you view a part such as a camera, however when I duplicate it, it doesn’t work, I am only new and I have no clue how to fix this.

local Enabled = false

The script

script.Parent.MouseButton1Click:Connect(function()
if not Enabled then
Enabled = true
game.Players.LocalPlayer.Backpack.Cameras.Disabled = false
else
Enabled = false
workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
game.Players.LocalPlayer.Backpack.Cameras.Disabled = true
end
end)

How can I make it so there are multiple ones?
Thanks

Hey @EIonXMusk, oh great another l and I swapper…

Anyway so I think I understand your issue, however you’ve given me an issue.

I don’t have nearly enough information about this to help you, that’s why no one has replied yet.

What is Cameras? Is it a tool? Do tools even have a Disabled property??? Why would it be in the backpack, is it a localscript?

Did you perhaps get a free model camera changer, and then expect to have the rest of your idea given to you by the generous roblox community?

If you could give more info about what’s going on I’d be glad to help, hope it works out!

That script was in a Local Script,

There is also another script in Starterpack which is just a script.

while wait{} do
workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = workspace.CameraPart.CFrame
end

Also, it was scripted by my developer, not by me.