local player = game.Players.LocalPlayer
local icon = game.Players:GetUserThumbnailAsync(player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
if player:IsInGroup(12345) then
script.Parent.Parent.Visible = true
end
script.Parent.Picture1.Image = icon
script.Parent.Picture2.Image = icon
script.Parent.NameText.Text = player.Name:upper()
if player:GetRankInGroup(12345) <= 9 then
script.Parent.RankInfo.Text = "ENLISTED"
elseif player:GetRankInGroup(12345) <= 15 then
script.Parent.RankInfo.Text = "OFFICER"
elseif player:GetRankInGroup(12345) <= 255 then
script.Parent.RankInfo.Text = "HEADQUARTER"
end
local split1 = string.split(player:GetRoleInGroup(12345),"[")
local split2 = string.split(split1[2], "]")
local rank = split2[1]
script.Parent.RankText.Text = rank
script.Parent.AFPSNText.Text = "TPA"..math.random(100, 999)
– This script is client Sided so i want it to be server sided
Structure
StarterPack
ID Test (Tool)
ID (Part)
SurfaceGui
ID (Frame)
Informations (Frame)
LocalScript) – The script provided in the top
TextLabels