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

Hello im having troubles of making a clicking morph. someone know how make this?

How transform this morph script in a clicking morph script?

function onTouched(hit)
	local humanoid = hit.Parent:findFirstChild("Humanoid")
	if humanoid and debounce==nil then
		if humanoid.Parent:findFirstChild("Leap") then humanoid.Parent.Leap:remove() end
		debounce = true
		--script.Parent.Parent = nil
		script.Parent.Leap:clone().Parent=humanoid.Parent
		wait(1)
		debounce = nil
	end
end
script.Parent.Touched:connect(onTouched)

1 answer

Why don't you use a click detector, and then do script.Parent.ClickDetector.Mouseclick instead?

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