location=script.Parent.Parent.Parent regen=script.Parent.Parent save=regen:clone()function onClicked()back=save:clone()back.Parent=location back:MakeJoints()end script.Parent.ClickDetector.MouseClick:connect(onClicked)
-- Domukas3123 click regen script
-- just place the button to the model

location = script.Parent.Parent.Parent
regen = script.Parent.Parent
save = regen:clone()

function onClicked()
	back = save:clone()
	back.Parent = location
	back:MakeJoints()
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
