Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-4

What does this script do? [closed]

Asked by 10 years ago
--Corvus uniform script by: shedet.
groupID=947529
shirtID=
pantsID=

game.Players.ChildAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
Delay(1, function()

if p:IsInGroup(groupID) then
if c:FindFirstChild("Shirt")~=nil then c.Shirt:Destroy() end
if c:FindFirstChild("Pants")~=nil then c.Pants:Destroy() end

local news=Instance.new("Shirt",c)
news.ShirtTemplate="http://www.roblox.com/asset/?id="..shirtID - 1

local newp=Instance.new("Pants",c)
newp.PantsTemplate="http://www.roblox.com/asset/?id="..pantsID - 1

end
end)
end)
end)

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago

I think this script is when you join the game, You automatically have the clothes that you put in the script, Which most military groups do.

Ad