--Function of the repair button

repair.MouseButton1Down:connect(function()
	if repairtwo == true then
		repairtwo = false
		local ff = Instance.new ("ForceField")
		ff.Parent = sp
		sp.Temporary:ClearAllChildren()
		menudisappear()
		disappearall()
		click.MaxActivationDistance = 10
		coverup()
		wait(1)
		ready = true
		ff:Destroy()
		
		for _,force in pairs(sp:GetChildren()) do
				if force:IsA("ForceField") then
					force:Destroy()
				end
		end
		
		script.Fixer.Disabled = true
		wait(5)
		repairtwo = true
	end
	
end)
