IsPlayerBadgeVerified
This function tells you if the specified player has a verified badge.
Example Usage:
-- 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 has a verified bagde or not
Players.PlayerAdded:Connect(function(player: Player)
Essentials.IsPlayerBadgeVerified(player, true, true)
end)
Parameters
player: Player
The specified player object.
setAttribute: bool
Adds an attribute to the assigned player
debugging: bool
Sends an output log to your output window and developer console.
References
Last updated