#"Requested module experienced an error while loading"

1 messages · Page 1 of 1 (latest)

grim merlin
#

How do I fix this?

civic solstice
#

`local RunService = game:GetService('RunService')
local UserInputService = game:GetService('UserInputService')
local PlayersService = game:GetService('Players')
local StarterPlayer = game:GetService('StarterPlayer')

local RootCamera = script:WaitForChild('RootCamera')

-- Removed () from require if the module returns a table
local ClassicShift = require(RootCamera:WaitForChild('ClassicShift'))
local PopperCam = require(script:WaitForChild('PopperCam'))
local Invisicam = require(script:WaitForChild('Invisicam'))
local TransparencyController = require(script:WaitForChild('TransparencyController'))

local AllCamerasInLua = false
local success, msg = pcall(function()
AllCamerasInLua = UserSettings():IsUserFeatureEnabled("UserAllCamerasInLua")
end)
if not success then
print("Couldn't get feature UserAllCamerasInLua because:", msg)
end

local EnabledCamera = nil
local EnabledOcclusion = nil
local currentCameraConn = nil

local function shouldUsePlayerScriptsCamera()
local player = PlayersService.LocalPlayer
local currentCamera = workspace.CurrentCamera
if AllCamerasInLua then
return true
else
return false
end
end
`

#

fixed

#

@grim merlin

grim merlin