local Z=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Packages.Fusion)return function(Q)local A={Name="\066\117\116\116\111\110",Size=UDim2.fromScale(1,1);BackgroundTransparency=1}local F=Q.GuiButtonState A[Z.OnEvent("\073\110\112\117\116\066\101\103\097\110")]=function(Z)if Z.UserInputType==Enum.UserInputType.MouseMovement and Z.UserInputState==Enum.UserInputState.Change then F:set("\072\111\118\101\114\105\110\103")end if Z.UserInputType==Enum.UserInputType.MouseButton1 and Z.UserInputState==Enum.UserInputState.Begin then F:set("\080\114\101\115\115\105\110\103")end if Z.UserInputType==Enum.UserInputType.Touch and Z.UserInputState==Enum.UserInputState.Begin then F:set("\080\114\101\115\115\105\110\103")end end A[Z.OnEvent("\073\110\112\117\116\069\110\100\101\100")]=function(Z)if Z.UserInputType==Enum.UserInputType.MouseMovement and Z.UserInputState==Enum.UserInputState.Change then F:set("\078\111\110\101")end if Z.UserInputType==Enum.UserInputType.MouseButton1 and(Z.UserInputState==Enum.UserInputState.End and F:get()=="\080\114\101\115\115\105\110\103")then F:set("\072\111\118\101\114\105\110\103")end if Z.UserInputType==Enum.UserInputType.Touch and Z.UserInputState==Enum.UserInputState.End then F:set("\078\111\110\101")end if Z.UserInputType==Enum.UserInputType.Touch and Z.UserInputState==Enum.UserInputState.Change then F:set("\078\111\110\101")end end A[Z.OnEvent("\065\099\116\105\118\097\116\101\100")]=Q.OnActivated return(Z.New("\073\109\097\103\101\066\117\116\116\111\110"))(A)end
-- Decompiled with the Synapse X Luau decompiler.

local u1 = require(game:GetService("ReplicatedStorage").Packages.Fusion)
return function(p1)
	local v1 = {
		Name = "Button",
		Size = UDim2.fromScale(1, 1),
		BackgroundTransparency = 1,
	}
	local l__GuiButtonState__2 = p1.GuiButtonState
	v1[u1.OnEvent("InputBegan")] = function(p2)
		if p2.UserInputType == Enum.UserInputType.MouseMovement and p2.UserInputState == Enum.UserInputState.Change then
			l__GuiButtonState__2:set("Hovering")
		end
		if p2.UserInputType == Enum.UserInputType.MouseButton1 and p2.UserInputState == Enum.UserInputState.Begin then
			l__GuiButtonState__2:set("Pressing")
		end
		if p2.UserInputType == Enum.UserInputType.Touch and p2.UserInputState == Enum.UserInputState.Begin then
			l__GuiButtonState__2:set("Pressing")
		end
	end
	v1[u1.OnEvent("InputEnded")] = function(p3)
		if p3.UserInputType == Enum.UserInputType.MouseMovement and p3.UserInputState == Enum.UserInputState.Change then
			l__GuiButtonState__2:set("None")
		end
		if
			p3.UserInputType == Enum.UserInputType.MouseButton1
			and p3.UserInputState == Enum.UserInputState.End
			and l__GuiButtonState__2:get() == "Pressing"
		then
			l__GuiButtonState__2:set("Hovering")
		end
		if p3.UserInputType == Enum.UserInputType.Touch and p3.UserInputState == Enum.UserInputState.End then
			l__GuiButtonState__2:set("None")
		end
		if p3.UserInputType == Enum.UserInputType.Touch and p3.UserInputState == Enum.UserInputState.Change then
			l__GuiButtonState__2:set("None")
		end
	end
	v1[u1.OnEvent("Activated")] = p1.OnActivated
	return u1.New("ImageButton")(v1)
end
