script.Parent.Touched:connect(function(h)
if h.Parent:FindFirstChild("Humanoid") then
for _,v in pairs(h.Parent:GetChildren()) do
if v:IsA("Shirt") or v:IsA("Pants") then
v:Destroy()
end
end
local shirt = Instance.new("Shirt", h.Parent)
shirt.ShirtTemplate = "rbxassetid://" .. "1577487278"
shirt.Name = "Scooper [Top]"
local pants = Instance.new("Pants", h.Parent)
pants.PantsTemplate = "rbxassetid://" .. "465873842"
pants.Name = "Scooper [Bottom]"
end
end)
print("Uniform on!")
Here's a picture of the error and it keeps putting me naked as well http://https://gyazo.com/d3765ea7bd741de7e4415ddb61083286
