I've been working on a game show and there is going to be a team helping with the electronics and stuff playing sounds , opening curtains, and a camera tool so they can watch. If you see anything wrong with my scripting please tell me. I am pretty new.
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Camera = game.Workspace.CurrentCamera local StageView = game.StarterPack["Stage View"] StageView.Activated:Connect(function() Camera.CameraType = Enum.CameraType.Scriptable Camera.CFrame = workspace.FocusHere.Position end)
In my opinion, nothing is wrong here. But the Activated part means when someone clicks while holding the Tool then the function will take effect. IF you want to make it happen as soon the player equips the tool, then I would recommend Equipped.