Scheduled access management
-- Require the module
local QACAM = require(script:WaitForChild("QACentralAccessManager")
-- Allow QA Leads to join starting 27th September 2023 at 14:00 UTC
QACAM.configuration:AllowRoles({
QACAM.configuration.roles.defaults.QA_LEAD
}, 1695823200)
-- Validate players when they join
game:GetService("Players").PlayerAdded:Connect(function(Player)
local AccessResult = QACAM:GetAccessForPlayer(Player)
-- value will be false if the player doesn't have access
if not AccessResult.value then
Player:Kick(AccessResult.message)
end
end)Roles priority
Notes
Last updated