mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-15 21:51:55 +00:00
More camera, might deprecate the custom camera
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user