There was an error, since its multiple effects that are going into lighting. The effects are all different
names. 12:42:21.669 Workspace.Im***** 🏝 - Light.Im*****Handler:36: attempt to call a nil value - Server - ImmerseHandler:36 12:42:21.670 Stack Begin - Studio 12:42:21.670 Script 'Workspace.Im*****🏝 - Light.Im*****Handler', Line 36 - function loadtheme - Studio - Im*****Handler:36 12:42:21.670 Script 'Workspace.Im***** 🏝 - Light.Im*****Handler', Line 54 - Studio - Im*****Handler:54 12:42:21.670 Stack End - Studio
Unhandled Promise rejection:
Unexpected response when fetching game name, no game info
CoreGui.RobloxGui.Modules.Common.GetGameNameAndDescriptionNew:24
CorePackages.Packages._Index.evaera_roblox-lua-promise.roblox-lua-promise:151 function runExecutor
CorePackages.Packages._Index.evaera_roblox-lua-promise.roblox-lua-promise:160
Funny enough…another loop!
but this time we’ll be using the index parameter.
You can actually check properties like you would in a table.
So something like:
for key, value in pairs(thetable['Settings'] do
game.Lighting[key] = value
end