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
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
Gif/screenshot of your idea so I can help you?
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)
Okay how to set it up? I guess have brick named CameraPart?
Mhm and that script put into startergui as a local script
Didnt worked but i get logic of script thanks for help
I have an issue where the CameraSubject is “Humanoid” And not “Brick” Is there a solution for that?