Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a miscellaneous morph button?

I am looking for a script that will let users morph into anything, not just humanoids.  A standard morph button would be appreciated. Thank you!

2 answers

Please look into free models for morph creators, it's stupid to use free models but it's easier to do it yourself than to ask other people on this type of topic

Also, please do not use "code block" when asking your question, only use it when displaying code.

3 comments

0

When I do that all that comes up are humanoids. Can I put the humanoid parts into the model?

0

What do you mean by that?

0

When I search morph creator the models that come up look like characters, I am loooking to make a monster morph that is not shaped like a characte.

Shirt:

local cln = script.Parent.Shirt:clone()

function onTouched(hit)
	local h = hit.Parent:findFirstChild("Humanoid")
	if h~=nil then
		local s = hit.Parent:findFirstChild("Shirt")
		local d = hit.Parent.Torso:findFirstChild("roblox")
		if s~=nil and d~=nil then
			hit.Parent.Torso.roblox:remove()
			hit.Parent.Shirt:remove()
			cln.Parent = hit.Parent
		elseif s~=nil then
			hit.Parent.Shirt:remove()
			cln.Parent = hit.Parent
		elseif d~=nil then
			hit.Parent.Torso.roblox:remove()
			cln.Parent = hit.Parent
		elseif s==nil and d==nil then
			cln.Parent = hit.Parent
		end
	end
end

script.Parent.Touched:connect(onTouched)
	

Pants:

local cln = script.Parent.Pants:clone()

function onTouched(hit)
	local h = hit.Parent:findFirstChild("Humanoid")
	if h~=nil then
		local s = hit.Parent:findFirstChild("Pants")
		if s~=nil and d~=nil then
			hit.Parent.Pants:remove()
			cln.Parent = hit.Parent
		elseif s~=nil then
			hit.Parent.Pants:remove()
			cln.Parent = hit.Parent
		elseif d~=nil then
			cln.Parent = hit.Parent
		elseif s==nil and d==nil then
			cln.Parent = hit.Parent
		end
	end
end

script.Parent.Touched:connect(onTouched)
	

REMINDER* Please use in 2 different scripts and put it in a "Smooth Block Model" And insert also in the same Parent Shirt and Pants, insert also a Humanoid.

This discussion is preserved as it was. New answers, comments, and votes are closed.