local w=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local j=require(w.Packages.GooeyParticles)return function(w)local i=Instance.new("\084\101\120\116\066\117\116\116\111\110")i.Size=UDim2.fromOffset(200,50)i.BackgroundColor3=Color3.new(1,1,1)i.Position=UDim2.fromScale(.5,.5)i.AnchorPoint=Vector2.new(.5,.5)i.Text="\072\111\118\101\114 \111\118\101\114 \109\101\033"i.Font=Enum.Font.Gotham i.TextSize=20 i.ZIndex=2 i.Parent=w local b=Instance.new("\085\073\067\111\114\110\101\114")b.CornerRadius=UDim.new(0,4)b.Parent=i local c=j.CreateEmitter(i,UDim2.fromScale(.5,.5),{Rotation=NumberRange.new(-360,360),Lifetime=NumberRange.new(.3,.5),Rate=40,Image="\114\098\120\097\115\115\101\116\105\100\058\047\047\054\051\049\057\057\053\049\055\048\056",Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0);NumberSequenceKeypoint.new(1,100)}),Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}),Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1));ColorSequenceKeypoint.new(1,Color3.new(1,1,0))})})local t={}table.insert(t,i.MouseEnter:Connect(function()c:SetEnabled(true)end))table.insert(t,i.MouseLeave:Connect(function()c:SetEnabled(false)end))return function()c:Destroy(function()for w,j in ipairs(t)do j:Disconnect()end t=nil i:Destroy()i=nil c=nil end)end end
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local GooeyParticles = require(ReplicatedStorage.Packages.GooeyParticles)

return function(t)
	local button = Instance.new("TextButton")
	button.Size = UDim2.fromOffset(200, 50)
	button.BackgroundColor3 = Color3.new(1, 1, 1)
	button.Position = UDim2.fromScale(0.5, 0.5)
	button.AnchorPoint = Vector2.new(0.5, 0.5)
	button.Text = "Hover over me!"
	button.Font = Enum.Font.Gotham
	button.TextSize = 20
	button.ZIndex = 2
	button.Parent = t

	local uiCorner = Instance.new("UICorner")
	uiCorner.CornerRadius = UDim.new(0, 4)
	uiCorner.Parent = button

	local emitter = GooeyParticles.CreateEmitter(
		button,
		UDim2.fromScale(0.5, 0.5),
		{
			Rotation = NumberRange.new(-360, 360),
			Lifetime = NumberRange.new(0.3, 0.5),
			Rate = 40,
			Image = "rbxassetid://6319951708",
			Size = NumberSequence.new({
				NumberSequenceKeypoint.new(0, 0),
				NumberSequenceKeypoint.new(1, 100)
			}),
			Transparency = NumberSequence.new({
				NumberSequenceKeypoint.new(0, 0),
				NumberSequenceKeypoint.new(1, 1)
			}),
			Color = ColorSequence.new({
				ColorSequenceKeypoint.new(0, Color3.new(1, 1, 1)),
				ColorSequenceKeypoint.new(1, Color3.new(1, 1, 0))
			}),
		}
	)

	local connections = {}
	table.insert(connections, button.MouseEnter:Connect(function()
		emitter:SetEnabled(true)
	end))
	table.insert(connections, button.MouseLeave:Connect(function()
		emitter:SetEnabled(false)
	end))

	return function()
		emitter:Destroy(function()
			for _, connection in ipairs(connections) do
				connection:Disconnect()
			end

			connections = nil
			button:Destroy()
			button = nil
			emitter = nil
		end)
	end
end
