-- Light Reflector Handler
-- handler.client.luau (continued)
local ReplicatedStorage: ReplicatedStorage = game:GetService("ReplicatedStorage")
local lightreflector = require(ReplicatedStorage.Packages.lightreflector)
-- ^ Set this to where you placed the module
local signsFolders = {workspace.Signs, workspace.NewSigns} -- Set this to your liking
local roadsFolders = {workspace.Roads, workspace.OldRoads} -- Set this to your liking
lightreflector.config.applyOverrides({
-- This is just an example! You may want to configure more values than this.
-- See the config module for reference
SignConfig = {
isTagsEnabled = false,
signsFolders = signsFolders.
-- You add a function here that determines if a part is a sign
isSign = function(part: BasePart)
if part.Name == "Sign" then
return true
else
return false
end
end
},
ReflectorConfig = {
isTagsEnabled = false,
reflectorsFolders = roadsFolders,
-- You add a function here that determines if a part is a reflector
isReflector = function(part: BasePart)
if part.Name == "Reflector" then
return true
else
return false
end
end
}
})