3. Configure the settings
The camera system has some settings you can configure. Most of them are optional and can be left to their default values, but the GuiOwners
setting has to be edited by you. This setting is reponsible for who can control the cameras and you need to add yourself to it.
You can edit the settings by opening the Settings
script. All of the settings are explained below
GuiOwners
The GuiOwners
is a list of players who can control the cameras. There are a couple rules you should follow when adding players:
- Each player's username should be in their own quotes
- Each username should be separated by a comma (,)
- You should use usernames, not display names
- Usernames are case-sensitive,
stacy
andSTACY
are not the same
For example, if you want to make it so 3 players can control the cameras: gabys2005
, idezye
and GiorgioworldcupTEMP
, the setting would look like this:
GuiOwners = { "gabys2005", "idezye", "GiorgioworldcupTEMP" },
Theme
This settings decides the theme of the control GUIs, it can be either "Dark"
or "Light"
AccelerateStart
When this setting is set to true
, the cameras will accelerate at the start instead of starting instantly
DecelerateEnd
When this setting is set to true
, the cameras will decelerate at the end instead of stopping suddenly
ToggleGui
This setting can contain the names of ScreenGuis that should be shown when someone is watching through the cameras. For example if you want a GUI named Overlay
to appear when a player is watching, the setting should look like this:
ToggleGui = { "Overlay" },
WatchButtonPosition
This setting decides where on the top bar the watch button will be. This can be either Left
, Center
or Right
ControlButtonPosition
Same as the setting above but for the control button
Keybinds
This setting allows you to add keybinds to the cameras. Keybinds are better explained here
BarsOffset
This setting is intended for streamers. It'll move the black bars up or down so they can still be centered in a cropped view. The Players
part is a list of players (streamers) who should be affected, you add them the same way as the GuiOwners
setting. The Offset
part is the amount of pixels the bars should be lowered down. Roblox changes the top bar height all the time so the default value may be out of date.
BeforeLoad
This setting is a function that will run before the camera system loads. You can use it to add cameras with scripts or edit the settings in-game.
FreeAdmin
This setting controls whether everyone should be allowed to control the cameras. It has three possible values:
"None"
- free admin is disabled"Owners"
- private server owners can control the cameras"All"
- everyone can control the cameras
LogActions
If set to true
, everything done to the cameras will be logged to the Dev Console