Usage
Note: Everything must be done from the Server, through ServerScriptService
:Init()
local Overhead = require(game.ReplicatedStorage:WaitForChild("NSOverhead"))
Overhead:Init():GiveOverhead(args)
local Overhead = require(game.ReplicatedStorage:WaitForChild("NSOverhead"))
Overhead:Init()
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function()
local args = {}
args.Plr = plr
args.PlrColor = Color3.fromRGB(255, 255, 255)
args.Rank = " My Rank"
args.RankColor = Color3.fromRGB(165, 58, 58)
args.SpecialRankEnabled = true
args.SpecialRank = "My Special Tag"
args.SpecialRankColor = Color3.fromRGB(194, 33, 116)
args.BadgesEnabled = true
Overhead:GiveOverhead(args)
end)
end):GiveBadge(plr, badgeName, badgeId)
:RemoveBadge(plr, badgeName)
:SetName(plr, name, nameColor)
:SetRank(plr, rank, rankColor)
:SetSpecialRank(plr, rank, rankColor)
The :Set will only work if they player already has an OverheadUI, if not it will not work.
Last updated
