#cam help

5 messages · Page 1 of 1 (latest)

dry cipher
#

just makes that cam movable... i want the cam to go to the playeres cam when the buttons pressed

-- Assuming the button is a child of the ScreenGui named "Buttons"
local ScreenGui = game.Players.Rhsario.PlayerGui.Buttons
local Button = ScreenGui:WaitForChild("PlayButton") -- Make sure the button exists

local CameraPart = workspace.Cams:WaitForChild("CF") -- Wait until the part is available
local Camera = workspace.CurrentCamera

-- Set the camera's CFrame to the CameraPart's CFrame
Camera.CFrame = CameraPart.CFrame

-- Connect the button click event
Button.MouseButton1Click:Connect(function()
Camera.CameraType = Enum.CameraType.Custom
script:Destroy()
end)

heady leaf
#

hol up what

#

why are you deleting the script

#

Advanced Roblox Scripting Tutorial #28 - Camera Manipulation (Beginner to Pro 2020)

Hey guys! Welcome back to a brand new roblox scripting tutorial in today's video I am going to be teaching you guys about Camera Manipulation and how to change the properties of the camera and change the position of it and the way it is looking. I hope you guys ...

▶ Play video
#

watch this