I don't know how to make the camera go back to normal after I manipulate it, what properties do i change???
game.ReplicatedStorage.CAMSET_RE.OnClientEvent:Connect(function(bool1) if bool1 == true then print("ea") --game.Players.LocalPlayer.Backpack.Cameras.Disabled = false cam.CameraType = Enum.CameraType.Scriptable cam.CFrame = game.Workspace.WeaponSelection.CamOrigin.CFrame --cam.CameraSubject = game.Workspace.WeaponSelection.CamOrigin2 --ts:Create(cam, TweenInfo.new(1.5, Enum.EasingStyle.Quint), {["CFrame"] = game.Workspace.WeaponSelection.CamOrigin2.CFrame}):Play() else --what do i do here lol end end)
local plr = game.Players.LocalPlayer game.ReplicatedStorage.CAMSET_RE.OnClientEvent:Connect(function(bool1) if bool1 == true then print("ea") --game.Players.LocalPlayer.Backpack.Cameras.Disabled = false cam.CameraType = Enum.CameraType.Scriptable cam.CFrame = game.Workspace.WeaponSelection.CamOrigin.CFrame --cam.CameraSubject = game.Workspace.WeaponSelection.CamOrigin2 --ts:Create(cam, TweenInfo.new(1.5, Enum.EasingStyle.Quint), {["CFrame"] = game.Workspace.WeaponSelection.CamOrigin2.CFrame}):Play() else cam.CameraType = Enum.CameraType.Custom cam.CameraSubject = plr.Character.Humanoid end end)
You just have to set the camera to custom and set the CameraSubject to the players humanoid. Hope this works!