I want to rotate the camera view idk how tho
local script:
local uis = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait(0.1)
local humrp = char:WaitForChild("HumanoidRootPart")
local cam = workspace.CurrentCamera
uis.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.B then
cam.CameraType = "Scriptable"
while wait(1) do
cam.CFrame = humrp.CFrame * CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,10,0)
end
end
end)
its in starter pack fyi
and when the camera goes to the humrp it looks like im teleporting