0% found this document useful (0 votes)
29 views1 page

Group-Based Shirt Customization Script

The document is a Lua script for a Roblox game that assigns different shirt and pants templates to players based on their rank in a specific group. It checks the player's rank and applies corresponding clothing assets when a part in the game is clicked. The script utilizes the GroupService and Player services to manage player clothing dynamically.

Uploaded by

ok.158385.pblc
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Group-Based Shirt Customization Script

The document is a Lua script for a Roblox game that assigns different shirt and pants templates to players based on their rank in a specific group. It checks the player's rank and applies corresponding clothing assets when a part in the game is clicked. The script utilizes the GroupService and Player services to manage player clothing dynamically.

Uploaded by

ok.158385.pblc
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local group = 35766828

local groupservice = game:GetService("GroupService")


local player = [Link]:GetRankInGroup(group)

local function giveshirt(role)


if role > 32 then
game:GetService("Players").[Link] =
"rbxassetid://120939401731865"
game:GetService("Players").[Link] =
"rbxassetid://109552677784113"
elseif role < 32 and role >= 14 then
game:GetService("Players").[Link] =
"rbxassetid://102457868860421"
game:GetService("Players").[Link] =
"rbxassetid://109552677784113"
elseif role < 14 and role >= 3 then
game:GetService("Players").[Link] =
"rbxassetid://117518263028944"
game:GetService("Players").[Link] =
"rbxassetid://109552677784113"
elseif role < 3 and role >= 1 then
game:GetService("Players").[Link] =
"rbxassetid://117518263028944"
game:GetService("Players").[Link] =
"rbxassetid://109552677784113"
end
end

[Link]:WaitForChild("Part").[Link]:Connect(function()
giveshirt(player)
end)

You might also like