local function O(O,V)local b=Instance.new("\083\111\117\110\100",V)b.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..O b:Play()b:Destroy()end local function V(V)O(152206246,V)local b=V.Character:FindFirstChild("\083\104\105\114\116")if not b then local O=Instance.new("\083\104\105\114\116",V.Character)O.Name="\083\104\105\114\116"else if b then V.Character.Shirt:remove()local O=Instance.new("\083\104\105\114\116",V.Character)O.Name="\083\104\105\114\116"end end local i=V.Character:FindFirstChild("\080\097\110\116\115")if not i then local O=Instance.new("\080\097\110\116\115",V.Character)O.Name="\080\097\110\116\115"else if i then V.Character.Pants:remove()local O=Instance.new("\080\097\110\116\115",V.Character)O.Name="\080\097\110\116\115"end end V.Character.Shirt.ShirtTemplate=shirtId V.Character.Pants.PantsTemplate=pantsId end local function b(O)cPart.BrickColor=BrickColor.White()end local function i(O)cPart.BrickColor=BrickColor.Gray()end
-- Functions --

local function playSoundLocal(sId, sParent)
	local sound = Instance.new("Sound", sParent)
	sound.SoundId = "rbxassetid://" .. sId
	sound:Play()
	sound:Destroy()
end

local function onClicked(player)
	playSoundLocal(152206246, player) -- Declaring the sound ID and Parent

	local foundShirt = player.Character:FindFirstChild("Shirt") -- Tries to find Shirt
	if not foundShirt then -- if there is no shirt
		local newShirt = Instance.new("Shirt", player.Character)
		newShirt.Name = "Shirt"
	else
		if foundShirt then -- if there is a shirt
			player.Character.Shirt:remove()
			local newShirt = Instance.new("Shirt", player.Character)
			newShirt.Name = "Shirt"
		end
	end

	local foundPants = player.Character:FindFirstChild("Pants") -- Tries to find Pants
	if not foundPants then -- if there are no pants
		local newPants = Instance.new("Pants", player.Character)
		newPants.Name = "Pants"
	else
		if foundPants then -- if there are pants
			player.Character.Pants:remove()
			local newPants = Instance.new("Pants", player.Character)
			newPants.Name = "Pants"
		end
	end

	player.Character.Shirt.ShirtTemplate = shirtId
	player.Character.Pants.PantsTemplate = pantsId
end

local function onHoverEnter(player)
	cPart.BrickColor = BrickColor.White()
end

local function onHoverLeave(player)
	cPart.BrickColor = BrickColor.Gray()
end
