-- Getting ReplicatedStorage and Players service
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
-- Referencing Essentials
local Essentials = require(ReplicatedStorage.Essentials)
-- On the player added event, we add a function that checks if the player is ID verified or not, if they aren't, we kick them with the following reason
Players.PlayerAdded:Connect(function(player: Player)
if not Essentials.IsPlayerVerified(player) then
player:Kick("You do not have your ID verified")
end
end)
Is ID-Verified:
Essentials: Femtrs is ID Verified
Is Not ID-Verified:
Essentials: Femtrs is not ID Verified
Parameters
player:
The specified player object.
debugging:
Sends an output log to your output window and developer console.