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)
Why don't you use a click detector, and then do script.Parent.ClickDetector.Mouseclick instead?