When I hover over a UI button then scroll it still shows im hovering on it
Object.MouseEnter:Connect(function(x, y)
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.1), {Size = UDim2.new(0, 75, 0, 75)}):Play()
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(170, 255, 255)}):Play()
end)
Object.MouseLeave:Connect(function(x, y)
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.1), {Size = UDim2.new(0, 70, 0, 70)}):Play()
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.1), {BackgroundColor3 = Color3.fromRGB(0, 255, 0)}):Play()
end)
Object.MouseButton1Down:Connect(function(x, y)
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.1), {Size = UDim2.new(0, 80, 0, 80)}):Play()
end)
Object.MouseButton1Up:Connect(function(x, y)
game:GetService("TweenService"):Create(Object, TweenInfo.new(0.1), {Size = UDim2.new(0, 75, 0, 75)}):Play()
end)