--[[local debounce = false
function onClicked(click)
	if debounce == false then
	debounce = true	
	if script.Parent.Parent.Frame.Visible == false then
		print("open")
	script.Parent.Parent.Frame.Visible = true	
	tweenmenu:Play()
	wait(1)
	debounce = false					
		else
		print("close")
	tweenmenuclose:Play()
	wait(0.5)
	script.Parent.Parent.Frame.Visible = false
	debounce = false						
	end	
	end	
end
script.Parent.MouseButton1Down:connect(onClicked)]]


function onClicked(click)
	--tweenb:Play()
	--tweenb2:Play()
	script.Parent.Parent.Parent.Enabled = false
	script.Parent.Parent.Parent.Parent.Building.Enabled = true
end
script.Parent.MouseButton1Down:connect(onClicked)
