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

Can someone help me with this script? Solved lol. ;3

Asked by 10 years ago
--Hi lol! ;3
groupID=961606
shirtID=145518388
pantsID=148193016

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)

When I enter my place.. it don't give me the uniform. D: Please help me.

1
From what I can tell, that PantsID is a Shirt, not a Pants. adark 5487 — 10y
0
lol AlphaDragon155 7 — 10y

Answer this question