More camera, might deprecate the custom camera

This commit is contained in:
2023-12-21 03:37:25 -05:00
parent b879e5ac85
commit 6c7a4ced45
10 changed files with 225 additions and 23 deletions

View File

@@ -1,8 +1,17 @@
local HumanoidRPSettings = require(script:WaitForChild("HumanoidRootPart"))
local CameraModule = require(script:WaitForChild("Camera"))
local LTM = require(script:WaitForChild("LocalTransparencyModifier")) --Should this just be part of Camera.lua? idk,
local Character = script.Parent
local Character = script.Parent
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local Humanoid = Character:WaitForChild("Humanoid")
local CurrentCamera = workspace.CurrentCamera
local HRPSettings = HumanoidRPSettings.constructor(HumanoidRootPart)
local LTMSettings = LTM.constructor(Character)
local CameraConsturctor = CameraModule.constructor(CurrentCamera, HumanoidRootPart, Humanoid)
HRPSettings:DisableRobloxSounds()
HRPSettings:DisableRobloxSounds()
LTMSettings:off()
CameraConsturctor:SetupFakeCamera()
CameraConsturctor:EnableBobbing()