Main Menu Camera

Hey there,

im trying to make main menu camera what will be attached to part and players can move it just bit (when they move their cursor)

I tryed few things with Camera in Explorer but it didnt worked much

4 Likes

Gif/screenshot of your idea so I can help you?

Like this, your cam is in this postion and when you move your cursor your camera moves a bit too

1 Like

I think your looking for something like this.

(local script)
use attach() to start camera mode/unattach() to stop the camera

local camera = game.Workspace.CurrentCamera

local brick = game.Workspace.CameraPart

local function attach()

camera.CameraType = Enum.CameraType.Scriptable

camera.CameraSubject = brick.CFrame

end

local function unattach()

camera.CameraType = Enum.CameraType.Follow

camera.CameraSubject = nil

end

attach()

game.Players.PlayerAdded:Connect(function(plr)

plr.Chatted:Connect(function(msg)

if msg == "!stop" then

unattach()

end

end)

end)
3 Likes

Okay how to set it up? I guess have brick named CameraPart?

1 Like

Mhm and that script put into startergui as a local script

1 Like

Didnt worked but i get logic of script thanks for help

3 Likes

I have an issue where the CameraSubject is “Humanoid” And not “Brick” Is there a solution for that?