I was wanting a script that would change your hat, shirt, and pants to the kind you want.

I need a script that will make you have 2.0 arms and legs, normal head, a super hero torso, glasses, normal boy hair, a Serious Sam shirt and pants, and that's it. I have most of it done, but I don't know how to get shirts, pants, and hats on it.

script.Parent.Touched:connect(function(hit)
	if hit.Parent == nil then return end
	if (hit.Parent:findFirstChild("Humanoid") == nil) then return end
	local human = hit.Parent:findFirstChild("Humanoid") 
	local char = hit.Parent
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if (human ~= nil) and debounce == false then
		debounce = true
		originals = char:getChildren()
		for w = 1, #originals do
			if originals[w].className == "CharacterMesh" then
				originals[w]:remove()
			end
		end
		meshes = script:getChildren()
		for y = 1, #meshes do
			copy = meshes[y]:clone()
			copy.Parent = char
		end
	end
	wait(1)
	debounce = false
end)
game.Players.PlayerAdded:connect(function(p)
	p.CharacterAdded:connect(function(char)
		wait(1)
		originals = char:getChildren()
		for w = 1, #originals do
			if originals[w].className == "CharacterMesh" then
				originals[w]:remove()
			end
		end
		meshes = script:getChildren()
		for y = 1, #meshes do
			copy = meshes[y]:clone()
			copy.Parent = char
		end
	end)
end)

2 comments

0

Please include some code or theories you had of doing this. This site is not here to make scripts for you.

0

Alright. Will do.