How do use Camera for a Loading Screen

Alright so, I haven’t made a DevForum post in quite some time so hopefully this is correct. I’m needing help with making a Loading Screen using the Roblox Camera. I already know how to make UI/Gui for it. I just don’t know how to actually make the Camera work, I’ve watched many Youtube Videos but they don’t have what I want or looking for.

Pretty much I want the camera to face like the sky with the UI loaded and when click a TextButton the UI goes away and it returns to the Player’s normal Camera. So how would I do this?

2 Likes

Basically, the easiest way to do this is to just take your CurrentCamera and set it’s CFrame the same with another part. The part’s front side will be the one displayed in your player’s Camera.

I suggest you read this to understand it better:

Camera.CFrame

Alright thanks! I’ll dig down into this.

I’m not sure if you wanted an animated loading screen or not but this model I’m providing is made by me, no viruses, and it’s just a simple camera menu that you can get out of only if you press a button.
You can just take a look at the script itself to understand and hopefully this helps.

1 Like

Basically, you can use Camera.CFrame to change the cameras position.
Remember to change the CameraType or you won’t receive the outcome you want.

local PlayerCam = workspace.CurrentCamera

PlayerCam.CameraType = Enum.CameraType.Scriptable 
PlayerCam.CFrame = workspace.Part.CFrame

If you’re looking for an animated loading screen, just use TweenService to tween the players camera to whatever CFrame you want.

Thanks for the responses, I’ll look at all of them. It also isn’t animated. Just a camera that looks at an object with UI so when they clicked like the Play Button, the UI vanishes and the Camera goes normal to the Player’s camera.

What this be a Normal script or a Local Script? as well where would this be placed. (I normally only script UI and not things like this)

Okay, so then my model should help with that.

I just looked at it and followed the steps. I don’t know if it’s suppose to do this but, the Camera is stuck in one position and the Player is gone. When I also clicked play, nothing happend.

Oh thats strange. I’ll take a look at it and fix it.

Thanks, It looked good at first then it went like that so I didn’t know if I messed something up or if it’s the script.

Oh, I think it was the CharacterAutoLoads that messed it up.

I just uncopy locked my old game where I have that same camera thing without the CharacterAutoLoads. (If you are wondering why it’s blank it’s because I deleted the things inside)

This time it should work.
https://www.roblox.com/games/6937432672/terminal-alpha

2 Likes

Oh wow, that’s actually what I’m looking for. Just UI and the camera pointing at an object. I’m going to look into the script more to understand what’s happening but tysm!

1 Like

No problem! (Btw put this topic as solved if you don’t need anymore people giving answers)

Alright, I’ll mark your reply as the Solution.

1 Like