I made a camera thing for my Talk Show game

Ello! So I’ve just started to get into scripting and I thought this camera function I did was cool.

At the time of posting this I have added more cameras, for the different challenges, if they fail some trivia.

If any of you could help me make it into a key/number based, or arrow based. That would be great!

13 Likes

I love the idea of switching the cameras! I think that if you were filming a talk show it could be annoying for views to see the switching through the GUI. I think it would be cool if you made it so that if you pressed “1” on your keyboard, it would go to camera 1. If you pressed “2” on your keyboard, it would go to camera 2, and so forth. I think it would look a lot cleaner. Looking great though!

2 Likes

This is a sick functionality, seems to make the concept of video-editing much more simple as jumps/cuts are already included during the recording.

The only improvement/change I’d suggest is:

  • Move the GUI to the bottom of the screen & stretched horizontally (so you can crop out the bottom bar after recording)

or as another person suggested:

  • Have the GUI “key/number-based” (not sure what to exactly call it)

I personally feel as it would make the overall recording cleaner as there wouldn’t be a GUI in the way. Regardless though, it is an absolutely awesome creation!

I hope your talk show does well. :smiley:

I’ve helped with alot of gameshows and talkshows on Roblox including the one made by King Bo b and his team, and I have noticed your cramping 3 guis into one thing
it’s not necessarily the worse thing but…


I prefer if you would use one gui and have arrows or keys to flip cameras. It being animated would look more interesting. Your gui is fine but it needs improvement, but if your willing to keep the old gui make it more vibrant; giving it life so it stands out a lot.


I believe your using THREE separate scripts located in “StarterPlayer”. You can make it all in one script which lessens the amount of currently running scripts in-game. IT would improve FPS and since it’s a talkshow I would bet it would often last long around 30 mins. This would help improve gameplay in your talkshow.

Yea, I’m not too good with scripting so I don’t know how to do that :confused:

Thank you! I will move it to the bottom, and I’m not too good with scripting so idk how to make it key/number based.

1 Like

Yea, like I was saying to the others, idk how to make it arrow/key/number based. Also I tried putting them all in one script but it doesnt work.

If you end up moving it to the bottom, post it here and tag me.

I’d love to see how it turns out! :smiley:

Use UserInputService! Here is my example:

local UIS = game:GetService("UserInputService")

UIS.InputBegan:Connect(function(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.One and gameProcessed == false then
        --code that changes to camera one
    end
    --add more keys later on using the same thing above but change the KeyCode in correspondence to the camera.
end)

I probably made a typo somewhere, but I hope this helps.

Should I just replace that with

local Enabled = false



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)

which is the script I already have

Ok so I put my script where yours says too

local UIS = game:GetService("UserInputService")

UIS.InputBegan:Connect(function(input, gameProcessed)
	    if input.KeyCode == Enum.KeyCode.One and gameProcessed == false then
local Enabled = false
		
   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 --code that changes to camera one
    end
    --add more keys later on using the same thing above but change the KeyCode in correspondence to the camera.
	end
end)

Its works all good, but when I press ONE a second time it doesn’t go back to the player.

Try this:

local UIS = game:GetService("UserInputService")
local Camera1Debounce = false

UIS.InputBegan:Connect(function(input, gameProcessed)
	if input.KeyCode == Enum.KeyCode.One and gameProcessed == false then
       if Camera1Debounce == false then
           Camera1Debounce = true
           game.Players.LocalPlayer.Backpack.Cameras.Disabled = false
       else
           Camera1Debounce = false
           workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
           game.Players.LocalPlayer.Backpack.Cameras.Disabled = true --code that changes to camera one
       end
    --add more keys later on using the same thing above but change the KeyCode in correspondence to the camera.
	end
end)

What are you accessing in the backpack on lines 8 and 12?

1 Like

Thank you, that worked. Uhhh the backpack is for the Cameras script, so the cameras work and they’re in StarterPack

1 Like

Oh okay gotcha!

Also, if you wanted to change to arrow keys or other keys, you can check out the Keycode Enum and it contains a list of all of the keys/keycodes.

1 Like

Alright, I will look at that and see if it can help me.

1 Like

As a actual broadcast director this is fantastic. Ive been looking for something like this on ROBLOX. And especially with hot keys. ROBLOX defo has it as we use it for Bloxy Awards.

1 Like

Yea now I have it working with hotkeys

2 Likes